build started at Wed Aug 12 23:33:52 UTC 2014 port directory: /usr/ports/lang/spidermonkey185 building for: FreeBSD 100amd64-default 10.0-RELEASE FreeBSD 10.0-RELEASE amd64 maintained by: koobs@FreeBSD.org Makefile ident: $FreeBSD: head/lang/spidermonkey185/Makefile 359987 2014-07-01 12:39:10Z bapt $ Poudriere version: 3.0.16 Host OSVERSION: 1100028 Jail OSVERSION: 1000510 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE UNAME_r=10.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=screen-256color NO_WARNING_PKG_INSTALL_EOL=yes MASTERMNT=/poudriere/data/build/100amd64-default/ref PKG_EXT=txz FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/home/foo MASTERNAME=100amd64-default DEVELOPER_MODE=yes USER=root HOME=/root POUDRIERE_VERSION=3.0.16 SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for spidermonkey185-1.8.5_2: DEBUG=off: Enable Debug build DTRACE=on: Build with DTrace probes GCZEAL=off: Enable Zealous garbage collecting JEMALLOC=off: Use jemalloc as memory allocator METHODJIT=on: Enable method JIT support OPTIMIZE=on: Enable compiler optimizations READLINE=on: Link js shell to system readline library THREADSAFE=on: Enable multiple thread support TRACEJIT=on: Enable tracing JIT support UTF8=off: Treat strings as UTF8 instead of ISO-8859-1 ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-pthreads --with-system-nspr --disable-debug --enable-dtrace --enable-profiling --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-- XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work TMPDIR="/tmp" 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" SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOCONF=/usr/local/bin/autoconf-2.13 AUTOCONF_DIR=/usr/local/share/autoconf-2.13 AUTOHEADER=/usr/local/bin/autoheader-2.13 AUTOIFNAMES=/usr/local/bin/ifnames-2.13 AUTOM4TE=false AUTORECONF=/usr/local/bin/autoreconf-2.13 AUTOSCAN=/usr/local/bin/autoscan-2.13 AUTOUPDATE=/usr/local/bin/autoupdate-2.13 AUTOCONF_VERSION=2.13 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work HOME=/wrkdirs/usr/ports/lang/spidermonkey185/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES AUTOCONF=/usr/local/bin/autoconf-2.13 AUTOCONF_DIR=/usr/local/share/autoconf-2.13 AUTOHEADER=/usr/local/bin/autoheader-2.13 AUTOIFNAMES=/usr/local/bin/ifnames-2.13 AUTOM4TE=false AUTORECONF=/usr/local/bin/autoreconf-2.13 AUTOSCAN=/usr/local/bin/autoscan-2.13 AUTOUPDATE=/usr/local/bin/autoupdate-2.13 AUTOCONF_VERSION=2.13 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="-lelf" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- DEBUG="@comment " NO_DEBUG="" DTRACE="" NO_DTRACE="@comment " GCZEAL="@comment " NO_GCZEAL="" JEMALLOC="@comment " NO_JEMALLOC="" METHODJIT="" NO_METHODJIT="@comment " OPTIMIZE="" NO_OPTIMIZE="@comment " READLINE="" NO_READLINE="@comment " THREADSAFE="" NO_THREADSAFE="@comment " TRACEJIT="" NO_TRACEJIT="@comment " UTF8="@comment " NO_UTF8="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/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--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=1 WITH_SSP_PORTS= OPTIONS_UNSET+= JAVA ---End make.conf--- =================================================== /!\ spidermonkey185-1.8.5_2: Makefile warnings, please consider fixing /!\ USE_PYTHON_BUILD is deprecated, please use USES=python:2,build ===> Found saved configuration for spidermonkey185-1.8.5_2 =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.3.5.1.txz [100amd64-default] Installing pkg-1.3.5.1... done Message for pkg-1.3.5.1: If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of spidermonkey185-1.8.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Found saved configuration for spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by spidermonkey185-1.8.5_2 for building =========================================================================== =================================================== ===> Found saved configuration for spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by spidermonkey185-1.8.5_2 for building => SHA256 Checksum OK for js185-1.0.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Found saved configuration for spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/sbin/pkg - found ===> 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 FreeBSD patches for spidermonkey185-1.8.5_2 ===> Ignoring patchfile /usr/ports/lang/spidermonkey185/files/patch-bug702179~ =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on executable: zip - not found ===> Verifying install for zip in /usr/ports/archivers/zip ===> Installing existing package /packages/All/zip-3.0.txz [100amd64-default] Installing zip-3.0... done ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz [100amd64-default] Installing indexinfo-0.2... done [100amd64-default] Installing indexinfo-0.2... done [100amd64-default] Installing indexinfo-0.2... done ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: pkgconf - not found ===> Verifying install for pkgconf in /usr/ports/devel/pkgconf ===> Installing existing package /packages/All/pkgconf-0.9.6_1.txz [100amd64-default] Installing pkgconf-0.9.6_1... done ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/python2.7 - not found ===> Verifying install for /usr/local/bin/python2.7 in /usr/ports/lang/python27 ===> Installing existing package /packages/All/python27-2.7.8_3.txz [100amd64-default] Installing python27-2.7.8_3... done Message for python27-2.7.8_3: ===================================================================== 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 ===================================================================== ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on executable: python2 - not found ===> Verifying install for python2 in /usr/ports/lang/python2 ===> Installing existing package /packages/All/python2-2_3.txz [100amd64-default] Installing python2-2_3... done ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/autoconf-2.13 - not found ===> Verifying install for /usr/local/bin/autoconf-2.13 in /usr/ports/devel/autoconf213 ===> Installing existing package /packages/All/autoconf213-2.13.000227_6.txz [100amd64-default] Installing autoconf-wrapper-20131203... done [100amd64-default] Installing m4-1.4.17_1,1... done [100amd64-default] Installing perl5-5.16.3_11... done [100amd64-default] Installing perl5-5.16.3_11... done ===> Returning to build of spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/perl5.16.3 - found =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - not found ===> Verifying for libnspr4.so in /usr/ports/devel/nspr ===> Installing existing package /packages/All/nspr-4.10.6.txz [100amd64-default] Installing nspr-4.10.6... done ===> Returning to build of spidermonkey185-1.8.5_2 =========================================================================== =================================================== ===> spidermonkey185-1.8.5_2 depends on executable: zip - found ===> spidermonkey185-1.8.5_2 depends on executable: gmake - found ===> spidermonkey185-1.8.5_2 depends on executable: pkgconf - found ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/python2.7 - found ===> spidermonkey185-1.8.5_2 depends on executable: python2 - found ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/autoconf-2.13 - found ===> spidermonkey185-1.8.5_2 depends on file: /usr/local/bin/perl5.16.3 - found ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so.1) ===> Configuring for spidermonkey185-1.8.5_2 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/ctypes/libffi/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/ctypes/libffi/acinclude.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/ctypes/libffi/configure ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/ctypes/libffi/m4/libtool.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/configure (cd /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src && /usr/local/bin/autoconf-2.13) configure: warning: x86_64-portbld-freebsd10.0: invalid host type loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-freebsd10.0 checking target system type... x86_64-portbld-freebsd10.0 checking build system type... x86_64-portbld-freebsd10.0 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 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector) 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++ -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector) works... yes checking whether the C++ compiler (c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector) 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 -o root -g wheel checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.016003 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-2.13 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... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... (cached) yes checking for sys/bitypes.h... no checking for memory.h... (cached) yes checking for unistd.h... (cached) yes checking for gnu/libc-version.h... no checking for nl_types.h... yes checking for malloc.h... (cached) no checking for X11/XKBlib.h... no checking for io.h... no checking for 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/sdt.h... 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... yes 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))... no 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... no checking for gcc -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking whether C++ compiler has -pedantic long long bug... no checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking for readline in -lreadline... yes checking for posix_fallocate... yes checking for setlocale... (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_ICONV_WITH_CONST_INPUT 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_FALLOCATE 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___CXA_DEMANGLE 1 #define INCLUDE_MOZILLA_DTRACE 1 #define JS_ALIGN_OF_POINTER 8 #define JS_BITS_PER_WORD_LOG2 6 #define JS_BYTES_PER_DOUBLE 8 #define JS_BYTES_PER_WORD 8 #define JS_CPU_X64 1 #define JS_HAVE_STDINT_H 1 #define JS_METHODJIT 1 #define JS_MONOIC 1 #define JS_POLYIC 1 #define JS_POLYIC_TYPED_ARRAY 1 #define JS_PUNBOX64 1 #define JS_THREADSAFE 1 #define JS_TRACER 1 #define MALLOC_H #define MOZ_DLL_SUFFIX ".so" #define MOZ_PROFILING 1 #define NEW_H #define NS_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/usr/ports/lang/spidermonkey185/work/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 -lelf -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/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' echo "fenv.h" >> /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/system-headers echo "pthread_np.h" >> /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/system-headers =========================================================================== =================================================== ===> Building for spidermonkey185-1.8.5_2 gmake[1]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake export gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake -C config/ nsinstall c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/local/include/nspr -o jscpucfg jscpucfg.cpp Creating /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/.deps jskwgen.cpp gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' nsinstall.c cc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -fstack-protector -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 c++ -o host_jskwgen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-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 pathsub.c cc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -fstack-protector -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 pathsub.c:131:27: warning: unused parameter 'dir' [-Wunused-parameter] ino2name(ino_t ino, char *dir) ^ 1 warning generated. dtrace -x nolibs -h -s ./javascript-trace.d -o javascript-trace.h.in cc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -pthread -fstack-protector -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib host_nsinstall.o host_pathsub.o gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd c++ -o host_jskwgen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-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 chmod +x nfspwd /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' Creating /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell/.deps gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' Creating /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests/.deps gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for `export'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' ./host_jskwgen /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h sed -e 's/if _DTRACE_VERSION/ifdef INCLUDE_MOZILLA_DTRACE/' \ -e '/const/!s/char \*/const char */g' \ javascript-trace.h.in > javascript-trace.h /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /wrkdirs/usr/ports/lang/spidermonkey185/work/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 /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/javascript-trace.h ./perf/jsperf.h ./dist/include mkdir -p nanojit gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake libs gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' jsoplengen.cpp c++ -o host_jsoplengen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-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/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/imacros.c.out /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -D dist/bin/chrome c++ -o host_jsoplengen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-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/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp c++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsapi.cpp jsarena.cpp c++ -o jsarena.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp c++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp jsarray.cpp c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp jsatom.cpp c++ -o jsatom.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: In file included from jsarray.cpp:86: ./jsvalue.h:294:18In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ : warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: #define __offsetof(type, field) __builtin_offsetof(type, field) In file included from ^./jscntxt.h: 62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof'In file included from jsatom.cpp:53 : In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));expanded from macro 'JS_STATIC_ASSERT' ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ #define offsetof(type, member) __offsetof(type, member) ^ In file included from jsanalyze.cpp:/usr/include/sys/cdefs.h:44940:34: : note: In file included from expanded from macro '__offsetof'./jsanalyze.h :45: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' In file included from jsatom.cpp:53: In file included from ./jscntxt.h:#define __offsetof(type, field) __builtin_offsetof(type, field)62 : ^./jsfun.h :230:16: warning: using extended field designator is an extension [-Wextended-offsetof] ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) In file included from ^ jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from In file included from jsatom.cpp:53: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from In file included from jsatom.cpp:53: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsatom.cpp:56: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsatom.cpp:56: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsatom.cpp:56: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState)In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from jsatom.cpp:57: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:90: In file included from ./jstracer.h:53: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:53: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:53: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsapi.cpp:65: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:73: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsapi.cpp:73: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsapi.cpp:73: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 10 warnings generated. In file included from jsarray.cpp:101: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsbool.cpp c++ -o jsbool.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp In file included from jsatom.cpp:65: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsapi.cpp:84: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsatom.cpp:384:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(state); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsatom.cpp:862:9: warning: cast to 'void *' from smaller integer type 'jsuint' (aka 'unsigned int') [-Wint-to-pointer-cast] ALE_SET_INDEX(ale, count++); ^ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:94: ./jsobjinlines.h:302:In file included from jsarray.cpp:110: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) 20./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ : warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsbool.cpp:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:49: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:52: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbool.cpp:52: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbool.cpp:52: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 19 warnings generated. jsclone.cpp c++ -o jsclone.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp In file included from jsapi.cpp:97: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsbool.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:97: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jsbool.cpp:58: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:jsapi.cpp:1641:12: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(cx->runtime, offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43jsapi.cpp: In file included from ./jscntxt.h::59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 1646:13: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] OFFSET_TO_ATOM(cx->runtime, offset) = atom; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1657:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitFunctionAndObjectClasses, EAGER_ATOM_AND_CLASP(Function)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1658:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitFunctionAndObjectClasses, EAGER_ATOM_AND_CLASP(Object)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member)In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1659:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitArrayClass, EAGER_ATOM_AND_CLASP(Array)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1660:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitBooleanClass, EAGER_ATOM_AND_CLASP(Boolean)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1661:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitDateClass, EAGER_ATOM_AND_CLASP(Date)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1662:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitMathClass, EAGER_ATOM_AND_CLASP(Math)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1663:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNumberClass, EAGER_ATOM_AND_CLASP(Number)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1664:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, EAGER_ATOM_AND_CLASP(String)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1665:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_ATOM_AND_CLASP(Error)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1666:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitRegExpClass, EAGER_ATOM_AND_CLASP(RegExp)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1668:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitXMLClass, EAGER_ATOM_AND_CLASP(XML)}, ^ jsapi.cpp:1623:37: note: ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1669:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNamespaceClass, EAGER_ATOM_AND_CLASP(Namespace)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1670:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitQNameClass, EAGER_ATOM_AND_CLASP(QName)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1673:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitIteratorClasses, EAGER_ATOM_AND_CLASP(StopIteration)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1675:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitJSONClass, EAGER_ATOM_AND_CLASP(JSON)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1676:41: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(ArrayBuffer), &js::ArrayBuffer::jsclass}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1691:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNumberClass, LAZY_ATOM(isNaN), CLASP(Number)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1692:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNumberClass, LAZY_ATOM(isFinite), CLASP(Number)}, ^ jsapi.cpp:1624:In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1693:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNumberClass, LAZY_ATOM(parseFloat), CLASP(Number)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1694:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitNumberClass, LAZY_ATOM(parseInt), CLASP(Number)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1697:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(escape), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1698:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(unescape), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1699:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(decodeURI), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1700:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(encodeURI), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1701:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(decodeURIComponent), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1702:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(encodeURIComponent), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.hIn file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1704:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitStringClass, LAZY_ATOM(uneval), CLASP(String)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1708:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(Error), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1709:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(InternalError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1710:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(EvalError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1711:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(RangeError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1712:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(ReferenceError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1713:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(SyntaxError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1714:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(TypeError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1715:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitExceptionClasses, EAGER_CLASS_ATOM(URIError), CLASP(Error)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: : In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1718:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitXMLClass, LAZY_ATOM(XMLList), CLASP(XML)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1719:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitXMLClass, LAZY_ATOM(isXMLName), CLASP(XML)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1723:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitIteratorClasses, EAGER_ATOM_AND_CLASP(Iterator)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1724:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitIteratorClasses, EAGER_ATOM_AND_CLASP(Generator)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1728:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(ArrayBuffer), &js::ArrayBuffer::jsclass}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1729:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Int8Array), TYPED_ARRAY_CLASP(TYPE_INT8)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1730:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Uint8Array), TYPED_ARRAY_CLASP(TYPE_UINT8)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1731:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Int16Array), TYPED_ARRAY_CLASP(TYPE_INT16)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1732:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Uint16Array), TYPED_ARRAY_CLASP(TYPE_UINT16)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1733:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Int32Array), TYPED_ARRAY_CLASP(TYPE_INT32)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1734:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Uint32Array), TYPED_ARRAY_CLASP(TYPE_UINT32)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1735:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Float32Array), TYPED_ARRAY_CLASP(TYPE_FLOAT32)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1736:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Float64Array), TYPED_ARRAY_CLASP(TYPE_FLOAT64)}, ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1737:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitTypedArrayClasses, EAGER_CLASS_ATOM(Uint8ClampedArray), ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1740:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitProxyClass, EAGER_ATOM_AND_CLASP(Proxy)}, ^ jsapi.cpp:1623:37: note: expanded from macro 'EAGER_ATOM_AND_CLASP' #define EAGER_ATOM_AND_CLASP(name) EAGER_CLASS_ATOM(name), CLASP(name) ^ jsapi.cpp:1622:37: note: expanded from macro 'EAGER_CLASS_ATOM' #define EAGER_CLASS_ATOM(name) CLASS_ATOM_OFFSET(name), NULL ^ ./jsatom.h:455:33: note: expanded from macro 'CLASS_ATOM_OFFSET' #define CLASS_ATOM_OFFSET(name) offsetof(JSAtomState,classAtoms[JSProto_##name]) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' 17#define __offsetof(type, field) __builtin_offsetof(type, field) ^ warnings generated. jsapi.cpp:1755:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(watch), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cppIn file included from jsclone.cpp:39: In file included from ./jsclone.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1756:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(unwatch), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1758:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(hasOwnProperty), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1759:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(isPrototypeOf), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1760:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(propertyIsEnumerable), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1762:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(defineGetter), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1763:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(defineSetter), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) jscntxt.cpp ^ /usr/include/stddef.hc++ -o jscntxt.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp :62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1764:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(lookupGetter), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1765:33: warning: using extended field designator is an extension [-Wextended-offsetof] {js_InitObjectClass, LAZY_ATOM(lookupSetter), CLASP(Object)}, ^ jsapi.cpp:1624:37: note: expanded from macro 'LAZY_ATOM' #define LAZY_ATOM(name) ATOM_OFFSET(lazy.name), js_##name##_str ^ ./jsatom.h:453:33: note: expanded from macro 'ATOM_OFFSET' #define ATOM_OFFSET(name) offsetof(JSAtomState, name##Atom) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsapi.cpp:1804:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1885:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1987:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[j].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:3988:16: warning: initialization of pointer of type 'JSIdArray *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:60: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:60: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:60: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: ./jsobjinlines.h:In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject);In file included from ^ ( ) jscntxt.cpp:./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ 61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscntxt.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscntxt.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscntxt.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscntxt.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jscntxt.cpp:62: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:62: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:72: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jscntxt.cpp:72: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jscntxt.cpp:72: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jscntxt.cpp:77: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:81: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscntxt.cpp:84: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ 18 warnings generated. jscompartment.cpp c++ -o jscompartment.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp In file included from jscntxt.cpp:90: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jscntxt.cpp:1174:37: warning: cast from 'const JSDHashEntryHdr *' to 'const JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] const JSResolvingEntry *entry = (const JSResolvingEntry *)hdr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:1208:13: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:1243:17: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:50: In file included from ./jshashtable.h:46: ./jstl.h:292:24: warning: cast from 'char *' to 'js::AutoLockGC *' increases required alignment from 1 to 8 [-Wcast-align] T *addr() { return (T *)u.bytes; } ^~~~~~~~~~~~ ./jstl.h:329:21: note: in instantiation of member function 'js::AlignedStorage2::addr' requested here new(storage.addr()) T(t1); ^ ./jstl.h:383:52: note: in instantiation of function template specialization 'js::LazilyConstructed::construct' requested here Conditionally(bool b, const T1 &t1) { if (b) t.construct(t1); } ^ jscntxt.cpp:1138:31: note: in instantiation of function template specialization 'js::Conditionally::Conditionally' requested here Conditionally lockIf(!!unlocked, rt); ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 21 warnings generated. jsdate.cpp c++ -o jsdate.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jscompartment.cpp:41: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:46: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscompartment.cpp:47: In file included from ./jstracer.h:53: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jscompartment.cpp:47: In file included from ./jstracer.h:53: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jscompartment.cpp:47: In file included from ./jstracer.h:53: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdate.cpp:67: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:47: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdate.cpp:67: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:70: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdate.cpp:70: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdate.cpp:70: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdate.cpp:74: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. jsdbgapi.cpp c++ -o jsdbgapi.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsdate.cpp:74: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:46: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdbgapi.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:55: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsdbgapi.cpp:69: In file included from ./jsatominlines.h:44: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdbgapi.cpp:87 warnings generated. 69: In file included from ./jsatominlines.h:44: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdbgapi.cpp:69: In file included from ./jsatominlines.h:44: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsdhash.cpp c++ -o jsdhash.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp jsdhash.cpp:146:36: warning: cast from 'const JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:156:36: warning: cast from 'const JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:181:36: warning: cast from 'JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:393:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = (JSDHashEntryHdr *)entryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:424:13: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:460:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:501:13: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:522:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:580:20: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] oldEntry = (JSDHashEntryHdr *)oldEntryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:741:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = (JSDHashEntryHdr *)entryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:72: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ 10 warnings generated. jsdtoa.cpp c++ -o jsdtoa.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp In file included from jsdbgapi.cpp:79: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22:In file included from warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsdtoa.cpp:49./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ : In file included from ./jsnum.h:50: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdbgapi.cpp:79: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdbgapi.cpp:79: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdtoa.cpp:49: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdtoa.cpp:49: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ 17 warnings generated. /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsdtoa.cpp:49: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsemit.cpp c++ -o jsemit.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp In file included from jsdtoa.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdtoa.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdtoa.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdtoa.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdtoa.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:50: In file included from ./jshashtable.h:46: ./jstl.h:292:24: warning: cast from 'char *' to 'js::AutoShapeRooter *' increases required alignment from 1 to 8 [-Wcast-align] T *addr() { return (T *)u.bytes; } ^~~~~~~~~~~~ ./jstl.h:336:21: note: in instantiation of member function 'js::AlignedStorage2::addr' requested here new(storage.addr()) T(t1, t2); ^ ./jstl.h:386:66: note: in instantiation of function template specialization 'js::LazilyConstructed::construct' requested here Conditionally(bool b, const T1 &t1, const T2 &t2) { if (b) t.construct(t1, t2); } ^ jsdbgapi.cpp:771:48: note: in instantiation of function template specialization 'js::Conditionally::Conditionally' requested here Conditionally tvr(needMethodSlotWrite, cx, needMethodSlotWrite); ^In file included from jsdtoa.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 23 warnings generated. In file included from jsdtoa.cpp:54: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp c++ -o jsexn.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdtoa.cpp:54: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ 302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsemit.cpp:58: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsemit.cpp:58: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsemit.cpp:58: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsemit.cpp:58: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsdtoa.cpp:83: ./dtoa.c:2522:25: warning: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align] Bigint *b = (Bigint *)((int *)s - 1); ^~~~~~~~ ./dtoa.c:2522:14: warning: cast from 'int *' to 'Bigint *' increases required alignment from 4 to 8 [-Wcast-align] Bigint *b = (Bigint *)((int *)s - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsemit.cpp:58: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:58: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsemit.cpp:60: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:62: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsemit.cpp:62: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsemit.cpp:62: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsexn.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:73: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsexn.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:57: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsexn.cpp:57: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsexn.cpp:57: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsexn.cpp:60: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:2458:5: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] ALE_SET_INDEX(ale, cookie->asInteger()); ^ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ In file included from jsexn.cpp:67: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); 23 warning ^ ( ) s generated. ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsfriendapi.cpp c++ -o jsfriendapi.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp jsexn.cpp:188:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSErrorReport *' increases required alignment from 1 to 8 [-Wcast-align] copy = (JSErrorReport *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:193:29: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar **' (aka 'const unsigned short **') increases required alignment from 1 to 8 [-Wcast-align] copy->messageArgs = (const jschar **)cursor; ^~~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:196:36: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->messageArgs[i] = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:206:27: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->ucmessage = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:212:27: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->uclinebuf = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:450:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = *(JSAtom **)((uint8 *)atomState + offsets[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsfriendapi.cpp:40: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfriendapi.cpp:40: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. 19 warnings generated. jsfun.cpp c++ -o jsfun.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp jsgc.cpp c++ -o jsgc.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.cpp 23 warnings generated. jsgcchunk.cpp c++ -o jsgcchunk.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ : note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsgcstats.cpp c++ -o jsgcstats.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from In file included from jsfun.cpp:50: jsgc.cpp:62: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsgc.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgc.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgc.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgc.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsgcstats.cppIn file included from jsfun.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfun.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfun.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsfun.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ :40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgc.cpp:63: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:63: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:73: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsgc.cpp:73: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsgc.cpp:73: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsfun.cpp:54: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:75: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:54: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsfun.cpp:56: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:61: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsfun.cpp:61: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsfun.cpp:61: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsgcstats.cpp:40: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgcstats.cpp:40: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:73: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsgc.cpp:81: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 10 warnings generated. jshash.cpp c++ -o jshash.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp In file included from jsgc.cpp:91: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsfun.cpp:91: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsfun.cpp:1691:27: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] id = ATOM_TO_JSID(OFFSET_TO_ATOM(cx->runtime, lfp.atomOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1698:27: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] id = ATOM_TO_JSID(OFFSET_TO_ATOM(cx->runtime, p.atomOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1794:30: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] if (JSID_IS_ATOM(id, OFFSET_TO_ATOM(cx->runtime, lfp->atomOffset))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1811:30: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] if (JSID_IS_ATOM(id, OFFSET_TO_ATOM(cx->runtime, p.atomOffset))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:2054:16: warning: initialization of pointer of type 'JSString *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jsgc.cpp:581:36: warning: cast from 'js::gc::Cell *' to 'JSString *' increases required alignment from 1 to 8 [-Wcast-align] return GetArena(cell)->mark((T *)cell, trc); ^~~~~~~~~ jsgc.cpp:662:20: note: in instantiation of function template specialization 'js::MarkCell' requested here test = MarkCell(cell, trc); ^ jsgc.cpp:581:36: warning: cast from 'js::gc::Cell *' to 'JSExternalString *' increases required alignment from 1 to 8 [-Wcast-align] return GetArena(cell)->mark((T *)cell, trc); ^~~~~~~~~ jsgc.cpp:665:20: note: in instantiation of function template specialization 'js::MarkCell' requested here test = MarkCell(cell, trc); ^ jsfun.cpp:2660:20: warning: initialization of pointer of type 'const js::Shape *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jsgc.cpp:62: In file included from ./jsatom.h:50: In file included from ./jshashtable.h:46: ./jstl.h:292:24: warning: cast from 'char *' to 'js::AutoUnlockAtomsCompartment *' increases required alignment from 1 to 8 [-Wcast-align] T *addr() { return (T *)u.bytes; } ^~~~~~~~~~~~ ./jstl.h:329:21: note: in instantiation of member function 'js::AlignedStorage2::addr' requested here new(storage.addr()) T(t1); ^ ./jstl.h:383:52: note: in instantiation of function template specialization 'js::LazilyConstructed::construct' requested here Conditionally(bool b, const T1 &t1) { if (b) t.construct(t1); } ^ jsgc.cpp:1109:9: note: in instantiation of function template specialization 'js::Conditionally::Conditionally' requested here unlockAtomsCompartmenIf(cx->compartment == rt->atomsCompartment && ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jsinterp.cpp c++ -o jsinterp.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinterp.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:56: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:65: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinterp.cpp:65: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinterp.cpp:65: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinterp.cpp:70: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:75: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinterp.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ 24 warnings generated. jsinvoke.cpp c++ -o jsinvoke.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp In file included from jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsinterp.cpp:2587:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(&rt->atomState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsinterp.cpp:2753:25: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(&rt->atomState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 18 warnings generated. jsiter.cpp c++ -o jsiter.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:65: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:65: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:65: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:70: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:75: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsiter.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsiter.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:228In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ :51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsiter.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsiter.cpp:54: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsiter.cpp:54: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:54: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:63: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsiter.cpp:63: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsiter.cpp:63: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 21 warnings generated. jslock.cpp c++ -o jslock.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp In file included from jsiter.cpp:68: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:71: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsiter.cpp:80: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsiter.cpp:270:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsiter.cpp:428:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ 23 warnings generated. In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jslog2.cpp c++ -o jslog2.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp jsmath.cpp c++ -o jsmath.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jslock.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jslock.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jslock.cpp:55: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsmath.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsmath.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsmath.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsmath.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsmath.cpp:51: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsmath.cpp:51: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsmath.cpp:55: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsmath.cpp:55: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsmath.cpp:55: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 12 warnings generated. jsnativestack.cpp c++ -o jsnativestack.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp jsnum.cpp c++ -o jsnum.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp 20 warnings generated. jsobj.cpp c++ -o jsobj.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp 13 warnings generated. In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ json.cpp c++ -o json.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsnum.cpp:60: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsnum.cpp:60: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsnum.cpp:60: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsnum.cpp:60: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsnum.cpp:60: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from json.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from json.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34In file included from jsnum.cpp:60: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from json.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsnum.cpp:65: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsnum.cpp:65: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsnum.cpp:65: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsobj.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsobj.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsobj.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsobj.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsnum.cpp:69: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:48: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:48: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:52: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from json.cpp:52: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from json.cpp:52: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39In file included from : note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsnum.cpp:71: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsobj.cpp:59: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:59: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:66: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:61: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:67: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsobj.cpp:67: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsobj.cpp:67: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from json.cpp:66: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsnum.cpp:75: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsobj.cpp:77: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsobj.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsobj.cpp:221:56: warning: cast to 'void *' from smaller integer type 'jsatomid' (aka 'unsigned int') [-Wint-to-pointer-cast] he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); ^ jsobj.cpp:280:25: warning: cast to 'void *' from smaller integer type 'jsatomid' (aka 'unsigned int') [-Wint-to-pointer-cast] he->value = (void *) sharpid; ^ jsobj.cpp:3080:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_FROM_BYTECODE(script, pc, 0, atom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 18 warnings generated. jsopcode.cpp c++ -o jsopcode.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsopcode.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsopcode.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsopcode.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsopcode.cpp:59: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 17 warnings generated. jsparse.cpp c++ -o jsparse.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp In file included from jsopcode.cpp:59: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:59: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:61: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:64: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsopcode.cpp:64: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsopcode.cpp:64: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsopcode.cpp:73: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsparse.cpp:64: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsparse.cpp:64: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsparse.cpp:64: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsparse.cpp:64: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsparse.cpp:64: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from In file included from jsparse.cpp:64: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:77: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsparse.cpp:66: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsparse.cpp:71: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsparse.cpp:71: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsparse.cpp:71: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsopcode.cpp:1658:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3444:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3454:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3561:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3674:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3684:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT("%s %s[%s]", "%s %s.%s", rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3733:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3746:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT(preindex_format, predot_format, rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3789:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3802:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT(postindex_format, postdot_format, rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: In file included from jsparse.cpp:93: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) expanded from macro 'GET_ATOM_FROM_BYTECODE'./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3847:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3858:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3875:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(ARGNO_LEN); ^~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3888:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(2); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3893:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3999:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4043:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4559:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4637:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4647:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4739:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4748:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4757:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsparse.cpp:94: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsparse.cpp:94: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsparse.cpp:111:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(pn_offsetof(pn_u.name.atom) == pn_offsetof(pn_u.apair.atom)); ^ ~~~~~~~~~~ jsparse.cpp:108:25: note: expanded from macro 'pn_offsetof' #define pn_offsetof(m) offsetof(JSParseNode, m) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsparse.cpp:111:49: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(pn_offsetof(pn_u.name.atom) == pn_offsetof(pn_u.apair.atom)); ^ ~~~~~~~~~~~ jsparse.cpp:108:25: note: expanded from macro 'pn_offsetof' #define pn_offsetof(m) offsetof(JSParseNode, m) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jsparse.cpp:1824:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsparse.cpp:1831:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsparse.cpp:1917:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsparse.cpp:3355:20: warning: initialization of pointer of type 'JSParseNode *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jsparse.cpp:4246:36: warning: cast from 'const JSDHashEntryHdr *' to 'const FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] const FindPropValEntry *fpve = (const FindPropValEntry *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:4280:17: warning: cast from 'JSDHashEntryHdr *' to 'FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (FindPropValEntry *) ^~~~~~~~~~~~~~~~~~~~ jsparse.cpp:4341:25: warning: cast from 'JSDHashEntryHdr *' to 'FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (FindPropValEntry *) ^~~~~~~~~~~~~~~~~~~~ jsparse.cpp:5061:32: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jsparse.cpp:8697:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] ALE_SET_INDEX(ale, assignType | oldAssignType); ^ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsparse.cpp:5008:1: warning: function 'RebindLets' is not needed and will not be emitted [-Wunneeded-internal-declaration] RebindLets(JSParseNode *pn, JSTreeContext *tc) ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 21 warnings generated. jsproxy.cpp c++ -o jsproxy.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsproxy.cpp:44: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:44: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsproxy.cpp:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsproxy.cpp:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsproxy.cpp:49: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:51: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 17 warnings generated. jsprf.cpp c++ -o jsprf.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp In file included from jsprf.cpp:53: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsprf.cpp:53: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsprf.cpp:53: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 33 warnings generated. 41 warnings generated. jsprobes.cpp c++ -o jsprobes.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.pp jsprobes.cpp jspropertycache.cpp c++ -o jspropertycache.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.pp jspropertycache.cpp 4 warnings generated. jspropertytree.cpp c++ -o jspropertytree.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.pp jspropertytree.cpp In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86In file included from :39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jspropertytree.cpp:46: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT'./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsprobes.cpp:38: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsprobes.cpp:38In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ : In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsprobes.cpp:38: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jspropertytree.cpp:46: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertytree.cpp:46: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsprobes.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsprobes.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsprobes.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsprobes.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jspropertytree.cpp:49: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:43: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertycache.cpp:43: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertycache.cpp:43: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsprobes.cpp:39: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertytree.cpp:51: In file included from ./jsobjinlines.h:60: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2:In file included from jsprobes.cpp:39: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertytree.cpp:51: In file included from ./jsobjinlines.h:60: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertytree.cpp:51: In file included from ./jsobjinlines.h:60: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jspropertytree.cpp:51: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jspropertycache.cpp:44: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: 10 warnings generated. cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsreflect.cpp c++ -o jsreflect.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.pp jsreflect.cpp In file included from jspropertytree.cpp:46: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jspropertycache.cpp:44: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jspropertycache.cpp:316:5: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_FROM_BYTECODE(cx->fp()->script(), pc, pcoff, atom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsreflect.cpp:46: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsreflect.cpp:46: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 18 warnings generated. In file included from jsreflect.cpp:46: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsregexp.cpp c++ -o jsregexp.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsregexp.pp jsregexp.cpp ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: 17 warnings generated. expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsscan.cpp c++ -o jsscan.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscan.pp jsscan.cpp In file included from jsreflect.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsreflect.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsreflect.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsreflect.cpp:49: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.hIn file included from :120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsreflect.cpp:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscan.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscan.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75In file included from jsreflect.cpp:49: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsreflect.cpp:53: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsscan.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member)In file included from jsscan.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscan.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscan.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscan.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsreflect.cpp:63: In file included from ./jsobjinlines.h:60: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsreflect.cpp:63: In file included from ./jsobjinlines.h:60: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsreflect.cpp:63: In file included from ./jsobjinlines.h:60: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsreflect.cpp:63: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsregexp.cpp:50: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscan.cpp:62: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:In file included from jsregexp.cpp:50: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:52: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from In file included from jsregexp.cpp:52: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jsscan.cpp:In file included from jsregexp.cpp:52: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 62: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscan.cpp:64: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscan.cpp:66: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscan.cpp:66: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscan.cpp:66: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsregexp.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:58: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsscan.cpp:190:13: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeEOL['\n'] = true; ^~~~~ jsscan.cpp:191:13: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeEOL['\r'] = true; ^~~~~ jsscan.cpp:197:20: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeStrSpecial['"'] = true; ^~~~ jsscan.cpp:198:20: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeStrSpecial['\''] = true; ^~~~~ jsscan.cpp:199:20: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeStrSpecial['\\'] = true; ^~~~~ jsscan.cpp:200:20: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeStrSpecial['\n'] = true; ^~~~~ jsscan.cpp:201:20: warning: array subscript is of type 'char' [-Wchar-subscripts] maybeStrSpecial['\r'] = true; ^~~~~ In file included from jsreflect.cpp:46: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsscan.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jsscan.cpp:64: In file included from ./jsemit.h:49: In file included from ./jsparse.h:50: ./jsscan.h:512:26: warning: private field 'listenerTSData' is not used [-Wunused-private-field] void *listenerTSData;/* listener data for this TokenStream */ ^ In file included from jsregexp.cpp:59: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsregexp.cpp:59: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jsregexp.cpp:64: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jsregexp.cpp:371:24: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] JSAtom *atom = OFFSET_TO_ATOM(cx->runtime, lazy.atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsregexp.cpp:547:32: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] jsid id = ATOM_TO_JSID(OFFSET_TO_ATOM(cx->runtime, lazy.atomOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:50: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 23 warnings generated. jsscope.cpp c++ -o jsscope.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscope.pp jsscope.cpp 17 warnings generated. jsscript.cpp c++ -o jsscript.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.cpp In file included from jsscope.cpp:55: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscope.cpp:55: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscope.cpp:55: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 24 warnings generated. In file included from jsscope.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof]jsstr.cpp JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));c++ -o jsstr.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.pp jsstr.cpp ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscope.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscope.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscope.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsscript.cpp:50: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscript.cpp:50: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscope.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscript.cpp:50: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jsscope.cpp:56: ./jscntxt.h./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ :2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscope.cpp:60: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscope.cpp:60: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscope.cpp:60: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscript.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscript.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscript.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscript.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsscope.cpp:62: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:59: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsstr.cpp:59: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsscript.cpp:51: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:59: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jsscript.cpp:51: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsscript.cpp:54: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscript.cpp:58: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscript.cpp:58: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscript.cpp:58: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsscope.cpp:64: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsstr.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsstr.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsstr.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.hIn file included from jsscope.cpp:67: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) :229./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ :26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsstr.cpp:63: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsscript.cpp:63: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsstr.cpp:63: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:63: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:68: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsstr.cpp:68: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^In file included from jsscope.cpp:55: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsstr.cpp:68: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsstr.cpp:72: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscript.cpp:70: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsscript.cpp:1068:11: warning: cast from 'const char *' to 'ScriptFilenameEntry *' increases required alignment from 1 to 8 [-Wcast-align] sfe = FILENAME_TO_SFE(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1053:6: note: expanded from macro 'FILENAME_TO_SFE' ((ScriptFilenameEntry *) ((fn) - offsetof(ScriptFilenameEntry, filename))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1078:11: warning: cast from 'const char *' to 'ScriptFilenameEntry *' increases required alignment from 1 to 8 [-Wcast-align] sfe = FILENAME_TO_SFE(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1053:6: note: expanded from macro 'FILENAME_TO_SFE' ((ScriptFilenameEntry *) ((fn) - offsetof(ScriptFilenameEntry, filename))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1297:34: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] script->atomMap.vector = (JSAtom **)cursor; ^~~~~~~~~~~~~~~~~ jsscript.cpp:1310:37: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObject **' increases required alignment from 1 to 8 [-Wcast-align] script->objects()->vector = (JSObject **)cursor; ^~~~~~~~~~~~~~~~~~~ jsscript.cpp:1318:37: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObject **' increases required alignment from 1 to 8 [-Wcast-align] script->regexps()->vector = (JSObject **)cursor; ^~~~~~~~~~~~~~~~~~~ jsscript.cpp:1326:38: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNote *' increases required alignment from 1 to 4 [-Wcast-align] script->trynotes()->vector = (JSTryNote *)cursor; ^~~~~~~~~~~~~~~~~~~ jsscript.cpp:1336:37: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'GlobalSlotArray::Entry *' increases required alignment from 1 to 4 [-Wcast-align] script->globals()->vector = (GlobalSlotArray::Entry *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1344:31: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'uint32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] script->closedSlots = (uint32 *)cursor; ^~~~~~~~~~~~~~~~ jsscript.cpp:1364:36: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::Value *' increases required alignment from 1 to 8 [-Wcast-align] script->consts()->vector = (Value *)cursor; ^~~~~~~~~~~~~~~ jsscript.cpp:1768:17: warning: cast from 'JSDHashEntryHdr *' to 'GSNCacheEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (GSNCacheEntry *) ^~~~~~~~~~~~~~~~~ jsscript.cpp:1807:29: warning: cast from 'JSDHashEntryHdr *' to 'GSNCacheEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (GSNCacheEntry *) ^~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:81: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsscript.cpp:50: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 18 warnings generated. jstypedarray.cpp c++ -o jstypedarray.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstypedarray.pp jstypedarray.cpp In file included from jsstr.cpp:82: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsstr.cpp:82: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsstr.cpp:1737:24: warning: initialization of pointer of type 'const RegExpPair *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jsstr.cpp:2279:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false In file included from jstypedarray.cpp:48: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstypedarray.cpp:48: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstypedarray.cpp:48: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstypedarray.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstypedarray.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstypedarray.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstypedarray.cpp:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 29 warnings generated. jsutil.cpp c++ -o jsutil.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsutil.pp jsutil.cpp jswrapper.cpp c++ -o jswrapper.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.pp jswrapper.cpp In file included from jstypedarray.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:57: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstypedarray.cpp:57: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstypedarray.cpp:57: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstypedarray.cpp:64: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.hIn file included from jstypedarray.cpp:64: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) :294./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); :18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jstypedarray.cpp:1671:16: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1643:27In file included from jswrapper.cpp:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Int8Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1646:28: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Uint8Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1649:28: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Int16Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len);In file included from jswrapper.cpp:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ jstypedarray.cpp:1652:29: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Uint16Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1655:28: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Int32Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1658:29: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Uint32Array::create(cx, argc, argv); ^ jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32In file included from jswrapper.cpp:45: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ : note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested hereIn file included from jswrapper.cpp:45: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1661:30: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Float32Array::create(cx, argc, argv); ^ ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1664:30: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Float64Array::create(cx, argc, argv); ^ 39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jswrapper.cpp:45: jstypedarray.cpp:1337:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jstypedarray.cpp:770:32: note: in instantiation of member function 'TypedArrayTemplate::createBufferWithSizeAndCount' requested here JSObject *bufobj = createBufferWithSizeAndCount(cx, len); ^ jstypedarray.cpp:1667:35: note: in instantiation of member function 'TypedArrayTemplate::create' requested here return Uint8ClampedArray::create(cx, argc, argv); ^ ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d);In file included from ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ jstypedarray.cpp:48: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jswrapper.cpp:48: In file included from ./methodjit/PolyIC.h:46: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jswrapper.cpp:48: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jswrapper.cpp:48: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jswrapper.cpp:48: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jswrapper.cpp:48: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:50: In file included from ./jshashtable.h:46: ./jstl.h:292:24: warning: cast from 'char *' to 'js::DummyFrameGuard *' increases required alignment from 1 to 8 [-Wcast-align] T *addr() { return (T *)u.bytes; } ^~~~~~~~~~~~ ./jstl.h:312:32: note: in instantiation of member function 'js::AlignedStorage2::addr' requested here T &asT() { return *storage.addr(); } ^ ./jstl.h:316:45: note: in instantiation of member function 'js::LazilyConstructed::asT' requested here ~LazilyConstructed() { if (constructed) asT().~T(); } ^ jswrapper.cpp:358:18: note: in instantiation of member function 'js::LazilyConstructed::~LazilyConstructed' requested here AutoCompartment::AutoCompartment(JSContext *cx, JSObject *target) ^ In file included from jswrapper.cpp:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 23 warnings generated. jsxdrapi.cpp c++ -o jsxdrapi.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxdrapi.pp jsxdrapi.cpp In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsxdrapi.cpp:51: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:51: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:52: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxdrapi.cpp:52: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxdrapi.cpp:52: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxdrapi.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:58: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsxdrapi.cpp:727:33: warning: cast from 'JSDHashEntryHdr *' to 'JSRegHashEntry *' increases required alignment from 4 to 8 [-Wcast-align] JSRegHashEntry *entry = (JSRegHashEntry *) ^~~~~~~~~~~~~~~~~~ jsxdrapi.cpp:760:29: warning: cast from 'JSDHashEntryHdr *' to 'JSRegHashEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSRegHashEntry *) ^~~~~~~~~~~~~~~~~~ jsxdrapi.cpp:771:21: warning: cast from 'JSDHashEntryHdr *' to 'JSRegHashEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSRegHashEntry *) ^~~~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:51: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 20 warnings generated. jsxml.cpp c++ -o jsxml.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.pp jsxml.cpp In file included from jsxml.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxml.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxml.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsxml.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxml.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxml.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsxml.cpp:56: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 27 warnings generated. prmjtime.cpp c++ -o prmjtime.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.pp prmjtime.cpp In file included from jsxml.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3403:16: warning: expression which evaluates to zero treated as a null pointer constant of type 'JSObject *' [-Wnon-literal-null-conversion] return JS_FALSE; ^~~~~~~~ ./jstypes.h:395:18: note: expanded from macro 'JS_FALSE' #define JS_FALSE (JSIntn)0 ^~~~~~~~~ In file included from jsxml.cpp:56: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsxml.cpp:61: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxml.cpp:61: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxml.cpp:61: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxml.cpp:64: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sharkctl.cpp c++ -o sharkctl.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.pp sharkctl.cpp In file included from jsstr.cpp:59: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jstracer.cpp c++ -o jstracer.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstracer.pp jstracer.cpp In file included from jsxml.cpp:76: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ jsxml.cpp:285:16: warning: expression which evaluates to zero treated as a null pointer constant of type 'JSObject *' [-Wnon-literal-null-conversion] return JS_FALSE; ^~~~~~~~ ./jstypes.h:395:18: note: expanded from macro 'JS_FALSE' #define JS_FALSE (JSIntn)0 ^~~~~~~~~ jsxml.cpp:434:20: warning: expression which evaluates to zero treated as a null pointer constant of type 'JSString *' [-Wnon-literal-null-conversion] return JS_FALSE; ^~~~~~~~ ./jstypes.h:395:18: note: expanded from macro 'JS_FALSE' #define JS_FALSE (JSIntn)0 ^~~~~~~~~ In file included from jstracer.cpp:60: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsxml.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from jstracer.cpp:60: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstracer.cpp:60: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstracer.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstracer.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jstracer.cpp:62: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:62: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstracer.cpp:62: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstracer.cpp:66: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstracer.cpp:78: In file included from ./jstracer.h:53: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstracer.cpp:78: In file included from ./jstracer.h:53: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstracer.cpp:78: In file included from ./jstracer.h:53: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jstracer.cpp:78: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:87: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jstracer.cpp:98: ./imacros.c.out:12:25: warning: using extended field designator is an extension [-Wextended-offsetof] /* 9*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:34:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*10*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:62:25: warning: using extended field designator is an extension [-Wextended-offsetof] /* 9*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_NUMBER), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:84:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*10*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_NUMBER), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:107:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*10*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_NUMBER), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:125:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*45*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_NUMBER), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:152:25: warning: using extended field designator is an extension [-Wextended-offsetof] /* 9*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:174:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*10*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:197:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*10*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:215:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*45*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_VOID), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:240:25: warning: using extended field designator is an extension [-Wextended-offsetof] /* 9*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_NUMBER), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:331:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*24*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_STRING), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jstracer.cpp:98: ./imacros.c.out:356:25: warning: using extended field designator is an extension [-Wextended-offsetof] /*24*/ JSOP_STRING, 0, COMMON_TYPE_ATOM_INDEX(JSTYPE_STRING), ^ ./jsatom.h:450:7: note: expanded from macro 'COMMON_TYPE_ATOM_INDEX' ((offsetof(JSAtomState, typeAtoms[type]) - ATOM_OFFSET_START) \ ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ jstracer.cpp:13816:24: warning: cast to 'void *' from smaller integer type 'uintN' (aka 'unsigned int') [-Wint-to-pointer-cast] LIns* args[] = { w.nameImmw(protoSlot), ctor_ins, cx_ins }; ^ ./dist/include/Writer.h:857:50: note: expanded from macro 'nameImmw' #define nameImmw(ww) name(w.immpNonGC((void *) (ww)), #ww) ^ jstracer.cpp:17359:20: warning: unused variable 'v' [-Wunused-variable] StackValue v = stackAt(-1); ^ In file included from jstracer.cpp:43: In file included from ./jsbit.h:44: ./jsutil.h:422:12: warning: destination for this 'memset' call is a pointer to dynamic class 'nanojit::LogControl'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(t, 0, sizeof(T)); ~~~~~~ ^ jstracer.cpp:7712:5: note: in instantiation of function template specialization 'js::PodZero' requested here PodZero(&LogController); ^ ./jsutil.h:422:12: note: explicitly cast the pointer to silence this warning memset(t, 0, sizeof(T)); ^ (void*) In file included from jstracer.cpp:60: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ jstracer.cpp:3053:16: warning: private field 'mCx' is not used [-Wunused-private-field] JSContext *mCx; ^ jstracer.cpp:3143:24: warning: private field 'mInitTypeMap' is not used [-Wunused-private-field] const JSValueType *mInitTypeMap; ^ jstracer.cpp:3642:19: warning: private field 'mFp' is not used [-Wunused-private-field] JSStackFrame *mFp; ^ jstracer.cpp:4030:25: warning: private field 'mLirbuf' is not used [-Wunused-private-field] nanojit::LirBuffer *mLirbuf; ^ 24 warnings generated. Assembler.cpp c++ -o Assembler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assembler.pp ./nanojit/Assembler.cpp Allocator.cpp c++ -o Allocator.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Allocator.pp ./nanojit/Allocator.cpp CodeAlloc.cpp c++ -o CodeAlloc.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CodeAlloc.pp ./nanojit/CodeAlloc.cpp 19 warnings generated. Containers.cpp c++ -o Containers.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Containers.pp ./nanojit/Containers.cpp Fragmento.cpp c++ -o Fragmento.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Fragmento.pp ./nanojit/Fragmento.cpp LIR.cpp c++ -o LIR.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LIR.pp ./nanojit/LIR.cpp ./nanojit/LIR.cppnjconfig.cpp :384:c++ -o njconfig.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/njconfig.pp ./nanojit/njconfig.cpp 34: warning: cast from 'const char *' to 'nanojit::LIns *' increases required alignment from 1 to 8 [-Wcast-align] return ins1(LIR_comment, (LIns*)str); ^~~~~~~~~~ In file included from ./nanojit/LIR.cpp:40: In file included from ./nanojit/nanojit.h:376: ./nanojit/LIR.h:2150:33: warning: private field '_config' is not used [-Wunused-private-field] const Config& _config; ^ RegAlloc.cpp c++ -o RegAlloc.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegAlloc.pp ./nanojit/RegAlloc.cpp avmplus.cpp c++ -o avmplus.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/avmplus.pp ./nanojit/avmplus.cpp NativeX64.cpp c++ -o NativeX64.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/NativeX64.pp ./nanojit/NativeX64.cpp 2 warnings generated. jsbuiltins.cpp c++ -o jsbuiltins.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbuiltins.pp jsbuiltins.cpp ./nanojit/NativeX64.cpp:197:10: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int64_t *' (aka 'long *') increases required alignment from 1 to 8 [-Wcast-align] ((int64_t*)_nIns)[-1] = op; ^~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:236:10: warning: cast from 'NIns *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] ((uint64_t*)_nIns)[-1] = (uint64_t) target; ^~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:281:15: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = d; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:305:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = imm; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:316:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int16_t *' (aka 'short *') increases required alignment from 1 to 2 [-Wcast-align] *((int16_t*)(_nIns -= 2)) = (int16_t) imm; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:334:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = imm; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:341:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] *((uint64_t*)(_nIns -= 8)) = imm64; ^~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:349:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = imm; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:364:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = addr32; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:375:11: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] *((int32_t*)(_nIns -= 4)) = d; ^~~~~~~~~~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:2007:14: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int64_t *' (aka 'long *') increases required alignment from 1 to 8 [-Wcast-align] ((int64_t*)next)[0] = int64_t(target); ^~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:2019:10: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] ((int32_t*)next)[-1] = int32_t(target - next); ^~~~~~~~~~~~~~ ./nanojit/NativeX64.cpp:2026:14: warning: cast from 'NIns *' (aka 'unsigned char *') to 'int32_t *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] ((int32_t*)next)[-1] = int32_t(target - next); ^~~~~~~~~~~~~~ In file included from jsbuiltins.cpp:46: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbuiltins.cpp:46: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbuiltins.cpp:46: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsbuiltins.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbuiltins.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbuiltins.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from jsbuiltins.cpp:48: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsbuiltins.cpp:48: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbuiltins.cpp:48: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbuiltins.cpp:51: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbuiltins.cpp:51: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbuiltins.cpp:51: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from jsbuiltins.cpp:57: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbuiltins.cpp:60: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from jsbuiltins.cpp:64: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from jsbuiltins.cpp:46: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 18 warnings generated. VMPI.cpp c++ -o VMPI.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/VMPI.pp ./nanojit/VMPI.cpp 13 warnings generated. Writer.cpp c++ -o Writer.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Writer.pp ./tracejit/Writer.cpp MethodJIT.cpp c++ -o MethodJIT.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MethodJIT.pp ./methodjit/MethodJIT.cpp In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./tracejit/Writer.cpp:42: In file included from ./jscompartment.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./tracejit/Writer.cpp:43: ./tracejit/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 11 warnings generated. StubCalls.cpp c++ -o StubCalls.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCalls.pp ./methodjit/StubCalls.cpp In file included from ./methodjit/MethodJIT.cpp:42: In file included from ./jstracer.h:53: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MethodJIT.cpp:42: In file included from ./jstracer.h:53: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MethodJIT.cpp:42: In file included from ./jstracer.h:53: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MethodJIT.cpp:42: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MethodJIT.cpp:43: In file included from ./methodjit/BaseAssembler.h:47: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MethodJIT.cpp:43: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCalls.cpp:41: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MethodJIT.cpp:43: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/StubCalls.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MethodJIT.cpp:43: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MethodJIT.cpp:43: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCalls.cpp:42: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCalls.cpp:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCalls.cpp:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCalls.cpp:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ ./methodjit/MethodJIT.cpp:187:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x38); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:192:5: warning: meaningless 'volatile' on asm outside function asm volatile ( ~^~~~~~~~ ./methodjit/MethodJIT.cpp:239:5: warning: meaningless 'volatile' on asm outside function asm volatile ( ~^~~~~~~~ ./methodjit/MethodJIT.cpp:259:5: warning: meaningless 'volatile' on asm outside function asm volatile ( ~^~~~~~~~ ./methodjit/MethodJIT.cpp:282:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x38); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./methodjit/MethodJIT.cpp:284:5: warning: meaningless 'volatile' on asm outside function asm volatile ( ~^~~~~~~~ ./methodjit/MethodJIT.cpp:818:12: warning: cast from 'char *' to 'js::mjit::NativeMapEntry *' increases required alignment from 1 to 8 [-Wcast-align] return (NativeMapEntry *)((char*)this + sizeof(JITScript)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:831:12: warning: cast from 'char *' to 'ic::GetGlobalNameIC *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::GetGlobalNameIC *)nmapSectionLimit(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:837:12: warning: cast from 'char *' to 'ic::SetGlobalNameIC *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::SetGlobalNameIC *)((char *)nmapSectionLimit() + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:844:12: warning: cast from 'char *' to 'ic::CallICInfo *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::CallICInfo *)((char *)setGlobalNames() + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:851:12: warning: cast from 'char *' to 'ic::EqualityICInfo *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::EqualityICInfo *)((char *)callICs() + sizeof(ic::CallICInfo) * nCallICs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:857:12: warning: cast from 'char *' to 'ic::TraceICInfo *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::TraceICInfo *)((char *)equalityICs() + sizeof(ic::EqualityICInfo) * nEqualityICs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:877:12: warning: cast from 'char *' to 'ic::GetElementIC *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::GetElementIC *)monoICSectionsLimit(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:883:12: warning: cast from 'char *' to 'ic::SetElementIC *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::SetElementIC *)((char *)getElems() + sizeof(ic::GetElementIC) * nGetElems); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:889:12: warning: cast from 'char *' to 'ic::PICInfo *' increases required alignment from 1 to 8 [-Wcast-align] return (ic::PICInfo *)((char *)setElems() + sizeof(ic::SetElementIC) * nSetElems); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MethodJIT.cpp:908:12: warning: cast from 'char *' to 'js::mjit::CallSite *' increases required alignment from 1 to 4 [-Wcast-align] return (js::mjit::CallSite *)polyICSectionsLimit(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MethodJIT.cpp:39: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/StubCalls.cpp:53: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/StubCalls.cpp:53: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/StubCalls.cpp:53: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCalls.cpp:53: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 39 warnings generated. Compiler.cpp c++ -o Compiler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Compiler.pp ./methodjit/Compiler.cpp In file included from ./methodjit/StubCalls.cpp:55: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCalls.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.cpp:43: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Compiler.cpp:43: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Compiler.cpp:43: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Compiler.cpp:45: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/Compiler.cpp:47: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/Compiler.cpp:47: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/Compiler.cpp:47: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:47: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:58: ./methodjit/InlineFrameAssembler.h:135:39: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.sp)), newfp); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:316:59: warning: using extended field designator is an extension [-Wextended-offsetof] stubcc.masm.storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:478:31: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::mjit::NativeMapEntry *' increases required alignment from 1 to 8 [-Wcast-align] NativeMapEntry *jitNmap = (NativeMapEntry *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:497:44: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::GetGlobalNameIC *' increases required alignment from 1 to 8 [-Wcast-align] ic::GetGlobalNameIC *getGlobalNames_ = (ic::GetGlobalNameIC *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:512:44: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::SetGlobalNameIC *' increases required alignment from 1 to 8 [-Wcast-align] ic::SetGlobalNameIC *setGlobalNames_ = (ic::SetGlobalNameIC *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:545:34: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::CallICInfo *' increases required alignment from 1 to 8 [-Wcast-align] ic::CallICInfo *jitCallICs = (ic::CallICInfo *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:604:42: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::EqualityICInfo *' increases required alignment from 1 to 8 [-Wcast-align] ic::EqualityICInfo *jitEqualityICs = (ic::EqualityICInfo *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:625:36: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::TraceICInfo *' increases required alignment from 1 to 8 [-Wcast-align] ic::TraceICInfo *jitTraceICs = (ic::TraceICInfo *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:665:37: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::GetElementIC *' increases required alignment from 1 to 8 [-Wcast-align] ic::GetElementIC *jitGetElems = (ic::GetElementIC *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:693:37: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::SetElementIC *' increases required alignment from 1 to 8 [-Wcast-align] ic::SetElementIC *jitSetElems = (ic::SetElementIC *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:733:28: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'ic::PICInfo *' increases required alignment from 1 to 8 [-Wcast-align] ic::PICInfo *jitPics = (ic::PICInfo *)cursor; ^~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:768:25: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'double *' increases required alignment from 1 to 8 [-Wcast-align] double *doubleVec = (double *)(result + doubleOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:801:30: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::mjit::CallSite *' increases required alignment from 1 to 4 [-Wcast-align] CallSite *jitCallSites = (CallSite *)cursor; ^~~~~~~~~~~~~~~~~~ ./methodjit/Compiler.cpp:2322:23: warning: using extended field designator is an extension [-Wextended-offsetof] Address flag(reg, offsetof(JSThread, data.interruptFlags)); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2360:31: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.fp)), JSFrameReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2443:42: warning: using extended field designator is an extension [-Wextended-offsetof] stubcc.masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.fp)), JSFrameReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2472:35: warning: using extended field designator is an extension [-Wextended-offsetof] FrameAddress(offsetof(VMFrame, u.call.lazyArgsObj))); ^ ~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2713:45: warning: using extended field designator is an extension [-Wextended-offsetof] stubcc.masm.load32(FrameAddress(offsetof(VMFrame, u.call.dynamicArgc)), JSParamReg_Argc); ^ ~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2714:42: warning: using extended field designator is an extension [-Wextended-offsetof] stubcc.masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.fp)), JSFrameReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/Compiler.cpp:2813:31: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.fp)), JSFrameReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Compiler.cpp:42: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/Compiler.cpp:58: ./methodjit/InlineFrameAssembler.h:79:17: warning: private field 'pc' is not used [-Wunused-private-field] jsbytecode *pc; // bytecode location at the caller call site ^ 23 warnings generated. FrameState.cpp c++ -o FrameState.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FrameState.pp ./methodjit/FrameState.cpp 38 warnings generated. FastArithmetic.cpp c++ -o FastArithmetic.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastArithmetic.pp ./methodjit/FastArithmetic.cpp In file included from ./methodjit/FastArithmetic.cpp:41: In file included from ./jsbool.h:47: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastArithmetic.cpp:41: In file included from ./jsbool.h:47: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastArithmetic.cpp:41: In file included from ./jsbool.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastArithmetic.cpp:43: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastArithmetic.cpp:43: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ /usr/include/stddef.h:In file included from ./methodjit/FastArithmetic.cpp:43: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FrameState.cpp:39: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.cpp:39: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastArithmetic.cpp:44: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:44: In file included from ./methodjit/MachineRegs.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastArithmetic.cpp:45: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastArithmetic.cpp:45: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/FastArithmetic.cpp:45: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FrameState.cpp:40: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastArithmetic.cpp:45: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastArithmetic.cpp:45: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/FrameState.cpp:98:15: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::mjit::FrameEntry *' increases required alignment from 1 to 8 [-Wcast-align] entries = (FrameEntry *)cursor; ^~~~~~~~~~~~~~~~~~~~ ./methodjit/FrameState.cpp:108:23: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::mjit::FrameEntry **' increases required alignment from 1 to 8 [-Wcast-align] tracker.entries = (FrameEntry **)cursor; ^~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FrameState.cpp:39: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/FastArithmetic.cpp:41: In file included from ./jsbool.h:48: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 24 warnings generated. FastOps.cpp c++ -o FastOps.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/FastOps.pp ./methodjit/FastOps.cpp In file included from ./methodjit/FastOps.cpp:40: In file included from ./jsbool.h:47: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastOps.cpp:40: In file included from ./jsbool.h:47: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastOps.cpp:40: In file included from ./jsbool.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastOps.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastOps.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastOps.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastOps.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/FastOps.cpp:41: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastOps.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastOps.cpp:42: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastOps.cpp:44: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastOps.cpp:44: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/FastOps.cpp:44: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 22 warnings generated. StubCompiler.cpp c++ -o StubCompiler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/StubCompiler.pp ./methodjit/StubCompiler.cpp In file included from ./methodjit/FastOps.cpp:46: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/FastOps.cpp:50: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22:In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.hIn file included from ./methodjit/FastOps.cpp:50: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ :449In file included from ./methodjit/FastOps.cpp:50: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ :34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/FastOps.cpp:40: In file included from ./jsbool.h:48: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:44: In file included from ./methodjit/MachineRegs.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCompiler.cpp:42: In file included from ./methodjit/StubCompiler.h:47: In file included from ./methodjit/FrameState.h:46: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/StubCompiler.cpp:41: In file included from ./methodjit/StubCalls.h:44: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 43 warnings generated. MonoIC.cpp c++ -o MonoIC.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MonoIC.pp ./methodjit/MonoIC.cpp 22 warnings generated. PolyIC.cpp c++ -o PolyIC.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/PolyIC.pp ./methodjit/PolyIC.cpp In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/MonoIC.cpp:41: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MonoIC.cpp:41: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/MonoIC.cpp:41: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/MonoIC.cpp:42: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:46: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/MonoIC.cpp:42: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:52: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2:In file included from ./methodjit/MonoIC.cpp:42: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ note: In file included from ./methodjit/MonoIC.cpp:42: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:52: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:52: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 22 warnings generated. ImmutableSync.cpp c++ -o ImmutableSync.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ImmutableSync.pp ./methodjit/ImmutableSync.cpp InvokeHelpers.cpp c++ -o InvokeHelpers.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/InvokeHelpers.pp ./methodjit/InvokeHelpers.cpp In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: In file included from In file included from ./methodjit/MonoIC.cpp:52: ./methodjit/InlineFrameAssembler.h:135:39: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.sp)), newfp); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/MonoIC.cpp:653:48: warning: using extended field designator is an extension [-Wextended-offsetof] masm.storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:659:38: warning: using extended field designator is an extension [-Wextended-offsetof] masm.load32(FrameAddress(offsetof(VMFrame, u.call.dynamicArgc)), Registers::ArgReg1); ^ ~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:662:35: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.fp)), JSFrameReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:675:38: warning: using extended field designator is an extension [-Wextended-offsetof] masm.load32(FrameAddress(offsetof(VMFrame, u.call.dynamicArgc)), JSParamReg_Argc); ^ ~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:841:37: warning: using extended field designator is an extension [-Wextended-offsetof] FrameAddress(offsetof(VMFrame, regs.pc))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:847:44: warning: using extended field designator is an extension [-Wextended-offsetof] masm.storePtr(t0, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:851:48: warning: In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) using extended field designator is an extension [-Wextended-offsetof]./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ masm.storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:873:38: warning: using extended field designator is an extension [-Wextended-offsetof] masm.load32(FrameAddress(offsetof(VMFrame, u.call.dynamicArgc)), argcReg.reg()); ^ ~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/MonoIC.cpp:874:39: warning: using extended field designator is an extension [-Wextended-offsetof] masm.loadPtr(FrameAddress(offsetof(VMFrame, regs.sp)), vpReg); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:50: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.hIn file included from ./methodjit/MonoIC.cpp:40: In file included from ./jsscope.h:52: In file included from ./jscntxt.h:59: :294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/MonoIC.cpp:52: ./methodjit/InlineFrameAssembler.h:79:17: warning: private field 'pc' is not used [-Wunused-private-field] jsbytecode *pc; // bytecode location at the caller call site ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/PolyIC.cpp:1740:11: warning: unused variable 'rval' [-Wunused-variable] Value rval = f.regs.sp[-1]; ^ ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/InvokeHelpers.cpp:41: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/InvokeHelpers.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/PolyIC.cpp:39: In file included from ./methodjit/PolyIC.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/InvokeHelpers.cpp:42: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/InvokeHelpers.cpp:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/InvokeHelpers.cpp:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/InvokeHelpers.cpp:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/InvokeHelpers.cpp:55: In file included from ./jstracer.h:56: ./dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/InvokeHelpers.cpp:57: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/InvokeHelpers.cpp:57: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/InvokeHelpers.cpp:57: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/InvokeHelpers.cpp:57: In file included from ./methodjit/MonoIC.h:48: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./methodjit/InvokeHelpers.cpp:731:16: warning: initialization of pointer of type 'void *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from ./methodjit/InvokeHelpers.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 33 warnings generated. Retcon.cpp c++ -o Retcon.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Retcon.pp ./methodjit/Retcon.cpp 24 warnings generated. TrampolineCompiler.cpp c++ -o TrampolineCompiler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/TrampolineCompiler.pp ./methodjit/TrampolineCompiler.cpp In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/TrampolineCompiler.cppIn file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ :./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ note: expanded from macro 'offsetof'./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:46: ./jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:63: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:581:50: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(ClobberInCall, FrameAddress(offsetof(VMFrame, regs.sp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:63: ./methodjit/BaseAssembler.h:594:43: warning: using extended field designator is an extension [-Wextended-offsetof] storePtr(JSFrameReg, FrameAddress(offsetof(VMFrame, regs.fp))); ^ ~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/TrampolineCompiler.cpp:41: In file included from ./methodjit/TrampolineCompiler.h:45: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:45: In file included from ./methodjit/RematInfo.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ In file included from ./methodjit/Retcon.cpp:43: In file included from ./methodjit/Retcon.h:49: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 22 warnings generated. checks.cc c++ -o checks.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc 22 warnings generated. conversions.cc c++ -o conversions.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp ./v8-dtoa/conversions.cc diy-fp.cc c++ -o diy-fp.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.pp ./v8-dtoa/diy-fp.cc ./v8-dtoa/conversions.cc:50:11: warning: generic selections are a C11-specific feature [-Wc11-extensions] switch (fpclassify(v)) { ^ /usr/include/math.h:114:2: note: expanded from macro 'fpclassify' __fp_type_select(x, __fpclassifyf, __fpclassifyd, __fpclassifyl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 1 warning generated. v8-dtoa.cc c++ -o v8-dtoa.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/v8-dtoa.pp ./v8-dtoa/v8-dtoa.cc fast-dtoa.cc c++ -o fast-dtoa.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.pp ./v8-dtoa/fast-dtoa.cc platform.cc c++ -o platform.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/platform.pp ./v8-dtoa/platform.cc 23 warnings generated. utils.cc c++ -o utils.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/utils.pp ./v8-dtoa/utils.cc Assertions.cpp c++ -o Assertions.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assertions.pp ./assembler/wtf/Assertions.cpp ExecutableAllocatorPosix.cpp c++ -o ExecutableAllocatorPosix.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.pp ./assembler/jit/ExecutableAllocatorPosix.cpp ExecutableAllocatorWin.cpp c++ -o ExecutableAllocatorWin.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorWin.pp ./assembler/jit/ExecutableAllocatorWin.cpp ExecutableAllocatorOS2.cpp c++ -o ExecutableAllocatorOS2.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorOS2.pp ./assembler/jit/ExecutableAllocatorOS2.cpp ExecutableAllocator.cpp c++ -o ExecutableAllocator.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.pp ./assembler/jit/ExecutableAllocator.cpp ARMAssembler.cpp c++ -o ARMAssembler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.pp ./assembler/assembler/ARMAssembler.cpp Logging.cpp c++ -o Logging.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Logging.pp ./methodjit/Logging.cpp MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.pp ./assembler/assembler/MacroAssemblerARM.cpp MacroAssemblerX86Common.cpp c++ -o MacroAssemblerX86Common.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.pp ./assembler/assembler/MacroAssemblerX86Common.cpp RegexCompiler.cpp c++ -o RegexCompiler.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexCompiler.pp ./yarr/yarr/RegexCompiler.cpp In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./yarr/yarr/RegexCompiler.cpp:27: In file included from ./yarr/yarr/RegexCompiler.h:29: In file included from ./yarr/yarr/RegexParser.h:30: In file included from ./yarr/wtf/ASCIICType.h:32: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/yarr/RegexCompiler.cpp:27: In file included from ./yarr/yarr/RegexCompiler.h:29: In file included from ./yarr/yarr/RegexParser.h:30: In file included from ./yarr/wtf/ASCIICType.h:32: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/yarr/RegexCompiler.cpp:27: In file included from ./yarr/yarr/RegexCompiler.h:29: In file included from ./yarr/yarr/RegexParser.h:30: In file included from ./yarr/wtf/ASCIICType.h:32: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6:./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./methodjit/Logging.cpp:46: In file included from ./methodjit/MethodJIT.h:42: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./yarr/yarr/RegexCompiler.cpp:27: In file included from ./yarr/yarr/RegexCompiler.h:30: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ RegexJIT.cpp c++ -o RegexJIT.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexJIT.pp ./yarr/yarr/RegexJIT.cpp 10 warnings generated. pcre_compile.cpp c++ -o pcre_compile.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_compile.pp ./yarr/pcre/pcre_compile.cpp In file included from ./yarr/pcre/pcre_compile.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/pcre/pcre_compile.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/yarr/RegexJIT.cpp:26: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from ./yarr/pcre/pcre_compile.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./yarr/yarr/RegexJIT.cpp:26: In file included from ./yarr/yarr/RegexJIT.h:34: In file included from ./yarr/yarr/RegexPattern.h:30: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/yarr/RegexJIT.cpp:26: In file included from ./yarr/yarr/RegexJIT.h:34: In file included from ./yarr/yarr/RegexPattern.h:30: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/yarr/RegexJIT.cpp:26: In file included from ./yarr/yarr/RegexJIT.h:34: In file included from ./yarr/yarr/RegexPattern.h:30: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./yarr/yarr/RegexJIT.cpp:26: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ 4 warnings generated. pcre_exec.cpp c++ -o pcre_exec.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_exec.pp ./yarr/pcre/pcre_exec.cpp In file included from ./yarr/pcre/pcre_exec.cpp:45: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/pcre/pcre_exec.cpp:45: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_exec.cpp:45: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./yarr/pcre/pcre_exec.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_exec.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_exec.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_exec.cpp:51: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 5 warnings generated. pcre_tables.cpp c++ -o pcre_tables.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_tables.pp ./yarr/pcre/pcre_tables.cpp In file included from ./yarr/pcre/pcre_exec.cpp:51: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./yarr/pcre/pcre_exec.cpp:51: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./yarr/pcre/pcre_tables.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/pcre/pcre_tables.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_tables.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 4 warnings generated. pcre_xclass.cpp c++ -o pcre_xclass.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_xclass.pp ./yarr/pcre/pcre_xclass.cpp 8 warnings generated. pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_ucp_searchfuncs.pp ./yarr/pcre/pcre_ucp_searchfuncs.cpp In file included from ./yarr/pcre/pcre_xclass.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/pcre/pcre_xclass.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./yarr/pcre/pcre_xclass.cpp:43: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h4 warnings generated. :62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ jsperf.cpp c++ -o jsperf.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.pp ./perf/jsperf.cpp In file included from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: In file included from ./yarr/pcre/pcre_internal.h:72: In file included from ./yarr/pcre/pcre.h:45: In file included from ./yarr/jswtfbridge.h:48: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 4 warnings generated. pm_stub.cpp c++ -o pm_stub.o -c -fvisibility=hidden -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -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 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_stub.pp ./perf/pm_stub.cpp In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ./jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from ./perf/jsperf.cpp:40: In file included from ./jscntxt.h:62: ./jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from ./perf/jsperf.cpp:40: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./perf/jsperf.cpp:40: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. 10 warnings generated. 10 warnings generated. dtrace -x nolibs -G -C -s ./javascript-trace.d -o mozjs185-dtrace.o 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 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++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fno-omit-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 mozjs185-dtrace.o -pthread -fstack-protector -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -Wl,-soname,libmozjs185.so.1.0 -lelf -lm -pthread chmod +x libmozjs185.so /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' js.cpp c++ -o js.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.pp js.cpp In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from js.cpp:66: In file included from ../jsemit.h:49: ../jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from js.cpp:71: ../jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from js.cpp:71: ../jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from js.cpp:71: ../jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from js.cpp:77: In file included from ../jstracer.h:56: ../dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from js.cpp:95: ../jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ../jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ../jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ../jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-pointer-cast] setPrivate((void*) length); ^ js.cpp:1526:13: warning: cast from 'JSDHashEntryHdr *' to 'JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSDHashEntryStub *) ^~~~~~~~~~~~~~~~~~~~ js.cpp:2726:9: warning: variable 'obj' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] if (argc != 0 && !JS_ValueToObject(cx, JS_ARGV(cx, vp)[0], &obj)) ^~~~~~~~~ js.cpp:2728:23: note: uninitialized use occurs here JS_ClearScope(cx, obj); ^~~ js.cpp:2726:9: note: remove the '&&' if its condition is always true if (argc != 0 && !JS_ValueToObject(cx, JS_ARGV(cx, vp)[0], &obj)) ^~~~~~~~~~~~ js.cpp:2725:18: note: initialize the variable 'obj' to silence this warning JSObject *obj; ^ = NULL In file included from js.cpp:58: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: ../jsstr.h:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ js.cpp:259:12: warning: private field 'mThrow' is not used [-Wunused-private-field] JSBool mThrow; ^ 21 warnings generated. c++ -o js -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O js.o -pthread -fstack-protector -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L../dist/bin -L../dist/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lreadline ../libjs_static.a ../mozjs185-dtrace.o -lelf /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 js ../dist/bin /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 js .. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' tests.cpp c++ -o tests.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/tests.pp tests.cpp testBug604087.cpp selfTest.cpp c++ -o testBug604087.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testBug604087.pp testBug604087.cpp c++ -o selfTest.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/selfTest.pp selfTest.cpp testClassGetter.cpp c++ -o testClassGetter.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testClassGetter.pp testClassGetter.cpp testCloneScript.cpp c++ -o testCloneScript.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCloneScript.pp testCloneScript.cpp testConservativeGC.cpp c++ -o testConservativeGC.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testConservativeGC.pp testConservativeGC.cpp testContexts.cpp c++ -o testContexts.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testContexts.pp testContexts.cpp In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testBug604087.cpp:In file included from testConservativeGC.cpp:2: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' In file included from #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: In file included from ../jscntxt.h:62: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ testConservativeGC.cpp:2: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ testDebugger.cpp c++ -o testDebugger.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDebugger.pp testDebugger.cpp In file included from testConservativeGC.cpp:3: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testBug604087.cpp:8: In file included from ../jswrapper.h:46: In file included from ../jsproxy.h:46: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testDeepFreeze.cpp c++ -o testDeepFreeze.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDeepFreeze.pp testDeepFreeze.cpp In file included from testDebugger.cpp:6: In file included from ../jsdbgapi.h:47: In file included from ../jsopcode.h:51: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testDebugger.cpp:6: In file included from ../jsdbgapi.h:47: In file included from ../jsopcode.h:51: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 4 warnings generated. testDefineGetterSetterNonEnumerable.cpp c++ -o testDefineGetterSetterNonEnumerable.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineGetterSetterNonEnumerable.pp testDefineGetterSetterNonEnumerable.cpp 10 warnings generated. testDefineProperty.cpp c++ -o testDefineProperty.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineProperty.pp testDefineProperty.cpp 2 warnings generated. testExtendedEq.cpp c++ -o testExtendedEq.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExtendedEq.pp testExtendedEq.cpp testFuncCallback.cpp c++ -o testFuncCallback.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFuncCallback.pp testFuncCallback.cpp In file included from testExtendedEq.cpp:9: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testExtendedEq.cpp:9: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: testGCChunkAlloc.cpp note: expanded from macro '__offsetof'c++ -o testGCChunkAlloc.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGCChunkAlloc.pp testGCChunkAlloc.cpp #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ testGetPropertyDefault.cpp c++ -o testGetPropertyDefault.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGetPropertyDefault.pp testGetPropertyDefault.cpp In file included from testFuncCallback.cpp:2: In file included from ../jsfun.h:47: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testFuncCallback.cpp:2: In file included from ../jsfun.h:47: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testFuncCallback.cpp:2: In file included from ../jsfun.h:48: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 2 warnings generated. testIntString.cpp c++ -o testIntString.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntString.pp testIntString.cpp In file included from testFuncCallback.cpp:2: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testFuncCallback.cpp:2: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testFuncCallback.cpp:2: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testFuncCallback.cpp:2: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:62: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:62: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:62: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testGCChunkAlloc.cpp:11: In file included from ../jscntxt.h:62: ../jsfun.h:230:16: In file included from testFuncCallback.cpp:3: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testFuncCallback.cpp:3: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testLookup.cpp c++ -o testLookup.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLookup.pp testLookup.cpp In file included from testIntString.cpp:6: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testIntString.cpp:6: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testGCChunkAlloc.cpp:11: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testFuncCallback.cpp:6: In file included from ../jstracer.h:53: ../jsnum.h:94:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isnan(d); ^ /usr/include/math.h:118:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testFuncCallback.cpp:6: In file included from ../jstracer.h:53: ../jsnum.h:117:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return isinf(d); ^ /usr/include/math.h:116:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testFuncCallback.cpp:6: In file included from ../jstracer.h:53: ../jsnum.h:135:12: warning: generic selections are a C11-specific feature [-Wc11-extensions] return signbit(d); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testGCChunkAlloc.cpp:11: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from In file included from testIntString.cpp:6: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ testFuncCallback.cpp:6: In file included from ../jstracer.h:56: ../dist/include/Writer.h:279:38: warning: using extended field designator is an extension [-Wextended-offsetof] static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 14 warnings generated. In file included from testLookup.cpp:6: In file included from ../jsfun.h:47: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testLookup.cpp:6: In file included from ../jsfun.h:47: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 4 warnings generated. testNewObject.cpp c++ -o testNewObject.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testNewObject.pp testNewObject.cpp testOps.cpp c++ -o testOps.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOps.pp testOps.cpp In file included from testLookup.cpp:6: In file included from ../jsfun.h:48: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 10 warnings generated. In file included from testLookup.cpp:6: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ testPropCache.cpp /usr/include/sys/cdefs.h:449:c++ -o testPropCache.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testPropCache.pp testPropCache.cpp 34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testLookup.cpp:6: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testLookup.cpp:6: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testLookup.cpp:6: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ 8 warnings generated. testSameValue.cpp c++ -o testSameValue.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSameValue.pp testSameValue.cpp testScriptObject.cpp c++ -o testScriptObject.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptObject.pp testScriptObject.cpp testSetProperty.cpp c++ -o testSetProperty.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSetProperty.pp testSetProperty.cpp testThreadGC.cpp c++ -o testThreadGC.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreadGC.pp testThreadGC.cpp In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:59: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ testThreads.cpp c++ -o testThreads.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreads.pp testThreads.cpp In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:62: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:62: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:62: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testThreadGC.cpp:10: In file included from ../jscntxt.h:62: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testThreadGC.cpp:10: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testThreadGC.cpp:10: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testTrap.cpp c++ -o testTrap.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTrap.pp testTrap.cpp 10 warnings generated. testUTF8.cpp c++ -o testUTF8.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testUTF8.pp testUTF8.cpp testVersion.cpp c++ -o testVersion.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testVersion.pp testVersion.cpp testXDR.cpp c++ -o testXDR.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testXDR.pp testXDR.cpp In file included from testTrap.cpp:6: In file included from ../jsdbgapi.h:47: In file included from ../jsopcode.h:51: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testTrap.cpp:6: In file included from ../jsdbgapi.h:47: In file included from ../jsopcode.h:51: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testVersion.cpp:2: In file included from ../jsscript.h:46: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testVersion.cpp:2: In file included from testCustomIterator.cpp ../jsscript.h:46: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:c++ -o testCustomIterator.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCustomIterator.pp testCustomIterator.cpp 18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testXDR.cpp:6: In file included from ../jsscript.h:46: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testXDR.cpp:6: In file included from ../jsscript.h:46: In file included from ../jsatom.h:52: In file included from ../jsstr.h:56: In file included from ../jsobj.h:64: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ 2 warnings generated. In file included from testVersion.cpp:2: In file included from ../jsscript.h:46: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testXDR.cpp:6: In file included from ../jsscript.h:46: In file included from ../jsatom.h:52: ../jsstr.h:138:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ../jsstr.h:455:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^ ~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testVersion.cpp:3: In file included from ../jscntxt.h:62: ../jsfun.h:228:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testVersion.cpp:3: In file included from ../jscntxt.h:62: ../jsfun.h:228:51: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testVersion.cpp:3: In file included from ../jscntxt.h:62: ../jsfun.h:229:26: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testVersion.cpp:3: In file included from ../jscntxt.h:62: ../jsfun.h:230:16: warning: using extended field designator is an extension [-Wextended-offsetof] return offsetof(JSFunction, u.nativeOrScript); ^ ~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ In file included from testCustomIterator.cpp:3: ../jsvalue.h:108:23: warning: generic selections are a C11-specific feature [-Wc11-extensions] return (d == 0 && signbit(d)); ^ /usr/include/math.h:138:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^ /usr/include/math.h:86:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ In file included from testCustomIterator.cpp:3: ../jsvalue.h:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] JS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0); ^ ~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ../jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ In file included from testVersion.cpp:3: ../jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testVersion.cpp:3: ../jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 4 warnings generated. 10 warnings generated. c++ -o jsapi-tests -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -pipe -fstack-protector -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 -fstack-protector -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 -lelf /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for `libs'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake tools gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[3]: Nothing to be done for `tools'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[3]: Nothing to be done for `tools'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[3]: Nothing to be done for `tools'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[3]: Nothing to be done for `tools'. gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi gmake[1]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' =========================================================================== ====>> Checking for filesystem violations... done =================================================== =========================================================================== =================================================== ===> Staging for spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so.1) ===> Generating temporary packing list gmake[1]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/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/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/libdata/pkgconfig /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /wrkdirs/usr/ports/lang/spidermonkey185/work/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 /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/javascript-trace.h ./perf/jsperf.h /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/include/js /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -t js-config /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/bin /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib mv -f /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1.0.0 ln -s /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1.0.0 /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1.0 ln -s /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1.0 /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so gmake[1]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' /bin/ln -sf libmozjs185.so.1.0.0 /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so /bin/ln -sf libmozjs185.so.1.0.0 /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1 /bin/ln -sf libmozjs185.so.1.0.0 /wrkdirs/usr/ports/lang/spidermonkey185/work/stage/usr/local/lib/libmozjs185.so.1.0 ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) Warning: 'lib/libmozjs185.so.1.0.0' is not stripped consider using ${STRIP_CMD} ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done =================================================== ===> Building package for spidermonkey185-1.8.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Installing for spidermonkey185-1.8.5_2 ===> spidermonkey185-1.8.5_2 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so.1) ===> Checking if spidermonkey185 already installed ===> Registering installation for spidermonkey185-1.8.5_2 =========================================================================== ====>> Checking shared library dependencies libc++.so.1 => /usr/lib/libc++.so.1 (0x8023c1000) libc.so.7 => /lib/libc.so.7 (0x80081d000) libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x80267c000) libelf.so.1 => /usr/lib/libelf.so.1 (0x801f86000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802abb000) libm.so.5 => /lib/libm.so.5 (0x80219b000) libnspr4.so.1 => /usr/local/lib/libnspr4.so.1 (0x801d4b000) libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x801b15000) libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x8018e0000) libthr.so.3 => /lib/libthr.so.3 (0x802896000) =================================================== ===> Deinstalling for spidermonkey185 ===> Deinstalling spidermonkey185-1.8.5_2 Updating database digests format... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: spidermonkey185-1.8.5_2 The operation will free 5 MB [100amd64-default] [1/1] Deleting spidermonkey185-1.8.5_2... done =========================================================================== ====>> Checking for extra files and directories ====>> Installing from package [100amd64-default] Installing spidermonkey185-1.8.5_2... done ====>> Cleaning up ===> Cleaning for spidermonkey185-1.8.5_2 ====>> Deinstalling package Updating database digests format... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: spidermonkey185-1.8.5_2 The operation will free 5 MB [100amd64-default] [1/1] Deleting spidermonkey185-1.8.5_2... done build of /usr/ports/lang/spidermonkey185 ended at Wed Aug 12 23:35:29 UTC 2014 build time: 00:01:37