=> Building lang/spidermonkey185 Started : Wednesday, 6 MAR 2019 at 23:54:07 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for spidermonkey185-1.8.5_4: DEBUG=off: Build with debugging support GCZEAL=off: Enable Zealous garbage collecting JEMALLOC=off: Use jemalloc as memory allocator METHODJIT=on: Enable method JIT support OPTIMIZE=on: Enable compiler optimizations READLINE=on: Link js shell to system readline library THREADSAFE=on: Enable multiple thread support TRACEJIT=on: Enable tracing JIT support UTF8=off: Treat strings as UTF8 instead of ISO-8859-1 ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/construction/lang/spidermonkey185 XDG_CONFIG_HOME=/construction/lang/spidermonkey185 HOME=/construction/lang/spidermonkey185 TMPDIR="/tmp" PATH=/construction/lang/spidermonkey185/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-pthreads --with-system-nspr --disable-debug --disable-gczeal --disable-jemalloc --enable-methodjit --enable-optimize --enable-readline --enable-threadsafe --enable-tracejit --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/lang/spidermonkey185 XDG_CONFIG_HOME=/construction/lang/spidermonkey185 HOME=/construction/lang/spidermonkey185 TMPDIR="/tmp" PATH=/construction/lang/spidermonkey185/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/lang/spidermonkey185/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- AMD64="" I386="@comment " ARM="@comment " MIPS="@comment " PPC="@comment " SPARC="@comment " PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=dragonfly5 PYTHON_PYOEXTENSION=pyo PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/spidermonkey185" EXAMPLESDIR="share/examples/spidermonkey185" DATADIR="share/spidermonkey185" WWWDIR="www/spidermonkey185" ETCDIR="etc/spidermonkey185" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spidermonkey185 DOCSDIR=/usr/local/share/doc/spidermonkey185 EXAMPLESDIR=/usr/local/share/examples/spidermonkey185 WWWDIR=/usr/local/www/spidermonkey185 ETCDIR=/usr/local/etc/spidermonkey185 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> spidermonkey185-1.8.5_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> spidermonkey185-1.8.5_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spidermonkey185-1.8.5_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey185-1.8.5_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey185-1.8.5_4 for building => SHA256 Checksum OK for js185-1.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by spidermonkey185-1.8.5_4 for building ===> Extracting for spidermonkey185-1.8.5_4 => SHA256 Checksum OK for js185-1.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for spidermonkey185-1.8.5_4 ===> Applying ports patches for spidermonkey185-1.8.5_4 ===> Applying dragonfly patches for spidermonkey185-1.8.5_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> spidermonkey185-1.8.5_4 depends on executable: zip - not found ===> Installing existing package /packages/All/zip-3.0_1.txz Installing zip-3.0_1... Extracting zip-3.0_1: .......... done ===> spidermonkey185-1.8.5_4 depends on executable: zip - found ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on executable: autoconf-2.13 - not found ===> Installing existing package /packages/All/autoconf213-2.13.000227_7.txz Installing autoconf213-2.13.000227_7... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.28.1... `-- Extracting perl5-5.28.1: .......... done Extracting autoconf213-2.13.000227_7: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> spidermonkey185-1.8.5_4 depends on executable: autoconf-2.13 - found ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> spidermonkey185-1.8.5_4 depends on executable: gmake - found ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.0,1.txz Installing pkgconf-1.6.0,1... Extracting pkgconf-1.6.0,1: .......... done ===> spidermonkey185-1.8.5_4 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on file: /usr/local/bin/python2.7 - not found ===> Installing existing package /packages/All/python27-2.7.15.txz Installing python27-2.7.15... `-- Installing expat-2.2.6_1... `-- Extracting expat-2.2.6_1: .......... done `-- Installing libffi-3.2.1_3... `-- Extracting libffi-3.2.1_3: .......... done `-- Installing libressl-2.8.3... `-- Extracting libressl-2.8.3: .......... done `-- Installing ncurses-6.1.20190112... `-- Extracting ncurses-6.1.20190112: .......... done `-- Installing readline-7.0.5... `-- Extracting readline-7.0.5: .......... done Extracting python27-2.7.15: .......... done Message from python27-2.7.15: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> spidermonkey185-1.8.5_4 depends on file: /usr/local/bin/python2.7 - found ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on package: perl5>=5.28.r1<5.29 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> spidermonkey185-1.8.5_4 depends on shared library: libnspr4.so - not found ===> Installing existing package /packages/All/nspr-4.20.txz Installing nspr-4.20... Extracting nspr-4.20: .......... done ===> spidermonkey185-1.8.5_4 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so) ===> Returning to build of spidermonkey185-1.8.5_4 ===> spidermonkey185-1.8.5_4 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for spidermonkey185-1.8.5_4 (cd /construction/lang/spidermonkey185/js-1.8.5/js/src && /usr/local/bin/autoconf-2.13) configure: warning: x86_64-portbld-freebsd5.5: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-freebsd5.5 checking target system type... x86_64-portbld-freebsd5.5 checking build system type... x86_64-portbld-freebsd5.5 checking for mawk... (cached) /usr/bin/awk checking for perl5... (cached) /usr/local/bin/perl checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) works... yes checking whether the C++ compiler (c++ -pipe -O2 -fno-strict-aliasing -L/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cpp checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.028001 checking for full perl installation... yes checking for /usr/local/bin/python2.7... /usr/local/bin/python2.7 checking for doxygen... : checking for autoconf... /usr/local/bin/autoconf checking for unzip... /usr/bin/unzip checking for zip... /usr/local/bin/zip checking for makedepend... no checking for xargs... /usr/bin/xargs checking for gmake... /usr/local/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... (cached) yes checking for working const... yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for __stdcall... no checking for ssize_t... (cached) no checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for stdint.h... (cached) 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... yes checking for uname.domainname... no checking for uname.__domainname... no checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for __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... (cached) yes checking for sys/bitypes.h... no checking for memory.h... (cached) yes checking for unistd.h... (cached) yes checking for gnu/libc-version.h... no checking for nl_types.h... yes checking for malloc.h... (cached) no checking for X11/XKBlib.h... no checking for io.h... no checking for sys/statvfs.h... (cached) yes checking for sys/statfs.h... no checking for sys/vfs.h... no checking for sys/mount.h... (cached) yes checking for sys/quota.h... no checking for linux/quota.h... no checking for mmintrin.h... yes checking for new... yes checking for sys/cdefs.h... (cached) yes checking for linux/perf_event.h... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... none required checking for dlfcn.h... (cached) yes checking for dladdr... yes checking for socket in -lsocket... no checking for 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 cc accepts -pthread... yes checking whether mmap() sees write()s... yes checking whether cc needs -traditional... no checking for 8-bit clean memcmp... yes checking for fchmod... (cached) yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... (cached) yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... no checking for memmove... (cached) yes checking for random... (cached) yes checking for rint... no checking for sbrk... yes checking for snprintf... (cached) yes checking for stat64... no checking for statvfs... (cached) yes checking for statvfs64... no checking for strerror... (cached) yes checking for strtok_r... yes checking for truncate64... no checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... no checking for gnu_get_libc_version()... no 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) no checking for malloc/malloc.h... no checking for sys/malloc.h... yes checking for strndup... (cached) yes checking for posix_memalign... yes checking for memalign... no checking for valloc... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((noreturn))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for nspr-config... /usr/local/bin/nspr-config checking for NSPR - version >= 4.7.0... yes checking for valid optimization flags... yes 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... no checking for setlocale... (cached) 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_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_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_LCHOWN 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALTIME_R 1 #define HAVE_MBRTOWC 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MMINTRIN_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_RANDOM 1 #define HAVE_SBRK 1 #define HAVE_SETLOCALE 1 #define HAVE_SIGINFO_T 1 #define HAVE_SNPRINTF 1 #define HAVE_STATVFS 1 #define HAVE_STRERROR 1 #define HAVE_STRNDUP 1 #define HAVE_STRTOK_R 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_THREAD_TLS_KEYWORD 1 #define HAVE_TM_ZONE_TM_GMTOFF 1 #define HAVE_UINT 1 #define HAVE_UINT16_T 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 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 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 #define _THREAD_SAFE 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 gmake[1]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' rm -f js-config.tmp sed < js-config.in > js-config.tmp \ -e 's|@prefix@|/usr/local|' \ -e 's|@exec_prefix@|/usr/local|' \ -e 's|@includedir@|/usr/local/include|' \ -e 's|@libdir@|/usr/local/lib|' \ -e 's|@MOZILLA_VERSION@||' \ -e 's|@LIBRARY_NAME@|mozjs185|' \ -e 's|@NSPR_CFLAGS@|-I/usr/local/include/nspr|' \ -e 's|@JS_CONFIG_LIBS@|-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lm -pthread |' \ -e 's|@MOZ_JS_LIBS@|-L/usr/local/lib -lmozjs185|' \ && mv js-config.tmp js-config && chmod +x js-config gmake[1]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' echo "fenv.h" >> /construction/lang/spidermonkey185/js-1.8.5/js/src/config/system-headers echo "pthread_np.h" >> /construction/lang/spidermonkey185/js-1.8.5/js/src/config/system-headers -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for spidermonkey185-1.8.5_4 gmake[1]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' gmake export gmake[2]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' gmake -C config/ nsinstall gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' pathsub.c nsinstall.c cc -o host_pathsub.o -c -I/usr/local/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -I/usr/local/include/nspr pathsub.c cc -o host_nsinstall.o -c -I/usr/local/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -I/usr/local/include/nspr nsinstall.c pathsub.c: In function 'reversepath': pathsub.c:242:6: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(cp, "../", 3); ^~~~~~~~~~~~~~~~~~~~~ cc -o nsinstall -I/usr/local/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -pthread -L/usr/local/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib host_nsinstall.o host_pathsub.o gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' Creating /construction/lang/spidermonkey185/js-1.8.5/js/src/.deps gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi /usr/local/bin/perl ./preprocessor.pl -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -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 -DSTDC_HEADERS=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_UINT16_T=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\ -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STATVFS=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=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_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\)\) -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ -DBUILD_STATIC_LIBS= \ ./system-headers | /usr/local/bin/perl ./make-system-wrappers.pl system_wrappers_js /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' Creating /construction/lang/spidermonkey185/js-1.8.5/js/src/shell/.deps gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' Creating /construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests/.deps gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'export'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' c++ -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/local/include/nspr -o jscpucfg jscpucfg.cpp jskwgen.cpp c++ -o host_jskwgen.o -c -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr jskwgen.cpp ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h c++ -o host_jskwgen -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /construction/lang/spidermonkey185/js-1.8.5/js/src/jsautokw.h /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /construction/lang/spidermonkey185/js-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 gmake[2]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' gmake libs gmake[2]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' jsoplengen.cpp c++ -o host_jsoplengen.o -c -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr jsoplengen.cpp /usr/local/bin/python2.7 imacro_asm.py ./imacros.jsasm /construction/lang/spidermonkey185/js-1.8.5/js/src/imacros.c.out c++ -o host_jsoplengen -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /construction/lang/spidermonkey185/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp jsapi.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsarena.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp jsarray.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp In file included from jsbit.h:44, from jsarena.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.cpp:50: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsapi.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsapi.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsarray.cpp:84: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsarray.cpp:85: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsarray.cpp:84: 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); ^~~~~~~~~~~~~~~~ jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp In file included from jsatom.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 jsapi.cpp:52: 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); ^~~~~~~~~~~~~~~~ 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 jsval.h:48, 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); ^~~~~~~~~~~~~~~~ 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 jsbool.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ 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 jsbool.cpp:46: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ 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)); ^~~~~~~~~~~~~~~~ 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 jsbool.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) + ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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) + ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': jsanalyze.h:87:21: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:65: 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 jsbool.cpp:58: 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: 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; ^~~~~ 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)); ^~~~~~~~~~~~~~~~ jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp In file included from jsapi.cpp:94: 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); ^~~~~~ jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp In file included from ./assembler/assembler/MacroAssembler.h:54, 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 jsarray.cpp:110: 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); ^~~~~~ jsapi.cpp: In function 'JSObject* JS_New(JSContext*, JSObject*, uintN, jsval*)': jsapi.cpp:5182:51: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class js::Value' with 'private' member 'js::Value::data' from an array of 'jsval' {aka 'long unsigned int'}; use assignment or copy-initialization instead [-Wclass-memaccess] memcpy(args.argv(), argv, argc * sizeof(jsval)); ^ In file included from jsobj.h:64, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsapi.cpp:57: jsvalue.h:331:7: note: 'class js::Value' declared here class Value ^~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsclone.h:42, from jsclone.cpp:39: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jscntxt.cpp:58: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsarray.cpp:84: 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); ^~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:58: 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, 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); ^~~~~~~~~~~~~~~~ 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) >> ^~~~~~~~~~~~~~~~ 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 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)); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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_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 jsregexpinlines.h:45, 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 ./assembler/assembler/MacroAssembler.h:54, 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); ^~~~~ 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)); ^~~~~~~~~~~~~~~~ ./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, 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 jscntxt.cpp:90: 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: 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, 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); ^~~~~~~~~~~~~~~~ jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.h:59, from jscompartment.cpp:41: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp In file included from jsdate.cpp:63: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsdate.cpp:64: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsdate.cpp:63: 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 jsdate.cpp:74: 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); ^~~~~~ jsdbgapi.cpp c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsdbgapi.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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) + ^~~~~~~~~~~~~~~~ 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, 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 methodjit/BaseAssembler.h:53, 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); ^~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::TraceMonitor]': jscompartment.cpp:86:26: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::TraceMonitor' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:42: jscompartment.h:159:8: note: 'struct js::TraceMonitor' declared here struct TraceMonitor { ^~~~~~~~~~~~ jsdhash.cpp c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp In file included from jsdbgapi.cpp:72: 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, from jsdhash.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jsdtoa.cpp c++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jsemit.cpp c++ -o jsemit.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp In file included from jsdtoa.cpp:47: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.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 jsemit.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsemit.cpp:55: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ 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); ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:52: 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); ^~~~~~~~~~~~~~~~ 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) + ^~~~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from methodjit/PunboxAssembler.h:43, from methodjit/CodeGenIncludes.h:58, from methodjit/Compiler.h:47, from methodjit/Retcon.h:52, from jsdbgapi.cpp:79: ./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); ^~~~~ 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); ^~~~~~~~~~~~~~~~ ./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); ^~~~~ 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 jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from methodjit/Compiler.h:43, from methodjit/Retcon.h:52, from jsdbgapi.cpp:79: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ In file included from jsdtoa.cpp:54: 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 jsemit.cpp:73: 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 jsemit.cpp:52: 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: 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()); ^~~~~~~~~~~~~ jsemit.cpp: In function 'JSBool EmitVariables(JSContext*, JSCodeGenerator*, JSParseNode*, JSBool, ptrdiff_t*)': jsemit.cpp:4100:10: warning: variable 'forInLet' set but not used [-Wunused-but-set-variable] bool forInLet, popScope; ^~~~~~~~ jsemit.cpp: In function 'JSBool js_EmitTree(JSContext*, JSCodeGenerator*, JSParseNode*)': jsemit.cpp:5675:19: warning: variable 'blockObj' set but not used [-Wunused-but-set-variable] JSObject *blockObj; ^~~~~~~~ jsexn.cpp c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsbit.h:44, from jsexn.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsexn.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, from jsexn.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) + ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ jsfriendapi.cpp c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsfriendapi.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ In file included from jsexn.cpp:67: 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); ^~~~~~ jsfun.cpp In file included from jsbit.h:44, 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); ^~~~~~~~~~~~~~~~ c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp 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); ^~~~~~~~~~~~~~~~ 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, from jsfun.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsfun.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, 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) + ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ jsgc.cpp c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.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 jsgc.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsgc.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsgc.cpp:56: 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) + ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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 jsfun.cpp:91: 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, from jsfun.cpp:47: jsfun.cpp: In function 'JSObject* NewArguments(JSContext*, JSObject*, uint32, JSObject&)': 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] ^~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:186:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); ^~~~~~~~~~~~~~~~ In file included from jsgc.cpp:91: 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: 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)); ^~~~~~~~~~~~~~~~ jsgcchunk.cpp c++ -o jsgcchunk.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsgcchunk.h:43, from jsgcchunk.cpp:37: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jsgcstats.cpp c++ -o jsgcstats.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsgcstats.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.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); ^~~~~~~~~~~~~~~~ jshash.cpp c++ -o jshash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp In file included from jsbit.h:44, from jshash.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jsinterp.cpp c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp jsinvoke.cpp c++ -o jsinvoke.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp In file included from jsinterp.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsinterp.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsinterp.cpp:52, from jsinvoke.cpp:42: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsinterp.cpp:50: 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 jsinterp.cpp:50, from jsinvoke.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); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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 jsatom.h:50, from jsgc.cpp:62: jshashtable.h: In function 'void js_FinishGC(JSRuntime*)': jshashtable.h:776:13: warning: '*((void*)& +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ In file included from jsinterp.cpp:85, 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); ^~~~~~ jshashtable.h: In function 'JSBool js_RemoveRoot(JSRuntime*, void*)': jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ In file included from jsinterp.cpp:85: 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); ^~~~~~ jshashtable.h: In function 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] value = rhs.value; ^~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, 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 ./assembler/assembler/MacroAssembler.h:54, 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, 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); ^~~~~~~~~~~~~~~~ jsiter.cpp c++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp In file included from jsiter.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsiter.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsiter.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); ^~~~~~~~~~~~~~~~ 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 jsiter.cpp:80: 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 jsiter.cpp:47: 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)); ^~~~~~~~~~~~~~~~ jslock.cpp c++ -o jslock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp In file included from jsval.h:48, from jspubtd.h:47, from jslock.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jscntxt.h:59, from jslock.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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; ^~~~ jslog2.cpp c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp In file included from jsbit.h:44, from jslog2.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsmath.cpp:48: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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) + ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ jsnativestack.cpp c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.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 jsval.h:48, from jspubtd.h:47, from jsnativestack.h:42, from jsnativestack.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ 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); ^~~~~~~~~~~~~~~~ jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.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); ^~~~~~~~~~~~~~~~ jsobj.cpp c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp In file included from jsnum.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsnum.cpp:57: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, from jsobj.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsobj.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsnum.cpp:56: 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, 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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 jsnum.cpp:75: 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 jsnum.cpp:56: jsnum.cpp: In constructor 'js::ToCStringBuf::ToCStringBuf()': 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] ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:594:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sbufSize >= 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")); ^~~~~~~~~~~~~~~~ json.cpp c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from json.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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 jsobj.cpp:85: 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); ^~~~~~~~~~~~~~~~ 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; ^~~~~~~ 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: 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); ^~~~~~ jsopcode.cpp c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsopcode.cpp:54: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsopcode.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsopcode.cpp:54: 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 jsopcode.cpp:77: 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); ^~~~~~ jsopcode.cpp: In function 'jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)': jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] JSOp op, saveop; ^~~~~~ In file included from jsopcode.cpp:54: jsopcode.cpp: In function 'jsbytecode* Decompile(SprintStack*, jsbytecode*, intN, JSOp)': jsutil.h:120:43: warning: typedef 'js_static_assert314' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1891:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); ^~~~~~~~~~~~~~~~ jsparse.cpp c++ -o jsparse.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp In file included from jsparse.cpp:60: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsparse.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsparse.cpp:60: 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 jsparse.cpp:93: 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, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsparse.cpp:94: ./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 jsarray.h:47, 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; ^~~~~~~~~~ jsproxy.cpp c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsproxy.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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: 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); ^~~~~~ jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp In file included from jsprf.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsstr.h:52, from jsprf.cpp:53: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsprf.cpp:51: 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) + ^~~~~~~~~~~~~~~~ jsprobes.cpp c++ -o jsprobes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.pp jsprobes.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsprobes.cpp:36: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsprobes.cpp:36: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ jspropertycache.cpp c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.pp jspropertycache.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 jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jspropertycache.h:44, from jspropertycache.cpp:41: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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) + ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ jspropertytree.cpp c++ -o jspropertytree.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.pp jspropertytree.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 jspropertycache.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 jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jspropertytree.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jspropertytree.cpp:45: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, 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)); ^~~~~~~~~~~~~~~~ jsreflect.cpp c++ -o jsreflect.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.pp jsreflect.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 jsval.h:48, from jspubtd.h:47, from jsreflect.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47, from jsreflect.cpp:46: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ 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, 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); ^~~~~~~~~~~~~~~~ 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 jspropertytree.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); ^~~~~~ 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: 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=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsregexp.pp jsregexp.cpp In file included from jsregexp.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsregexp.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsregexp.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) + ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ jsscan.cpp c++ -o jsscan.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscan.pp jsscan.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 jsbit.h:44, from jsscan.cpp:57: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsscan.cpp:60: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, 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); ^~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:58: 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, 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); ^~~~~ jsscope.cpp c++ -o jsscope.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscope.pp jsscope.cpp In file included from jsbit.h:44, from jsscope.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsscope.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, from jsscope.cpp:50: 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); ^~~~~~~~~~~~~~~~ jsscript.cpp c++ -o jsscript.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.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 jsscript.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsscript.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsscope.cpp:67: 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: 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 jsscript.cpp:70: 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); ^~~~~~ jsscript.cpp: In member function 'jsuword* js::Bindings::getLocalNameArray(JSContext*, JSArenaPool*)': jsscript.cpp:193:17: warning: variable 'constFlag' set but not used [-Wunused-but-set-variable] jsuword constFlag = 0; ^~~~~~~~~ In file included from jsscript.cpp:47: jsscript.cpp: In function 'JSBool js_XDRScript(JSXDRState*, JSScript**, JSBool*)': 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] ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:712:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(tn->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) + ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSScript]': jsscript.cpp:1243:19: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSScript'; use assignment instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsfun.h:49, from jscntxt.h:62, from jsscript.cpp:51: jsscript.h:349:8: note: 'struct JSScript' declared here struct JSScript { ^~~~~~~~ jsstr.cpp c++ -o jsstr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.pp jsstr.cpp In file included from jsstr.cpp:55: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsstr.cpp:58: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsstr.cpp:55: 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 jsstr.cpp:81: 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, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsstr.cpp:82: ./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 jsstr.cpp:55: 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); ^~~~~~~~~~~~~~~~ jstypedarray.cpp c++ -o jstypedarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstypedarray.pp jstypedarray.cpp jsutil.cpp c++ -o jsutil.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsutil.pp jsutil.cpp In file included from jsutil.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ jswrapper.cpp c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.pp jswrapper.cpp In file included from jstypedarray.cpp:44: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jstypedarray.cpp:47: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ jsxdrapi.cpp c++ -o jsxdrapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxdrapi.pp jsxdrapi.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jswrapper.cpp:42: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsxdrapi.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsxdrapi.cpp:50: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsxdrapi.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); ^~~~~~~~~~~~~~~~ In file included from jstypedarray.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); ^~~~~~~~~~~~~~~~ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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) + ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~ 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 jsxdrapi.cpp:58: 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); ^~~~~~ 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, 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); ^~~~~ In file included from jsval.h:48, 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); ^~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:64: 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); ^~~~~~ ./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, 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 jstypedarray.cpp:44: 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 instantiation of 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]': jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1189:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(dest, tarray->data, tarray->byteLength); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here struct uint8_clamped { ^~~~~~~~~~~~~ jstypedarray.cpp: In instantiation of 'bool TypedArrayTemplate::copyFromWithOverlap(JSContext*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; jsuint = unsigned int]': jstypedarray.cpp:1184:36: required from 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]' jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1260:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(dest, tarray->data, tarray->byteLength); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here struct uint8_clamped { ^~~~~~~~~~~~~ jsxml.cpp c++ -o jsxml.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.pp jsxml.cpp In file included from jsbit.h:44, from jsxml.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsxml.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, 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: 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=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.pp prmjtime.cpp In file included from prmjtime.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jslock.h:43, from prmjtime.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ sharkctl.cpp c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.pp sharkctl.cpp jstracer.cpp c++ -o jstracer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstracer.pp jstracer.cpp In file included from jsbit.h:44, from jstracer.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jstracer.cpp:59: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsbit.h:44, 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: 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, 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)); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~ 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:56, 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 }; ^~~~~~~~ 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); ^ In file included from jsbit.h:44, from jstracer.cpp:43: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = nanojit::LogControl]': jstracer.cpp:7712:27: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class nanojit::LogControl' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jstracer.cpp:58: nanojit/nanojit.h:351:11: note: 'class nanojit::LogControl' declared here class LogControl ^~~~~~~~~~ jsstr.cpp: In member function 'JSFlatString* js::StringBuffer::finishString()': 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] ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3501:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH < CharBuffer::InlineLength); ^~~~~~~~~~~~~~~~ Assembler.cpp c++ -o Assembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assembler.pp ./nanojit/Assembler.cpp Allocator.cpp c++ -o Allocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Allocator.pp ./nanojit/Allocator.cpp CodeAlloc.cpp c++ -o CodeAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CodeAlloc.pp ./nanojit/CodeAlloc.cpp Containers.cpp c++ -o Containers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Containers.pp ./nanojit/Containers.cpp Fragmento.cpp c++ -o Fragmento.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Fragmento.pp ./nanojit/Fragmento.cpp LIR.cpp c++ -o LIR.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LIR.pp ./nanojit/LIR.cpp njconfig.cpp c++ -o njconfig.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/njconfig.pp ./nanojit/njconfig.cpp RegAlloc.cpp c++ -o RegAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegAlloc.pp ./nanojit/RegAlloc.cpp avmplus.cpp c++ -o avmplus.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/avmplus.pp ./nanojit/avmplus.cpp NativeX64.cpp c++ -o NativeX64.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/NativeX64.pp ./nanojit/NativeX64.cpp jsbuiltins.cpp c++ -o jsbuiltins.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbuiltins.pp jsbuiltins.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsbuiltins.cpp:44: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsbuiltins.cpp:44: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsbuiltins.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) >> ^~~~~~~~~~~~~~~~ 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 jsbuiltins.cpp:64: 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); ^~~~~~ VMPI.cpp c++ -o VMPI.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/VMPI.pp ./nanojit/VMPI.cpp Writer.cpp c++ -o Writer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Writer.pp ./tracejit/Writer.cpp In file included from ./jsbit.h:44, from ./jstl.h:43, from ./tracejit/Writer.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./jscompartment.h:43, from ./tracejit/Writer.cpp:42: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsbit.h:44, from ./jstl.h:43, from ./tracejit/Writer.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); ^~~~~~~~~~~~~~~~ MethodJIT.cpp c++ -o MethodJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MethodJIT.pp ./methodjit/MethodJIT.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.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 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 ./assembler/assembler/MacroAssembler.h:54, 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, 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, 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, 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); ^~~~~~~~~~~~~~~~ StubCalls.cpp c++ -o StubCalls.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCalls.pp ./methodjit/StubCalls.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/StubCalls.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/StubCalls.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ Compiler.cpp c++ -o Compiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Compiler.pp ./methodjit/Compiler.cpp In file included from ./jsval.h:48, 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, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.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); ^~~~~~~~~~~~~~~~ ./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, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/Compiler.cpp:47: ./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, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/StubCalls.cpp:53: ./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, 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); ^~~~~~~~~~~~~~~~ ./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, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/StubCalls.cpp:53: ./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 ./methodjit/BaseAssembler.h:53, 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); ^~~~~~ ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/MethodJIT.cpp:44: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/StubCalls.cpp:41: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/StubCalls.cpp:53: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ FrameState.cpp c++ -o FrameState.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FrameState.pp ./methodjit/FrameState.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/FrameState.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/FrameState.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/Compiler.cpp:47: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ In file included from ./jsval.h:48, 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, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Script]': ./methodjit/Compiler.cpp:170:22: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::Script'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/Compiler.cpp:47: ./jsanalyze.h:108:7: note: 'class js::analyze::Script' declared here class Script ^~~~~~ ./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 ./assembler/assembler/MacroAssembler.h:54, 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); ^~~~~ In file included from ./jsval.h:48, 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, 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); ^~~~~~ FastArithmetic.cpp c++ -o FastArithmetic.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastArithmetic.pp ./methodjit/FastArithmetic.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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) + ^~~~~~~~~~~~~~~~ ./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, 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, 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, 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); ^~~~~~ FastOps.cpp c++ -o FastOps.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastOps.pp ./methodjit/FastOps.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastOps.cpp:40: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsbool.h:46, from ./methodjit/FastOps.cpp:40: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ./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 ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/FastArithmetic.cpp:45: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ ./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: ./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, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/FastOps.cpp:50: ./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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastOps.cpp:40: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/FastOps.cpp:50: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ StubCompiler.cpp c++ -o StubCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCompiler.pp ./methodjit/StubCompiler.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/MethodJIT.h:42, from ./methodjit/StubCalls.h:44, from ./methodjit/StubCompiler.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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: ./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 ./assembler/assembler/MacroAssembler.h:54, 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, 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, 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); ^~~~~~ MonoIC.cpp c++ -o MonoIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MonoIC.pp ./methodjit/MonoIC.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/StubCompiler.cpp:43: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ In file included from ./jsval.h:48, 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, 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, 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, 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); ^~~~~~~~~~~~~~~~ ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/MonoIC.cpp:49: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ PolyIC.cpp c++ -o PolyIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/PolyIC.pp ./methodjit/PolyIC.cpp ImmutableSync.cpp c++ -o ImmutableSync.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ImmutableSync.pp ./methodjit/ImmutableSync.cpp InvokeHelpers.cpp c++ -o InvokeHelpers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/InvokeHelpers.pp ./methodjit/InvokeHelpers.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/InvokeHelpers.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/InvokeHelpers.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.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 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); ^~~~~~~~~~~~~~~~ Retcon.cpp c++ -o Retcon.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Retcon.pp ./methodjit/Retcon.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); ^~~~~~~~~~~~~~~~ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ./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, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ./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 ./assembler/assembler/MacroAssembler.h:54, 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); ^~~~~ TrampolineCompiler.cpp c++ -o TrampolineCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TrampolineCompiler.pp ./methodjit/TrampolineCompiler.cpp In file included from ./jsval.h:48, 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, 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, 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); ^~~~~ ./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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./methodjit/TrampolineCompiler.h:44, from ./methodjit/TrampolineCompiler.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./methodjit/TrampolineCompiler.h:44, from ./methodjit/TrampolineCompiler.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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, 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 ./assembler/assembler/MacroAssembler.h:54, 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); ^~~~~ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ./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, 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); ^~~~~~ ./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]; ^~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, 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, 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); ^~~~~~ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.h:43, from ./methodjit/Retcon.h:52, from ./methodjit/Retcon.cpp:43: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ checks.cc c++ -o checks.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc In file included from ./v8-dtoa/v8.h:45, 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]; ^~~~~~~~~~~~~~~~~~~ conversions.cc c++ -o conversions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp ./v8-dtoa/conversions.cc In file included from ./v8-dtoa/v8.h:45, 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 ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/InvokeHelpers.cpp:41: ./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:21: required from here ./jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(t, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./methodjit/InvokeHelpers.cpp:58: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here struct Bytecode ^~~~~~~~ diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.pp ./v8-dtoa/diy-fp.cc In file included from ./v8-dtoa/v8.h:45, 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]; ^~~~~~~~~~~~~~~~~~~ v8-dtoa.cc c++ -o v8-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/v8-dtoa.pp ./v8-dtoa/v8-dtoa.cc In file included from ./v8-dtoa/v8.h:45, 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]; ^~~~~~~~~~~~~~~~~~~ fast-dtoa.cc c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.pp ./v8-dtoa/fast-dtoa.cc In file included from ./v8-dtoa/v8.h:45, 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]; ^~~~~~~~~~~~~~~~~~~ platform.cc c++ -o platform.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/platform.pp ./v8-dtoa/platform.cc In file included from ./v8-dtoa/v8.h:45, 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=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/utils.pp ./v8-dtoa/utils.cc In file included from ./v8-dtoa/v8.h:45, 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 c++ -o Assertions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assertions.pp ./assembler/wtf/Assertions.cpp ExecutableAllocatorPosix.cpp c++ -o ExecutableAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.pp ./assembler/jit/ExecutableAllocatorPosix.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ExecutableAllocatorWin.cpp c++ -o ExecutableAllocatorWin.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorWin.pp ./assembler/jit/ExecutableAllocatorWin.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorWin.cpp:27: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorWin.cpp:27: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ExecutableAllocatorOS2.cpp c++ -o ExecutableAllocatorOS2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorOS2.pp ./assembler/jit/ExecutableAllocatorOS2.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ExecutableAllocator.cpp c++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.pp ./assembler/jit/ExecutableAllocator.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.cpp:26: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.cpp:26: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ARMAssembler.cpp c++ -o ARMAssembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.pp ./assembler/assembler/ARMAssembler.cpp Logging.cpp c++ -o Logging.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Logging.pp ./methodjit/Logging.cpp In file included from ./methodjit/Logging.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./methodjit/MethodJIT.h:42, from ./methodjit/Logging.cpp:46: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./methodjit/Logging.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); ^~~~~~~~~~~~~~~~ MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.pp ./assembler/assembler/MacroAssemblerARM.cpp MacroAssemblerX86Common.cpp c++ -o MacroAssemblerX86Common.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.pp ./assembler/assembler/MacroAssemblerX86Common.cpp In file included from ./jsval.h:48, 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/MacroAssemblerX86Common.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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/MacroAssemblerX86Common.cpp:45: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ RegexCompiler.cpp c++ -o RegexCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexCompiler.pp ./yarr/yarr/RegexCompiler.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ./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) + ^~~~~~~~~~~~~~~~ RegexJIT.cpp c++ -o RegexJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexJIT.pp ./yarr/yarr/RegexJIT.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54, 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); ^~~~~ pcre_compile.cpp c++ -o pcre_compile.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_compile.pp ./yarr/pcre/pcre_compile.cpp In file included from ./jsval.h:48, 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_compile.cpp:44: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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_compile.cpp:44: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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_compile.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) >> ^~~~~~~~~~~~~~~~ ./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, 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); ^~~~~~~~~~~~~~~~ ./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; ^~~~~~~ ./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_exec.cpp c++ -o pcre_exec.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_exec.pp ./yarr/pcre/pcre_exec.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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); ^~~~~~~~~~~~~~~~ pcre_tables.cpp c++ -o pcre_tables.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_tables.pp ./yarr/pcre/pcre_tables.cpp In file included from ./jsval.h:48, 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_tables.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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_tables.cpp:43: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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_tables.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) + ^~~~~~~~~~~~~~~~ pcre_xclass.cpp c++ -o pcre_xclass.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_xclass.pp ./yarr/pcre/pcre_xclass.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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) + ^~~~~~~~~~~~~~~~ pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_ucp_searchfuncs.pp ./yarr/pcre/pcre_ucp_searchfuncs.cpp In file included from ./jsval.h:48, 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: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included 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: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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) >> ^~~~~~~~~~~~~~~~ ./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=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.pp ./perf/jsperf.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ./jsval.h:48, 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 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); ^~~~~~~~~~~~~~~~ pm_stub.cpp c++ -o pm_stub.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_stub.pp ./perf/pm_stub.cpp In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/pm_stub.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ./perf/jsperf.h:42, from ./perf/pm_stub.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ 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_stub.o ranlib libjs_static.a rm -f libmozjs185.so c++ -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -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_stub.o -pthread -L/usr/local/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -Wl,-soname,libmozjs185.so.1.0 -lm -pthread chmod +x libmozjs185.so /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -D ../dist/bin/chrome gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' js.cpp c++ -o js.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.pp js.cpp In file included from js.cpp:56: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ../jswrapper.h:45, from js.cpp:58: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from js.cpp:56: ../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 js.cpp:95: ../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 js -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O js.o -pthread -L/usr/local/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L../dist/bin -L../dist/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl -lreadline ../libjs_static.a /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 js ../dist/bin /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 js .. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' tests.cpp selfTest.cpp testBug604087.cpp testClassGetter.cpp c++ -o tests.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/tests.pp tests.cpp c++ -o testClassGetter.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testClassGetter.pp testClassGetter.cpp c++ -o testBug604087.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testBug604087.pp testBug604087.cpp c++ -o selfTest.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/selfTest.pp selfTest.cpp testCloneScript.cpp c++ -o testCloneScript.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCloneScript.pp testCloneScript.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCloneScript.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testClassGetter.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from selfTest.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testCloneScript.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from tests.h:41, from testClassGetter.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from tests.cpp:41: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from tests.cpp:41: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testBug604087.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testBug604087.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from tests.h:41, from selfTest.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testBug604087.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); ^~~~~~~~~~~~~~~~ testConservativeGC.cpp c++ -o testConservativeGC.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testConservativeGC.pp testConservativeGC.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); ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testConservativeGC.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testConservativeGC.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ../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) + ^~~~~~~~~~~~~~~~ testContexts.cpp c++ -o testContexts.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testContexts.pp testContexts.cpp testDebugger.cpp c++ -o testDebugger.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDebugger.pp testDebugger.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testContexts.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testContexts.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDebugger.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testDebugger.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ testDeepFreeze.cpp c++ -o testDeepFreeze.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDeepFreeze.pp testDeepFreeze.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDeepFreeze.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testDeepFreeze.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testDefineGetterSetterNonEnumerable.cpp c++ -o testDefineGetterSetterNonEnumerable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineGetterSetterNonEnumerable.pp testDefineGetterSetterNonEnumerable.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDefineGetterSetterNonEnumerable.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testDefineGetterSetterNonEnumerable.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testDefineProperty.cpp c++ -o testDefineProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineProperty.pp testDefineProperty.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDefineProperty.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testDefineProperty.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testExtendedEq.cpp c++ -o testExtendedEq.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExtendedEq.pp testExtendedEq.cpp testFuncCallback.cpp c++ -o testFuncCallback.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFuncCallback.pp testFuncCallback.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testExtendedEq.cpp:8: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testExtendedEq.cpp:8: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testFuncCallback.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ In file included from tests.h:41, from testFuncCallback.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testGCChunkAlloc.cpp c++ -o testGCChunkAlloc.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGCChunkAlloc.pp testGCChunkAlloc.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGCChunkAlloc.cpp:9: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testGCChunkAlloc.cpp:9: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ../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 ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGCChunkAlloc.cpp:9: ../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); ^~~~~~~~~~~~~~~~ testGetPropertyDefault.cpp c++ -o testGetPropertyDefault.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGetPropertyDefault.pp testGetPropertyDefault.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) + ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGetPropertyDefault.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testGetPropertyDefault.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ../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.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); ^~~~~~~~~~~~~~~~ testIntString.cpp c++ -o testIntString.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntString.pp testIntString.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testIntString.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testIntString.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testLookup.cpp c++ -o testLookup.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLookup.pp testLookup.cpp testNewObject.cpp c++ -o testNewObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testNewObject.pp testNewObject.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testNewObject.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ testOps.cpp c++ -o testOps.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOps.pp testOps.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testLookup.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testNewObject.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from tests.h:41, from testLookup.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testOps.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ ../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 tests.h:41, from testOps.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testPropCache.cpp c++ -o testPropCache.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testPropCache.pp testPropCache.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testPropCache.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testPropCache.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testSameValue.cpp c++ -o testSameValue.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSameValue.pp testSameValue.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testSameValue.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testSameValue.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testScriptObject.cpp c++ -o testScriptObject.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptObject.pp testScriptObject.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testScriptObject.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testScriptObject.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testSetProperty.cpp c++ -o testSetProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSetProperty.pp testSetProperty.cpp In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ testThreadGC.cpp c++ -o testThreadGC.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreadGC.pp testThreadGC.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) + ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testSetProperty.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ ../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 tests.h:41, from testSetProperty.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ ../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 ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreadGC.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ testThreads.cpp c++ -o testThreads.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreads.pp testThreads.cpp In file included from tests.h:41, from testThreadGC.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreads.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testThreads.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ testTrap.cpp c++ -o testTrap.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTrap.pp testTrap.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testTrap.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testTrap.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ testUTF8.cpp c++ -o testUTF8.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testUTF8.pp testUTF8.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testUTF8.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testUTF8.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ testVersion.cpp c++ -o testVersion.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -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=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testXDR.pp testXDR.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testVersion.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testVersion.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testXDR.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testXDR.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ ../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); ^~~~~~~~~~~~~~~~ testCustomIterator.cpp c++ -o testCustomIterator.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly5\" -DOSARCH=DragonFly -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCustomIterator.pp testCustomIterator.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCustomIterator.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from tests.h:41, from testCustomIterator.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from ../jsval.h:48, 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); ^~~~~~~~~~~~~~~~ c++ -o jsapi-tests -I/usr/local/include -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 -O2 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O 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 -pthread -L/usr/local/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L../dist/bin -L../dist/lib ../libjs_static.a -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -ldl /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'libs'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib gmake[2]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' gmake tools gmake[2]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[2]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi gmake[1]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for spidermonkey185-1.8.5_4 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' cat mozjs185.pc.in | sed \ -e "s|%prefix%|/usr/local|" \ -e "s|%includedir%|/usr/local/include|" \ -e "s|%libdir%|/usr/local/lib|" \ -e 's|%MOZILLA_VERSION%||' \ > mozjs185.pc && chmod 644 mozjs185.pc pkg_config_file: mozjs185.pc /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /construction/lang/spidermonkey185/stage/usr/local/libdata/pkgconfig /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /construction/lang/spidermonkey185/js-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 /construction/lang/spidermonkey185/stage/usr/local/include/js /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t js-config /construction/lang/spidermonkey185/stage/usr/local/bin /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t libjs_static.a /construction/lang/spidermonkey185/stage/usr/local/lib mv -f /construction/lang/spidermonkey185/stage/usr/local/lib/libjs_static.a /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185-1.0.a /construction/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /construction/lang/spidermonkey185/stage/usr/local/lib mv -f /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0.0 ln -s /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0.0 /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 ln -s /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so gmake[1]: Leaving directory '/construction/lang/spidermonkey185/js-1.8.5/js/src' ln -sf libmozjs185.so.1.0.0 /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so ln -sf libmozjs185.so.1.0.0 /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1 ln -sf libmozjs185.so.1.0.0 /construction/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for spidermonkey185-1.8.5_4 file sizes/checksums [101]: .. done packing files [101]: .. done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Wednesday, 6 MAR 2019 at 23:57:39 UTC Duration: 00:03:31