=> Building lang/spidermonkey185 build started at Fri Oct 7 21:16:18 PDT 2016 port directory: /usr/ports/lang/spidermonkey185 building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: koobs@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../03//usr/ports/lang/spidermonkey185/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=spidermonkey185-1.8.5_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for spidermonkey185-1.8.5_2: DEBUG=off: Enable Debug build 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 ---End OPTIONS List--- --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} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/lang/spidermonkey185 XDG_CONFIG_HOME=/wrkdirs/lang/spidermonkey185 HOME=/wrkdirs/lang/spidermonkey185 TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/lang/spidermonkey185 XDG_CONFIG_HOME=/wrkdirs/lang/spidermonkey185 HOME=/wrkdirs/lang/spidermonkey185 TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --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=dragonfly4 PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_VER=2.7 PYTHON_VERSION=python2.7 OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PERL_VERSION=5.20.3 PERL_VER=5.20 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.20 PROFILE="@comment " DOCSDIR="share/doc/spidermonkey185" EXAMPLESDIR="share/examples/spidermonkey185" DATADIR="share/spidermonkey185" WWWDIR="www/spidermonkey185" ETCDIR="etc/spidermonkey185" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spidermonkey185-1.8.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by spidermonkey185-1.8.5_2 for building =========================================================================== =================================================== ===> Fetching all distfiles required by spidermonkey185-1.8.5_2 for building => SHA256 Checksum OK for js185-1.0.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by spidermonkey185-1.8.5_2 for building ===> Extracting for spidermonkey185-1.8.5_2 => SHA256 Checksum OK for js185-1.0.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for spidermonkey185-1.8.5_2 ===> Applying ports patches for spidermonkey185-1.8.5_2 ===> Applying DragonFly patches for spidermonkey185-1.8.5_2 =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 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_2 depends on executable: zip - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: autoconf-2.13 - not found ===> Installing existing package /packages/All/autoconf213-2.13.000227_6.txz Installing autoconf213-2.13.000227_6... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing m4-1.4.17_1,1... `-- Extracting m4-1.4.17_1,1: .......... done Extracting autoconf213-2.13.000227_6: .......... done Message from perl5-5.20.3_15: 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_2 depends on executable: autoconf-2.13 - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> spidermonkey185-1.8.5_2 depends on executable: gmake - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on package: pkgconf>=0.9.10 - not found ===> Installing existing package /packages/All/pkgconf-1.0.1.txz Installing pkgconf-1.0.1... Extracting pkgconf-1.0.1: .......... done ===> spidermonkey185-1.8.5_2 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/python2.7 - not found ===> Installing existing package /packages/All/python27-2.7.12.txz Installing python27-2.7.12... `-- Installing expat-2.2.0... `-- Extracting expat-2.2.0: .......... done `-- Installing readline-6.3.8... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting readline-6.3.8: .......... done `-- Installing libffi-3.2.1... `-- Extracting libffi-3.2.1: .......... done Extracting python27-2.7.12: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from python27-2.7.12: =========================================================================== 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_2 depends on file: /usr/local/bin/python2.7 - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: python2 - not found ===> Installing existing package /packages/All/python2-2_3.txz Installing python2-2_3... Extracting python2-2_3: ...... done ===> spidermonkey185-1.8.5_2 depends on executable: python2 - found ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on package: perl5>=5.20<5.21 - found =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - not found ===> Installing existing package /packages/All/nspr-4.13.txz Installing nspr-4.13... Extracting nspr-4.13: .......... done ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so) ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on shared library: libreadline.so.6 - found (/usr/local/lib/libreadline.so.6) =========================================================================== =================================================== ===> Configuring for spidermonkey185-1.8.5_2 (cd /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src && /usr/local/bin/autoconf-2.13) configure: warning: x86_64-portbld-freebsd4.6: invalid host type loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-freebsd4.6 checking target system type... x86_64-portbld-freebsd4.6 checking build system type... x86_64-portbld-freebsd4.6 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.020003 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 '/wrkdirs/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 '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' echo "fenv.h" >> /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/system-headers echo "pthread_np.h" >> /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/system-headers =========================================================================== =================================================== ===> Building for spidermonkey185-1.8.5_2 gmake[1]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' gmake export gmake[2]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' gmake -C config/ nsinstall gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' nsinstall.c 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 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 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 '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' Creating /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/.deps gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /wrkdirs/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=\"DragonFly4\" -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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/shell' Creating /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/shell/.deps gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' Creating /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests/.deps gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'export'. gmake[3]: Leaving directory '/wrkdirs/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=\"DragonFly4\" -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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsautokw.h /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /wrkdirs/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 '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' gmake libs gmake[2]: Entering directory '/wrkdirs/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 /wrkdirs/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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp jsapi.cpp jsarena.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jsarray.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jsatom.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from jsarray.cpp:84:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ 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); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsarray.cpp:84:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void 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); ^ 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); ^ 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 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 jsbool.cpp:45:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsatom.cpp:65:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ In file included from jsapi.cpp:52:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ 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_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_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsutil.h:120:43: warning: typedef 'js_static_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)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsatom.cpp:51:0: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsatom.cpp:862:9: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, count++); ^ jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)': jsatom.cpp:954:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] uint32 count; ^ In file included from jsapi.cpp:52:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ 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 jsarray.cpp:110:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsarray.cpp:84:0: jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); ^ jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); ^ In file included from jstracer.h:48:0, from jsarray.cpp:90: jsarray.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_EnsureDenseArrayCapacity' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_ArrayCompPush_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseEmptyArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseAllocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::NewDenseUnallocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, ^ 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 jsapi.cpp:94:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsbool.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsapi.cpp:97: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: warning: converting 'false' to pointer type 'JSIdArray*' [-Wconversion-null] return false; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ 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); ^ jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jscntxt.cpp:58:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ 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)); ^ jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 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); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ 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_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); ^ 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); ^ 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)); ^ 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 jsregexpinlines.h:45:0, from jsclone.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jscntxt.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from assembler/assembler/MacroAssembler.h:54:0, from jscntxt.cpp:84: assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ 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 jscntxt.cpp:90:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsclone.cpp:44: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsclone.cpp: In member function 'bool js::SCInput::readArray(T*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:203:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); ^ jsclone.cpp: In function 'uint32_t ArrayTypeToTag(uint32_t)': jsutil.h:120:43: warning: typedef 'js_static_assert75' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:408:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:409:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:410:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); ^ jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:411:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); ^ jsutil.h:120:43: warning: typedef 'js_static_assert79' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:412:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:413:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); ^ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:414:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); ^ jsutil.h:120:43: warning: typedef 'js_static_assert82' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:415:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); ^ jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:416:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 8); ^ jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsclone.cpp:417:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); ^ In file included from jscntxt.cpp:58:0: jscntxt.cpp: In function 'JSContext* js_NewContext(JSRuntime*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jscntxt.cpp:746:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from 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:0, from methodjit/PolyIC.h:50, from jscompartment.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsdate.cpp:66: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsdate.cpp:63:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsdate.cpp:66:0: jsdate.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)date_now_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsdate.cpp:2459:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(date_now, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jscntxt.cpp:81: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ 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 jsdtoa.cpp:54:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ 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 jsdbgapi.cpp:72:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/PunboxAssembler.h:43, from methodjit/CodeGenIncludes.h:58, from methodjit/Compiler.h:47, from methodjit/Retcon.h:52, from 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); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsemit.cpp:73:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsemit.cpp:52:0: jsemit.cpp: In member function 'bool JSTreeContext::ensureSharpSlots()': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1318:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ jsemit.cpp: In function 'JSOp EmitBigIndexPrefix(JSContext*, JSCodeGenerator*, uintN)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1773:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsemit.cpp:1774:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INDEX_LIMIT >= ^ In file included from jsemit.cpp:56:0: jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, cookie->asInteger()); ^ 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=\"DragonFly4\" -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:0, 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)); ^ In file included from jsexn.cpp:67:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbit.h:44:0, from jsexn.cpp:48: jsexn.cpp: In function 'JSErrorReport* CopyErrorReport(JSContext*, JSErrorReport*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:146:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:147:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); ^ jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:257:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); ^ jsexn.cpp: In function 'JSBool exn_enumerate(JSContext*, JSObject*)': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsexn.cpp:440:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsfun.cpp c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from jsbit.h:44:0, from jsfun.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsfun.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jsfun.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ 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)); ^ jsgc.cpp c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from jsgc.cpp:56:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsgc.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsfun.cpp:91:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbit.h:44:0, 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 jsfun.cpp:53:0: jsfun.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NewArgumentsOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:301:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, OBJECT, js_NewArgumentsOnTrace, CONTEXT, OBJECT, UINT32, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_PutArgumentsOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_PutArgumentsOnTrace, CONTEXT, OBJECT, VALUEPTR, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CreateCallObjectOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:1062:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, OBJECT, js_CreateCallObjectOnTrace, CONTEXT, FUNCTION, OBJECT, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_PutCallObjectOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:389:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:1169:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_6' JS_DEFINE_CALLINFO_6(extern, BOOL, js_PutCallObjectOnTrace, CONTEXT, OBJECT, UINT32, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_SetCallArg' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:1317:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL, js_SetCallArg, CONTEXT, OBJECT, JSID, VALUE, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_SetCallVar' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:1326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL, js_SetCallVar, CONTEXT, OBJECT, JSID, VALUE, 0, ^ jsfun.cpp: In function 'JSString* fun_toStringHelper(JSContext*, JSObject*, uintN)': jsfun.cpp:2054:16: warning: converting 'false' to pointer type 'JSString*' [-Wconversion-null] return false; ^ jsfun.cpp: In function 'const js::Shape* js::LookupInterpretedFunctionPrototype(JSContext*, JSObject*)': jsfun.cpp:2660:20: warning: converting 'false' to pointer type 'const js::Shape*' [-Wconversion-null] return false; ^ In file included from jsfun.cpp:53:0: jsfun.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CloneFunctionObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:2819:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, OBJECT, js_CloneFunctionObject, CONTEXT, FUNCTION, OBJECT, OBJECT, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_AllocFlatClosure' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsfun.cpp:2853:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_AllocFlatClosure, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsdate.cpp:66: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsinterp.cpp c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from jsinterp.cpp:50:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsgcstats.cpp:44: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsgcstats.cpp:44: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75, from jsinvoke.cpp:42: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ 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 jsinterp.cpp:85:0, from jsinvoke.cpp:42: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsinterp.cpp:85:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/MonoIC.h:44, from jsinterp.cpp:100, from jsinvoke.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsinterp.cpp:50:0, from jsinvoke.cpp:42: jsinterp.cpp: In function 'bool js::Execute(JSContext*, JSObject*, JSScript*, JSStackFrame*, uintN, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.cpp:993:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/MonoIC.h:44, from jsinterp.cpp:100: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75, from jsinvoke.cpp:42: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsiter.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsiter.cpp:47:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ 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:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsiter.cpp:47:0: jsiter.cpp: In function 'bool js::VectorToIdArray(JSContext*, js::AutoIdVector&, JSIdArray**)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsiter.cpp:339:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); ^ jsiter.cpp: In function 'JSObject* NewIteratorObject(JSContext*, uintN)': jsiter.cpp:428:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ jslock.cpp c++ -o jslock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from jspubtd.h:47, from jslock.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ 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=\"DragonFly4\" -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 jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsmath.cpp:50: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsmath.cpp:50:0: jsmath.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_math_abs_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:680:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(js_math_abs, fabs) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_atan_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:681:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_atan, atan) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_sin_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:682:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_sin, sin) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_cos_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:683:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_cos, cos) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_sqrt_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:684:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_sqrt, sqrt) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_tan_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(name, \ ^ jsmath.cpp:685:1: note: in expansion of macro 'MATH_BUILTIN_1' MATH_BUILTIN_1(math_tan, tan) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_exp_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:715:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_exp, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_acos_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:807:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_acos, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_asin_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:809:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_asin, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_atan2_kernel' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:811:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_atan2, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_floor_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:813:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_floor, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_log_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:815:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_log, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_max_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:817:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_max, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_min_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:819:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_min, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_pow_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:821:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_pow, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_random_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:823:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(math_random, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_round_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:825:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_round, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)math_ceil_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsmath.cpp:827:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_math_ceil, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsfun.cpp:53: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsnum.cpp:59: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsnum.cpp:56:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ 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:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsnum.cpp:59:0: jsnum.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)ParseInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_parseInt, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)ParseIntDouble' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn1 \ ^ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_parseInt, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)ParseFloat' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsnum.cpp:517:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(num_parseFloat, ^ In file included from jsnum.cpp:56:0: 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")); ^ In file included from jsnum.cpp:59:0: jsnum.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NumberToString' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsnum.cpp:932:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_toString, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NumberToStringWithBase' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn1 \ ^ jsnum.cpp:932:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' JS_DEFINE_TRCINFO_2(num_toString, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsmath.cpp:50: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsobj.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jsobj.cpp:49: 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:0, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ 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 member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from json.cpp:66:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In 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 jsobj.cpp:85:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp:221:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); ^ jsobj.cpp:280:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] he->value = (void *) sharpid; ^ In file included from jsobj.cpp:58:0: jsobj.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_Object_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsobj.cpp:2968:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(js_Object, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_InitializerObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:2983:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_InitializerObject, CONTEXT, OBJECT, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_String_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:2996:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_String_tn, CONTEXT, CALLEE_PROTOTYPE, STRING, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CreateThisFromTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsobj.cpp:3029:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, CONSTRUCTOR_RETRY, js_CreateThisFromTrace, CONTEXT, OBJECT, UINTN, 0, ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsiter.cpp:53: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsnum.cpp:59: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ 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 jsparse.cpp:93:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from 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 nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsopcode.cpp:73: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsopcode.cpp:77:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsparse.cpp: In member function 'JSParseNode* js::Parser::functionDef(JSAtom*, js::Parser::FunctionType, uintN)': jsparse.cpp:3355:20: warning: converting 'false' to pointer type 'JSParseNode*' [-Wconversion-null] return false; ^ In file included from jsarray.h:47:0, from jsparse.cpp:62: jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, assignType | oldAssignType); ^ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] JSBool afterComma; ^ 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:0: 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); ^ jsproxy.cpp c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsproxy.cpp:51:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsobj.cpp:58: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jspropertycache.cpp c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ 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=\"DragonFly4\" -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 In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jspropertytree.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jspropertycache.cpp:44:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ 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 jspropertytree.cpp:51:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsopcode.cpp:73: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ 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:48:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ 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 jsregexp.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsreflect.cpp:63:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexp.cpp:59: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsscan.cpp c++ -o jsscan.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from jsbit.h:44:0, from jsscan.cpp:57: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsregexp.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ 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.h:48:0, from jsregexp.cpp:64: jsregexp.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CloneRegExpObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsregexp.cpp:178:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, js_CloneRegExpObject, CONTEXT, OBJECT, OBJECT, 0, ^ jsscope.cpp c++ -o jsscope.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, 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); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsscope.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsscope.cpp:67:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsscope.cpp:64: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsscript.cpp:63: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsscript.cpp:70:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ 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:0: 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) + ^ jsstr.cpp c++ -o jsstr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsregexp.cpp:64: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ 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.cpp c++ -o jsutil.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstypedarray.cpp:51: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ jswrapper.cpp c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ 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 jstypedarray.cpp:64:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jstypedarray.cpp:51:0: jstypedarray.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_TypedArray_uint8_clamp_double' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstypedarray.cpp:387:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, INT32, js_TypedArray_uint8_clamp_double, DOUBLE, ^ In file included from jsstr.cpp:55:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsstr.cpp:62: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsstr.cpp:55:0: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from methodjit/PolyIC.h:46, from jswrapper.cpp:48: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jstypedarray.cpp:44:0: jstypedarray.cpp: In member function 'void TypedArrayTemplate::copyIndexToValue(JSContext*, uint32, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(NativeType) < 4); ^ jstypedarray.cpp: In function 'JSObject* TypedArrayConstruct(JSContext*, jsint, uintN, js::Value*)': jstypedarray.cpp:1671:16: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = signed char; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = signed char; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1643:27: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] return false; ^ jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = unsigned char; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = unsigned char; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1646:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = short int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = short int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1649:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = short unsigned int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = short unsigned int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1652:29: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1655:28: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = unsigned int; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = unsigned int; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1658:29: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = float; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = float; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1661:30: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = double; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = double; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1664:30: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] jstypedarray.cpp: In instantiation of 'static JSObject* TypedArrayTemplate::createBufferWithSizeAndCount(JSContext*, uint32) [with NativeType = uint8_clamped; JSObject = JSObject; JSContext = JSContext; uint32 = unsigned int]': jstypedarray.cpp:770:60: required from 'static JSObject* TypedArrayTemplate::create(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSObject = JSObject; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1667:35: required from here jstypedarray.cpp:1337:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] In file included from jsval.h:48:0, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from methodjit/BaseAssembler.h:53:0, from methodjit/PolyIC.h:50, from jswrapper.cpp:48: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsstr.cpp:81:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, 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:0: jsstr.cpp: In function 'jschar* AllocChars(JSContext*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.cpp:119:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSString::MAX_LENGTH * sizeof(jschar) < UINT32_MAX); ^ In file included from jsstr.cpp:62:0: jsstr.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_Flatten' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsstr.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, BOOL, js_Flatten, CONTEXT, STRING, 0, nanojit::ACCSET_STORE_ANY) ^ jsstr.cpp: In member function 'const RegExpPair* RegExpGuard::normalizeRegExp(bool, uintN, uintN, js::Value*)': jsstr.cpp:1737:24: warning: converting 'false' to pointer type 'const RegExpPair*' [-Wconversion-null] return false; ^ In file included from jsstr.cpp:62:0: jsstr.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_ConcatStrings' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsstr.cpp:3063:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(str_concat, ^ jsxdrapi.cpp c++ -o jsxdrapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 jsxdrapi.cpp:47:0: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsscript.cpp:63: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsxml.cpp:76:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jsxdrapi.cpp:58:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ prmjtime.cpp c++ -o prmjtime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 sharkctl.cpp c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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=\"DragonFly4\" -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 nanojit/nanojit.h:377:0, from jstracer.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from jstracer.cpp:87:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_IntToString' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:323:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, STRING, js_IntToString, CONTEXT, INT32, 1, nanojit::ACCSET_NONE) ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In function 'void js::NativeToValue(JSContext*, js::Value&, JSValueType, double*)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:2979:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(Value) == sizeof(double)); ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)String_fromCharCode' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args ^ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' _JS_DEFINE_CALLINFO_n tn0 \ ^ jsstr.cpp:3376:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' JS_DEFINE_TRCINFO_1(str_fromCharCode, ^ In file included from jsstr.cpp:55:0: 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); ^ In file included from jsstr.cpp:62:0: jsstr.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_EqualStringsOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsstr.cpp:3823:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_EqualStringsOnTrace, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_CompareStringsOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsstr.cpp:3877:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, INT32, js_CompareStringsOnTrace, ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetClosureVar' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:8140:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureVar, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetClosureArg' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:8142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureArg, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_object(nanojit::LIns*, JSValueType, js::VMSideExit*)': jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10001:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); ^ jstracer.cpp: In member function 'void js::TraceRecorder::unbox_any_object(js::tjit::Address, nanojit::LIns**, nanojit::LIns**)': jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10044:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); ^ jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_string_id(nanojit::LIns*)': jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:10118:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSID_TYPE_STRING == 0); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::functionProbe' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:10588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(static, BOOL, functionProbe, CONTEXT, FUNCTION, INT32, 0, ACCSET_ALL) ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'void js::TraceRecorder::propagateFailureToBuiltinStatus(nanojit::LIns*, nanojit::LIns*&)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:11186:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JS_TRUE & 1) ^ 1) << 1 == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:11187:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JS_FALSE & 1) ^ 1) << 1 == BUILTIN_ERROR); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::ceilReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11432:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::floorReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11433:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::roundReturningInt' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11434:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::DeleteIntKey' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11842:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteIntKey, CONTEXT, OBJECT, INT32, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::DeleteStrKey' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:11864:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteStrKey, CONTEXT, OBJECT, STRING, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::MethodWriteBarrier' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, MethodWriteBarrier, CONTEXT, OBJECT, UINT32, CVALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12719:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, GetPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12793:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, 0, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyById' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12823:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyById, CONTEXT, OBJECT, JSID, VALUEPTR, ^ In file included from jsbit.h:44:0, from jstracer.cpp:43: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::getPropertyById(nanojit::LIns*, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert91' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jstracer.cpp:12842:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsid) == sizeof(void *)); ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetPropertyWithNativeGetter' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:12881:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyWithNativeGetter, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::SetPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13204:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByName, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::InitPropertyByName' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13223:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUE, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::SetPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13264:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, BOOL, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::InitPropertyByIndex' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13282:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByIndex, CONTEXT, OBJECT, INT32, VALUE, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::CheckSameGlobal' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13525:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(static, BOOL, CheckSameGlobal, OBJECT, OBJECT, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarArgOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13584:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarArgOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarVarOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13586:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarVarOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::GetUpvarStackOnTrace' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:13588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarStackOnTrace, CONTEXT, UINT32, INT32, UINT32, ^ In file included from jstracer.h:56:0, from jstracer.cpp:78: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::createThis(JSObject&, nanojit::LIns*, nanojit::LIns**)': ./dist/include/Writer.h:857:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define nameImmw(ww) name(w.immpNonGC((void *) (ww)), #ww) ^ jstracer.cpp:13816:24: note: in expansion of macro 'nameImmw' LIns* args[] = { w.nameImmw(protoSlot), ctor_ins, cx_ins }; ^ In file included from jstracer.h:48:0, from jstracer.cpp:78: jstracer.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::MethodReadBarrier' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14184:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, OBJECT_FAIL, MethodReadBarrier, CONTEXT, OBJECT, SHAPE, OBJECT, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::ObjectToIterator' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14881:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, ObjectToIterator, CONTEXT, OBJECT, INT32, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::IteratorMore' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14929:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, IteratorMore, CONTEXT, OBJECT, VALUEPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js::CloseIterator' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jstracer.cpp:14997:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, BOOL_FAIL, CloseIterator, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/LIR.cpp:40: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./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 jsbuiltins.cpp:64:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbuiltins.cpp:59:0: jsbuiltins.cpp: At global scope: jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_dmod' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:98:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, DOUBLE, js_dmod, DOUBLE, DOUBLE, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_imod' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, INT32, js_imod, INT32, INT32, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_UnboxDouble' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:147:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, DOUBLE, js_UnboxDouble, JSVAL, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_UnboxInt32' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:156:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, INT32, js_UnboxInt32, VALUE, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_DoubleToInt32' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:165:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, INT32, js_DoubleToInt32, DOUBLE, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_DoubleToUint32' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:172:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' JS_DEFINE_CALLINFO_1(extern, UINT32, js_DoubleToUint32, DOUBLE, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_StringToNumber' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:187:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, DOUBLE, js_StringToNumber, CONTEXT, STRING, BOOLPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_StringToInt32' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:197:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, INT32, js_StringToInt32, CONTEXT, STRING, BOOLPTR, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_AddProperty' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:232:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_AddAtomProperty' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddAtomProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_HasNamedProperty' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:269:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedProperty, CONTEXT, OBJECT, STRING, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_HasNamedPropertyInt32' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:281:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedPropertyInt32, CONTEXT, OBJECT, INT32, ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_TypeOfObject' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:290:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, STRING, js_TypeOfObject, CONTEXT, OBJECT, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_BooleanIntToString' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:298:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, STRING, js_BooleanIntToString, CONTEXT, INT32, 1, ACCSET_NONE) ^ jsbuiltins.h:294:100: warning: narrowing conversion of '(intptr_t)js_NewNullClosure' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^ jsbuiltins.cpp:320:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' JS_DEFINE_CALLINFO_4(extern, OBJECT, js_NewNullClosure, CONTEXT, OBJECT, OBJECT, OBJECT, ^ In file included from ./dist/include/nanojit.h:377:0, from ./tracejit/Writer.h:47, from ./tracejit/Writer.cpp:43: ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./dist/include/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./dist/include/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsbuiltins.cpp:59: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsstr.cpp:62: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./dist/include/Native.h:66:0, from ./dist/include/nanojit.h:374, from ./tracejit/Writer.h:47, from ./tracejit/Writer.cpp:43: ./dist/include/NativeX64.h: At global scope: ./dist/include/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/BaseAssembler.h:47, from ./methodjit/MethodJIT.cpp:43: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/MethodJIT.cpp:43: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/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:0, 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:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/MethodJIT.cpp:39: ./methodjit/MethodJIT.cpp: In member function 'void JSStackFrame::methodjitStaticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:77:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) == 0x30); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:78:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, ncode_) == 0x28); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/Compiler.cpp:47: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/BaseAssembler.h:53:0, 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 ./nanojit/nanojit.h:377:0, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/StubCalls.cpp:55: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/Compiler.cpp:42: ./methodjit/Compiler.cpp: In member function 'js::mjit::CompileStatus js::mjit::Compiler::generateMethod()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1123:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_LT_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1124:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_LE_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1125:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_GT_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1126:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_EQ_LENGTH == JSOP_GE_LENGTH); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert72' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:1127:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_NE_LENGTH == JSOP_GE_LENGTH); ^ ./methodjit/Compiler.cpp: In member function 'void js::mjit::Compiler::jsop_setprop_slow(JSAtom*, bool)': ./jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/Compiler.cpp:2911:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSOP_SETNAME_LENGTH == JSOP_SETPROP_LENGTH); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/MethodJIT.cpp:42: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MachineRegs.h:44, from ./methodjit/FrameState.h:44, from ./methodjit/FrameState.cpp:40: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/FrameState.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/FrameState.h:46, from ./methodjit/FrameState.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./nanojit/NativeX64.cpp:40: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/FastArithmetic.cpp:45: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsbool.h:46, from ./methodjit/FastArithmetic.cpp:41: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/FastArithmetic.cpp:45: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/StubCalls.cpp:55: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/FastOps.cpp:46:0: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, 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); ^ StubCompiler.cpp c++ -o StubCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/StubCalls.h:44, from ./methodjit/StubCompiler.cpp:41: ./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:0, from ./methodjit/MachineRegs.h:44, from ./methodjit/FrameState.h:44, from ./methodjit/StubCompiler.h:47, from ./methodjit/StubCompiler.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ MonoIC.cpp c++ -o MonoIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/MethodJIT.h:42, from ./methodjit/StubCalls.h:44, from ./methodjit/StubCompiler.cpp:41: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/FrameState.h:46, from ./methodjit/StubCompiler.h:47, from ./methodjit/StubCompiler.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MonoIC.h:44, from ./methodjit/MonoIC.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/MonoIC.h:48, from ./methodjit/MonoIC.cpp:42: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jsscope.h:52, from ./methodjit/MonoIC.cpp:40: ./methodjit/MonoIC.cpp: In member function 'bool CallCompiler::generateNativeStub()': ./jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MonoIC.cpp:880:13: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(Value) == 8); ^ PolyIC.cpp c++ -o PolyIC.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.cpp:39: ./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:0, from ./methodjit/PolyIC.h:46, from ./methodjit/PolyIC.cpp:39: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/PolyIC.h:43, from ./methodjit/PolyIC.cpp:39: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/PolyIC.h:50, from ./methodjit/PolyIC.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./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]; ^ ImmutableSync.cpp c++ -o ImmutableSync.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/InvokeHelpers.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./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); ^ Retcon.cpp c++ -o Retcon.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./nanojit/nanojit.h:377:0, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/InvokeHelpers.cpp:55: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/Compiler.h:47, from ./methodjit/Retcon.h:52, from ./methodjit/Retcon.cpp:43: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./methodjit/Retcon.h:49, from ./methodjit/Retcon.cpp:43: ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ In file included from ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/MonoIC.h:44, from ./methodjit/InvokeHelpers.cpp:57: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/Compiler.h:47, from ./methodjit/Retcon.h:52, from ./methodjit/Retcon.cpp:43: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/MonoIC.h:48, from ./methodjit/InvokeHelpers.cpp:57: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./methodjit/InvokeHelpers.cpp: In function 'void* AtSafePoint(JSContext*)': ./methodjit/InvokeHelpers.cpp:731:16: warning: converting 'false' to pointer type 'void*' [-Wconversion-null] return false; ^ TrampolineCompiler.cpp c++ -o TrampolineCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 ./assembler/assembler/MacroAssembler.h:54:0, from ./methodjit/PunboxAssembler.h:43, from ./methodjit/CodeGenIncludes.h:58, from ./methodjit/TrampolineCompiler.h:45, from ./methodjit/TrampolineCompiler.cpp:41: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./methodjit/TrampolineCompiler.h:44, from ./methodjit/TrampolineCompiler.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ./jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from ./methodjit/BaseAssembler.h:53:0, from ./methodjit/CodeGenIncludes.h:63, from ./methodjit/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); ^ checks.cc c++ -o checks.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./v8-dtoa/checks.cc:31: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ conversions.cc c++ -o conversions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./v8-dtoa/conversions.cc:30: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./v8-dtoa/diy-fp.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ v8-dtoa.cc c++ -o v8-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./v8-dtoa/v8-dtoa.cc:33: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ fast-dtoa.cc c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./v8-dtoa/fast-dtoa.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; ^ In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jstracer.cpp:58: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./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); ^ RegexCompiler.cpp c++ -o RegexCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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 RegexJIT.cpp c++ -o RegexJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./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:0, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from ./nanojit/Native.h:66:0, from ./nanojit/nanojit.h:374, from ./jsbuiltins.h:45, from ./jstracer.h:48, from ./methodjit/InvokeHelpers.cpp:55: ./nanojit/NativeX64.h: At global scope: ./nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./yarr/pcre/pcre_compile.cpp: In function 'bool compileBranch(int, int*, unsigned char**, const UChar**, const UChar*, ErrorCode*, int*, int*, CompileData&)': ./yarr/pcre/pcre_compile.cpp:572:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] const UChar* tempptr; ^ In file included from ./jsval.h:48:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert51' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert60' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert63' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ pcre_tables.cpp c++ -o pcre_tables.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_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=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./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=\"DragonFly4\" -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:0, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsstr.h: In static member function 'static void 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=\"DragonFly4\" -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 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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -D ../dist/bin/chrome gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/wrkdirs/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=\"DragonFly4\" -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:0: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../nanojit/nanojit.h:377:0, from ../jsbuiltins.h:45, from js.cpp:62: ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ In file included from js.cpp:56:0: ../jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ../jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ../jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ../jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ In file included from js.cpp:95:0: ../jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ../jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ../nanojit/Native.h:66:0, from ../nanojit/nanojit.h:374, from ../jsbuiltins.h:45, from js.cpp:62: ../nanojit/NativeX64.h: At global scope: ../nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ testContexts.cpp c++ -o testContexts.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testConservativeGC.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../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) + ^ testDebugger.cpp c++ -o testDebugger.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testDeepFreeze.cpp c++ -o testDeepFreeze.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testDefineGetterSetterNonEnumerable.cpp c++ -o testDefineGetterSetterNonEnumerable.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDebugger.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testDefineProperty.cpp c++ -o testDefineProperty.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testExtendedEq.cpp c++ -o testExtendedEq.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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=\"DragonFly4\" -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:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testExtendedEq.cpp:8: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testFuncCallback.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../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)); ^ testGCChunkAlloc.cpp c++ -o testGCChunkAlloc.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testGetPropertyDefault.cpp c++ -o testGetPropertyDefault.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testIntString.cpp c++ -o testIntString.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testIntString.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ In file included from ../jsval.h:48:0, 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); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ In file included from ../nanojit/nanojit.h:377:0, from ../jsbuiltins.h:45, from ../jstracer.h:48, from testFuncCallback.cpp:6: ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:189:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^ ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ../nanojit/RegAlloc.h:197:86: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^ testLookup.cpp c++ -o testLookup.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testLookup.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ In file included from ../nanojit/Native.h:66:0, from ../nanojit/nanojit.h:374, from ../jsbuiltins.h:45, from ../jstracer.h:48, from testFuncCallback.cpp:6: ../nanojit/NativeX64.h: At global scope: ../nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] static const RegisterMask SavedRegs = 1<> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../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=\"DragonFly4\" -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:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testTrap.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testUTF8.cpp c++ -o testUTF8.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 testVersion.cpp c++ -o testVersion.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testVersion.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ testXDR.cpp c++ -o testXDR.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"DragonFly4\" -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 ../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=\"DragonFly4\" -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:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testXDR.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ In file included from ../jsval.h:48:0, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCustomIterator.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ 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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'libs'. gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/tests' /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib gmake[2]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' gmake tools gmake[2]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/shell' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for 'tools'. gmake[3]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/tests' gmake[2]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi gmake[1]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for spidermonkey185-1.8.5_2 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/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 /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /wrkdirs/lang/spidermonkey185/stage/usr/local/libdata/pkgconfig /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /wrkdirs/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 /wrkdirs/lang/spidermonkey185/stage/usr/local/include/js /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t js-config /wrkdirs/lang/spidermonkey185/stage/usr/local/bin /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t libjs_static.a /wrkdirs/lang/spidermonkey185/stage/usr/local/lib mv -f /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libjs_static.a /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185-1.0.a /wrkdirs/lang/spidermonkey185/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /wrkdirs/lang/spidermonkey185/stage/usr/local/lib mv -f /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0.0 ln -s /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0.0 /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 ln -s /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so gmake[1]: Leaving directory '/wrkdirs/lang/spidermonkey185/js-1.8.5/js/src' ln -sf libmozjs185.so.1.0.0 /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so ln -sf libmozjs185.so.1.0.0 /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1 ln -sf libmozjs185.so.1.0.0 /wrkdirs/lang/spidermonkey185/stage/usr/local/lib/libmozjs185.so.1.0 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for spidermonkey185-1.8.5_2 file sizes/checksums [101]: .. done packing files [101]: .. done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for spidermonkey185-1.8.5_2 build of lang/spidermonkey185 ended at Fri Oct 7 21:19:47 PDT 2016 build time: 00:03:29