build started at Sat Dec 1 02:48:42 UTC 2012 port directory: /usr/ports/lang/spidermonkey185 building for: 10.0-CURRENT amd64 maintained by: koobs.freebsd@gmail.com Makefile ident: $FreeBSD: head/lang/spidermonkey185/Makefile 306012 2012-10-17 14:17:47Z kwm $ ---Begin Environment--- OSVERSION=1000025 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HTTP_PROXY=http://10.56.1.1:8080 PKG_EXT=txz FORCE_PACKAGE=yes http_proxy=http://10.56.1.1:8080 tpid=13378 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 delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/local/etc/poudriere.d LOGS=/pdata/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for spidermonkey185-1.8.5_1: DEBUG=off: Enable Debug build GCZEAL=off: Enable Zealous garbage collecting JEMALLOC=off: Use jemalloc as memory allocator METHODJIT=on: Enable method JIT support OPTIMIZE=on: Enable compiler optimizations READLINE=on: Link js shell to system readline library THREADSAFE=on: Enable multiple thread support TRACEJIT=on: Enable tracing JIT support UTF8=off: Treat strings as UTF8 instead of ISO-8859-1 ===> Use 'make config' to modify these settings ---End OPTIONS List--- ================================================= ===> spidermonkey185-1.8.5_1 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 /usr/ports/packages/All/pkg-1.0.2.txz Installing pkg-1.0.2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - not found ===> Verifying install for /usr/local/bin/perl5.14.2 in /usr/ports/lang/perl5.14 ===> Installing existing package /usr/ports/packages/All/perl-5.14.2_2.txz Installing perl-5.14.2_2...Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Spamming /etc/make.conf... Done. done ===> Returning to build of spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - found ===> spidermonkey185-1.8.5_1 depends on executable: zip - not found ===> Verifying install for zip in /usr/ports/archivers/zip ===> Installing existing package /usr/ports/packages/All/zip-3.0.txz Installing zip-3.0... done ===> Returning to build of spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 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 /usr/ports/packages/All/python27-2.7.3_3.txz Installing python27-2.7.3_3... done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /usr/ports/packages/All/gmake-3.82_1.txz Installing gmake-3.82_1... done ===> Returning to build of spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - found ===> spidermonkey185-1.8.5_1 depends on shared library: nspr4 - not found ===> Verifying install for nspr4 in /usr/ports/devel/nspr ===> Installing existing package /usr/ports/packages/All/nspr-4.9.4.txz Installing nspr-4.9.4... done ===> Returning to build of spidermonkey185-1.8.5_1 ====================================================================== ===> Cleaning for spidermonkey185-1.8.5_1 ================================================= ====================================================================== ================================================= ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/sbin/pkg - found => js185-1.0.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: https://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz: Operation timed out => Attempting to fetch http://mirror3.mirrors.tds.net/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://mirror3.mirrors.tds.net/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://mozilla.isc.org/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://mozilla.isc.org/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://releases.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://releases.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://jp-nii01.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://jp-nii01.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://jp-nii02.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://jp-nii02.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://mozilla.mtk.nao.ac.jp/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://mozilla.mtk.nao.ac.jp/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://mirror.internode.on.net/pub/mozilla/js/js185-1.0.0.tar.gz fetch: http://mirror.internode.on.net/pub/mozilla/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://ftp.acc.umu.se/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://ftp.acc.umu.se/pub/mozilla.org/js/js185-1.0.0.tar.gz: Moved Temporarily => Attempting to fetch http://mozilla.c3sl.ufpr.br/releases/js/js185-1.0.0.tar.gz fetch: http://mozilla.c3sl.ufpr.br/releases/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch http://www.gtlib.gatech.edu/pub/mozilla.org/js/js185-1.0.0.tar.gz fetch: http://www.gtlib.gatech.edu/pub/mozilla.org/js/js185-1.0.0.tar.gz: Not Found => Attempting to fetch ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz js185-1.0.0.tar.gz 0 B 0 Bps ====================================================================== ================================================= ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for js185-1.0.0.tar.gz. ====================================================================== ================================================= ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/sbin/pkg - found ===> Extracting for spidermonkey185-1.8.5_1 => SHA256 Checksum OK for js185-1.0.0.tar.gz. ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - found ====================================================================== ================================================= ===> Patching for spidermonkey185-1.8.5_1 ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - found ====================================================================== ================================================= ===> spidermonkey185-1.8.5_1 depends on executable: zip - found ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/python2.7 - found ===> spidermonkey185-1.8.5_1 depends on executable: gmake - found ===> spidermonkey185-1.8.5_1 depends on file: /usr/local/bin/perl5.14.2 - found ===> spidermonkey185-1.8.5_1 depends on shared library: nspr4 - found ===> Configuring for spidermonkey185-1.8.5_1 ===> 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/configure ===> 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/acinclude.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/m4/libtool.m4 configure: warning: x86_64-portbld-freebsd10.0: invalid host type 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... no checking for gawk... no checking for nawk... nawk checking for perl5... /usr/bin/perl5 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) 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 -fno-strict-aliasing ) works... yes checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing ) 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.014002 checking for full perl installation... yes checking for /usr/local/bin/python2.7... /usr/local/bin/python2.7 checking for doxygen... : checking for autoconf... : checking for 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... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for __stdcall... yes checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for stdint.h... yes checking for the size of void*... 8 checking for the alignment of void*... 8 checking for the size of double... 8 checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64... no checking for uint... yes checking for uint_t... no checking for uint16_t... 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... yes checking for sys/bitypes.h... no checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... no checking for nl_types.h... yes checking for malloc.h... no checking for X11/XKBlib.h... no checking for io.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... no checking for sys/vfs.h... no checking for sys/mount.h... yes checking for sys/quota.h... no checking for linux/quota.h... no checking for mmintrin.h... yes checking for new... yes checking for sys/cdefs.h... 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... 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 -pthreads... no checking for pthread_create in -pthread... 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... yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... no checking for memmove... yes checking for random... yes checking for rint... no checking for sbrk... yes checking for snprintf... yes checking for stat64... no checking for statvfs... yes checking for statvfs64... no checking for strerror... 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... no checking for iconv in -liconv... no checking for libiconv in -liconv... no checking for iconv()... no checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... no checking for gcc 3.0 ABI... yes checking for C++ "explicit" keyword... yes checking for C++ "typename" keyword... yes checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes checking whether operators must be re-defined for templates derived from templates... no checking whether we need to cast a derived template to pass as its base class... no checking whether the compiler can resolve const ambiguities for templates... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for "std::" namespace... yes checking whether standard template operator!=() is ambiguous... unambiguous checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for __thread keyword for TLS variables... yes checking for malloc.h... (cached) no checking for malloc/malloc.h... no checking for sys/malloc.h... yes checking for strndup... 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... 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_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_SSIZE_T 1 #define HAVE_STATVFS 1 #define HAVE_STDCALL 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 JS_ALIGN_OF_POINTER 8 #define JS_BITS_PER_WORD_LOG2 6 #define JS_BYTES_PER_DOUBLE 8 #define JS_BYTES_PER_WORD 8 #define JS_CPU_X64 1 #define JS_HAVE_STDINT_H 1 #define JS_METHODJIT 1 #define JS_MONOIC 1 #define JS_POLYIC 1 #define JS_POLYIC_TYPED_ARRAY 1 #define JS_PUNBOX64 1 #define JS_THREADSAFE 1 #define JS_TRACER 1 #define MALLOC_H #define MOZ_DLL_SUFFIX ".so" #define NEW_H #define NS_ALWAYS_INLINE #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 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 -lm -pthread |' \ -e 's|@MOZ_JS_LIBS@|-L/usr/local/lib -lmozjs185|' \ && mv js-config.tmp js-config && chmod +x js-config 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_1 gmake export gmake[1]: 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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DOSTYPE=\"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 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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr jskwgen.cpp gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' nsinstall.c pathsub.c cc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/local/include/nspr -I/usr/local/include/nspr nsinstall.c cc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -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) ^ 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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o 1 warning generated. cc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -pthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib host_nsinstall.o host_pathsub.o ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' ./host_jskwgen /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi /usr/bin/perl5 ./preprocessor.pl -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -DX_DISPLAY_MISSING=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_METHODJIT=1 -DJS_MONOIC=1 -DJS_POLYIC=1 -DJS_POLYIC_TYPED_ARRAY=1 -DFEATURE_NANOJIT=1 -DJS_TRACER=1 -DAVMPLUS_AMD64=1 -DAVMPLUS_64BIT=1 -DAVMPLUS_UNIX=1 -DSTDC_HEADERS=1 -DHAVE_STDCALL=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_HAVE_STDINT_H=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT16_T=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\ -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STATVFS=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\ -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE= -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DHAVE___CXA_DEMANGLE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ -DBUILD_STATIC_LIBS= \ ./system-headers | /usr/bin/perl5 ./make-system-wrappers.pl system_wrappers_js /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[2]: 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[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[2]: 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[2]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[2]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[2]: Nothing to be done for `export'. gmake[2]: 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 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 ./perf/jsperf.h ./dist/include mkdir -p nanojit gmake[1]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake libs gmake[1]: Entering directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' /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 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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -I/usr/local/include/nspr jsoplengen.cpp 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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp jsarena.cpp jsapi.cpp jsarray.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^~~~ jsbool.cpp jsclone.cpp jscntxt.cpp 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: ./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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp jscompartment.cpp 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: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:398: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: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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 'c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -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 -fno-strict-aliasing -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp 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: ./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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: ./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 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: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'Jjsclone.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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanSded 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: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [In file included from jsanalyze.cpp:42: ./jscompartment.h:372:8: error: visibility does not match previous declaration -struct JS_FRIEND_API(JSCompartment) { ^ W./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' c# define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ ast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14In file included from warningUIn file included from jsatom.cppjsarray.cpp::9051: : In file included from In file included from ./jstracer.h./jsatom.h::4952: : In file included from ./jsstr.h./jscntxt.h::45562:: 16./jsfun.h:: 228warning: :u26s:i nwarning: gu seixntge nedxetde nfdieedl df ideelsdi gdneastiogrn aitso ra ni se xatne nesxitoenn s[i-oWne x[t-eWnedxetde-nodfefds-eotfoffs]e tof] return offsetof(JSString, u.chars); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/usr/include/stddef.h :62:32: note: exp/usr/include/stddef.ha:n62d:e32d: fnote: reoxmp amnadcerdo f'roofmf smeatcorfo' 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:#define offsetof(type, member) __offsetof(type, member)398 : ^34 : note: ex/usr/include/sys/cdefs.hp:a398n:d34e:d note: ferxopma nmdaecdr of r'o_m_ omfafcsreot o'f_'_ offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ s and 1 error generated. gmake[1]: *** [jsanalyze.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^~~~ In file included from pjsatom.cpp:53: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:v16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] ar return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Array *' ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset);increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] 16 return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ca./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] s return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment froIn 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] m 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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));1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:229:26: warning: using extended field designator is an extension [-Wextended-offseIn file included from tof] 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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:294:18: warning: using extended field designator is an extension [-Wextended-offsetof] 62JS_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:398:34: note: expanded from macro '__offsetof' : #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: note: expanded from macro 'JS_STATIC_ASSERT' ./jsfun.h typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^~~~ :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:398:34: note: expanded from macIn file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] r return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o '__of./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset);fsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from mac ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ro '__of./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] f return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ seto./jsscript.hf' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ In file included from :jscompartment.cpp514::4116: :In file included from ./jscntxt.hwarning: :c59a: sIn file included from t./jsatom.h :f52r: oIn file included from m./jsstr.h :'56u: iIn file included from n./jsobj.ht:864 : *./jsvalue.h': 294(:a18k:a warning: 'uusnisnigg neexdt ecnhdaerd *f'i)e ltdo d'eJsSiTgrnyaNtootre Airsr aayn *e'x tienncsrieoans e[s- Wreexqtueinrdeedd -aolfifgsnemteonft] fJS_STATIC_ASSERT(offsetof(jsval_layout, s.payload) == 0);r o~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~m /usr/include/stddef.h1: 62t:o32 :8 note: [e-xWpcaansdte-da lfirgonm] m return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset);a c ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r o./jsscript.h :'519o:f16f:s ewarning: tcoafs't #define offsetof(type, member) __offsetof(type, member)f r ^o m/usr/include/sys/cdefs.h :'398u:i34n:t 8note: e*x'p a(nadkead 'furnosmi gmnaecdr oc h'a_r_ o*f'f)s ettoo f''j s#define __offsetof(type, field) __builtin_offsetof(type, field): : ^G l./jsutil.ho:b120a:l75S:l onote: teAxrpraanyd e*d' firnocmr emaascerso r'eJqSu_iSrTeAdT IaCl_iAgSnSmEeRnTt' f typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]r o ^~~~m 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 [-W1c atsot -8a l[i-gWnc]a st-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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: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:398: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: ./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:In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: ./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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90: In file included from ./jstracer.h:55: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNALIn file included from _VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka static const size_t sPayloadOffset = offsetof(jsval_layout, s.payload);' u ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n sig/usr/include/stddef.hn:e62d: 32c:h anote: re x*p'a)n dteod 'fjrso:m: Gmlaocbraol S'looftfAsrertaoyf '* ' increases require#define offsetof(type, member) __offsetof(type, member)d ^a lignm/usr/include/sys/cdefs.he:n398t: 34f:r onote: me x1p atnod e8d [f-rWocma smta-carloi g'n_]_ offsetof' return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:455:16: warning: using extended field designator is aIn file included from n extension [-Wextended-offsetof] return offsetof(JSString, u.chars); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:62:32: note: expanded frjsbool.cppo:m49 : mIn file included from a./jscntxt.hc:r62o: ./jsfun.h':o228f:f26s:e twarning: oufs' ing extended field#define offsetof(type, member) __offsetof(type, member) d ^e signat/usr/include/sys/cdefs.ho:r398 :i34s: anote: ne xepxatnednesdi ofnr o[m- Wmeaxctreon d'e_d_-ooffffsseettooff'] #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398: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:59: In file included from ./jsatom.h:52: ./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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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 jscntxt.cpp:62: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398: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: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsatom.cpp:63: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:45: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ./jsutil.h:120:75: 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsatom.cpp:65: In file included from ./jsobjinlines.h:52: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from jsbool.cpp:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment froIn 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] m ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 jsclone.cpp:39: In file included from ./jsclone.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') tojsapi.cpp 'JS: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 jsbool.cpp:49: ./jscntxt.h:2963:12: warning: cIn file included from jscntxt.cppast from 'uint8 *' (aka 'unsigned :62: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ch ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Context *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar *') to 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); ^ ( ) JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:105: In file included from ./jswrapper.h:46: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from jsatom.cpp:384:13: warning: caIn 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] s return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 toIn 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)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsarray.cppIn file included from jscompartment.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignmIn file included from ent from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:52: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from jscompartment.cpp:42: In file included from ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.hjsatom.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; ^ :177:29: note: expanded from macro 'JS_F18RIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) warnings and 2 errors generated. ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute iIn file included from jsapi.cpp:78: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) {s here #pragma GCC visibility push(hidden) ^ ^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:53: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ ./jstypes.h:177:In file included from jscntxt.cpp:77: In file included from ./jsscope.h:53: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from ma:c105r: o ./jswrapper.h':J51S:_7E:X Perror: OvRiTs_iAbPiIl'i ty does not match# define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type p ^r evi./jstypes.ho:u101s: 42d:e cnote: leaxrpaatnidoend from macro 'JS_EXTERNAL_VIS' class JS_FRIEND_API(JSWrapper) : public js::JSProxyHandler { ^ # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./jstypes.h:./config/gcc_hidden.h177::229::13 :note: enote: xppraenvdieodu sf raotmt rmiabcurtoe 'iJsS _hFeRrIeE ND_API' #pragma GCC visibility push(hidden) ^ #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t)29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ gmake[1]: *** [jsatom.o] Error 1 In file included from jscompartment.cpp:45: ./jsproxy.h:52:7: error: visibility does not match previous de clarati ^o n class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded f./jstypes.hr:o120m: 33m:a cnote: reox p'aJnSd_eFdR IfErNoDm_ AmPaIc'r o 'JS_EXPORT_API#define JS_FRIEND_API(t) JS_PUBLIC_API(t)' ^ ./jstypes.h:167:29: note: expanded from m# define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __typea c ^r o './jstypes.hJ:S101_:P42U:B Lnote: IeCx_pAaPnId'e d from macro# define JS_PUBLIC_API(t) JS_EXPORT_API(t) ' ^J S_E./jstypes.hX:T120E:R33N:A Lnote: _eVxIpSa'n ded from macro 'JS_EXPOR# define JS_EXTERNAL_VIS __attribute__((visibility ("default")))T _ ^A PI' ./config/gcc_hidden.h:2:13# define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type: ^note: pr./jstypes.he:v101i:o42u:s note: aetxtprainbduetde firso mh emraec ro 'JS_EXTERN#pragma GCC visibility push(hidden)A L ^_ VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from 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 jsbool.cpp:58: In file included from ./jsobjinlines.h:52: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from jsapi.cpp:81: In file included from ./jsscope.h:53: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEIn file included from ND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 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 jsarray.cppjsbool.cpp:58: In file included from :./jsobjinlines.h:53: In file included from ./jsscope.h:53: ./jscompartment.h:372:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from mIn 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 105: ./jswrapper.h:120:7: error: visibility does not match previous declaratIn 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: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ In file included from ion class JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { ^ ./jstypes.h:177:29: note: jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: ./jsobjinlines.h:302:20: warning: opexpandede rfartoomr m'a?c:r'o h'aJsS _lFoRwIeErN Dp_rAePcIe'd ence than '+'; '+#define JS_FRIEND_API(t) JS_PUBLIC_API(t)' ^w ill be./jstypes.h :e167v:a29l:u anote: teexdp afnidresdt f[r-oWmp amraecnrtoh e'sJeSs_]P UBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_E + isFun ? sizeof(JSFunction) : sizeof(JSObject);X P ~~~~~~~ ^O RT_API' ./jsobjinlines.h# define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type: 302 ^: 20:./jstypes.h :note: 101p:l42a:c enote: epxapraenndtehde sferso ma rmoaucnrdo t'hJeS _'E+X'T EeRxNpArLe_sVsIiSo'n to silence this warn# define JS_EXTERNAL_VIS __attribute__((visibility ("default")))i n ^g ./config/gcc_hidden.h:2:13: note: previous attribut + isFun ? sizeof(JSFunction) : sizeof(JSObject);e ^i s here ./jsobjinlines.h:302:20: note: place p#pragma GCC visibility push(hidden)a r ^e ntheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) 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); ^ ( ) In file included from jsapi.cpp:88: ./jswrapper.h:51:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSWrapper) : public js::JSProxyHandler { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from jsapi.cpp:88: ./jswrapper.h:120:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 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); ^ ( ) 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; ^ 17 warnings and 2 errors generated. gmake[1]: *** [jsbool.o] Error 1 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 extensionIn file included from [-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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ In file included from jsapi.cpp:94: ./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 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.hthe '+' expressIn 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; ^ 18 warnings and 4 errors generated. ion 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 jscompartment.cpp:48: ./jswrapper.h:51:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSWrapper) : public js::JSProxyHandler { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ :135:22: warning: unused variabIn file included from jscompartment.cpp:48: ./jswrapper.h:120:7: error: visibility does not match previous declaration lclass JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ e '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); ^ gmake[1]: *** [jsarray.o] Error 1 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; ^ 20 warnings and 2 errors generated. gmake[1]: *** [jsclone.o] Error 1 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 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); ^ 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 jscntxt.cpp:90: In file included from ./jsobjinlines.h:52: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(JSProxyHandler) { ^ ./jstypes.h:177:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:167:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:120:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:101:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 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); ^ ( ) 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))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp: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:398: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) ^ /usr/include/sys/cdefs.h:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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) ^ 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:398: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: 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:398: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:398: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:398: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:398: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:398: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:398: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:398: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: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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.h:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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: 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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ jsapi.cpp: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:398: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:398: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:398: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:398: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:398: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) ^ /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof' #define offsetof(type, member) __offsetof(type, member) ^ /usr/include/sys/cdefs.h:398: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:398: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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ jscntxt.cpp:1174:37: warning: cjsapi.cppast from 'const JSDHashEntryHdr *' to 'const JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] : const JSResolvingEntry *entry = (const JSResolvingEntry *)hdr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1804:16: warning: cast from 'char *'jscntxt.cpp:1208:13: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ to 'JSAtom **' ijscntxt.cpp:1243:17: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ ncreases 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))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^ ( ) 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 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; ^ 25 warnings and 2 errors generated. 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:398:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ gmake[1]: *** [jscntxt.o] Error 1 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:398: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:525:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 86 warnings and 4 errors generated. gmake[1]: *** [jsapi.o] Error 1 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; ^ 23 warnings and 4 errors generated. gmake[1]: *** [jscompartment.o] Error 1 gmake[1]: Leaving directory `/wrkdirs/usr/ports/lang/spidermonkey185/work/js-1.8.5/js/src' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/lang/spidermonkey185. ===> Cleaning for spidermonkey185-1.8.5_1 build of /usr/ports/lang/spidermonkey185 ended at Sat Dec 1 02:54:28 UTC 2012