=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for spidermonkey185-1.8.5nb1 /usr/pkg/bin/gmake export gmake[1]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src' /usr/pkg/bin/gmake -C config/ nsinstall clang++ -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/pkg/include/nspr -o jscpucfg jscpucfg.cpp Creating /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/.deps gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' nsinstall.c clang -o host_nsinstall.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr nsinstall.c pathsub.c clang -o host_pathsub.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr pathsub.c pathsub.c:131:27: warning: unused parameter 'dir' [-Wunused-parameter] ino2name(ino_t ino, char *dir) ^ jskwgen.cpp clang++ -o host_jskwgen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -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/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jskwgen.cpp 1 warning generated. clang -o nsinstall -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/pkg/lib host_nsinstall.o host_pathsub.o clang++ -o host_jskwgen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -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/pkg/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./jscpucfg > jsautocfg.tmp gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' mv jsautocfg.tmp jsautocfg.h gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd ./host_jskwgen /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h /var/pkgsrc/work/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/pkg/bin/perl ./preprocessor.pl -DOSTYPE=\"FreeBSD11\" -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_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 -DHAVE_ICONV=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\ -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE= -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/pkg/bin/perl ./make-system-wrappers.pl system_wrappers_js /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline' Creating /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline/.deps gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline' gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell' Creating /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell/.deps gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' Creating /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests/.deps gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[2]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[2]: Nothing to be done for 'export'. gmake[2]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/tests' /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /var/pkgsrc/work/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 '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src' /usr/pkg/bin/gmake libs gmake[1]: Entering directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src' /usr/pkg/bin/python2.7 imacro_asm.py ./imacros.jsasm /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/imacros.c.out jsoplengen.cpp clang++ -o host_jsoplengen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -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/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jsoplengen.cpp /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -D dist/bin/chrome clang++ -o host_jsoplengen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -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/pkg/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsapi.cpp clang++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp jsarena.cpp clang++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp jsanalyze.cpp clang++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:55: In file included from ./jsprvtd.h:57: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsarena.cpp:51: In file included from ./jsprvtd.h:57: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsapi.cpp:56: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ 1 warning generated. jsarray.cpp clang++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp In file included from jsarray.cpp:85: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:148:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ 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:148:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ 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 jsapi.cpp:60: In file included from ./jsbuiltins.h:45: In file included from ./nanojit/nanojit.h:377: ./nanojit/RegAlloc.h:189:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h:189:24: note: insert an explicit cast to silence this issue Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ./nanojit/RegAlloc.h:197:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h:197:24: note: insert an explicit cast to silence this issue Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:148:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h: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 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here GCHelperThread() ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, VALVECTOR) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, IDVECTOR) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, SHAPEVECTOR) ^ 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:737:9: warning: unused typedef 'js_static_assert6' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :302:1: note: expanded from here js_static_assert6 ^ 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:738:9: warning: unused typedef 'js_static_assert7' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :304:1: note: expanded from here js_static_assert7 ^ 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:739:9: warning: unused typedef 'js_static_assert8' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :306:1: note: expanded from here js_static_assert8 ^ 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:740:9: warning: unused typedef 'js_static_assert9' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :308:1: note: expanded from here js_static_assert9 ^ 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:741:9: warning: unused typedef 'js_static_assert10' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :310:1: note: expanded from here js_static_assert10 ^ 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:487:9: warning: unused typedef 'js_static_assert39' [-Wunused-local-typedef] JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :368:1: note: expanded from here js_static_assert39 ^ 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:598:9: warning: unused typedef 'js_static_assert44' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :378:1: note: expanded from here js_static_assert44 ^ 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:596:9: warning: unused typedef 'js_static_assert43' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :376:1: note: expanded from here js_static_assert43 ^ 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:599:9: warning: unused typedef 'js_static_assert45' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :380:1: note: expanded from here js_static_assert45 ^ 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:83:9: warning: unused typedef 'js_static_assert47' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :41:1: note: expanded from here js_static_assert47 ^ 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:84:9: warning: unused typedef 'js_static_assert48' [-Wunused-local-typedef] JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :43:1: note: expanded from here js_static_assert48 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:228:9: warning: unused typedef 'js_static_assert49' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :45:1: note: expanded from here js_static_assert49 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:229:9: warning: unused typedef 'js_static_assert50' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :47:1: note: expanded from here js_static_assert50 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:63: ./jsgc.h:514:5: warning: unused typedef 'js_static_assert58' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :63:1: note: expanded from here js_static_assert58 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:63: ./jsgc.h:550:5: warning: unused typedef 'js_static_assert59' [-Wunused-local-typedef] JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :65:1: note: expanded from here js_static_assert59 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:66: ./jsinterp.h:778:9: warning: unused typedef 'js_static_assert61' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :69:1: note: expanded from here js_static_assert61 ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:66: ./jsinterp.h:779:9: warning: unused typedef 'js_static_assert62' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :71:1: note: expanded from here js_static_assert62 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:48: In file included from ./jsbuiltins.h:45: In file included from ./nanojit/nanojit.h:377: ./nanojit/RegAlloc.h:189:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h:189:24: note: insert an explicit cast to silence this issue Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ./nanojit/RegAlloc.h:197:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h:197:24: note: insert an explicit cast to silence this issue Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) 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 [-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 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 jsapi.cpp:61: In file included from ./jsclone.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 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 jsarray.cpp:90: In file included from ./jstracer.h:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 warnings generated. In file included from jsarray.cpp:101: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsatom.cpp clang++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD11\" -DOSARCH=FreeBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp In file included from jsatom.cpp:50: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsapi.cpp:88: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct [-Wmismatched-tags] class JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { ^ ./jspubtd.h:175:1: note: did you mean class here? struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^~~~~~ class In file included from jsarray.cpp:105: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct [-Wmismatched-tags] class JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { ^ ./dist/include/jspubtd.h:175:1: note: did you mean class here? struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^~~~~~ class 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 the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^ 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); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^ jsarray.cpp:497:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:497:1: note: insert an explicit cast to silence this issue JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:148:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsarray.cpp:2110:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: insert an explicit cast to silence this issue JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:53: 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 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 jsapi.cpp:97: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:34: ./yarr/yarr/RegexPattern.h:136:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ jsarray.cpp:3106:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:341:5: note: expanded from macro 'JS_DEFINE_CALLINFO_2' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:3106:1: note: insert an explicit cast to silence this issue JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:341:5: note: expanded from macro 'JS_DEFINE_CALLINFO_2' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: note: insert an explicit cast to silence this issue JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: note: insert an explicit cast to silence this issue JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~~~~~~~~~ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here GCHelperThread() ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./dist/include/jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./dist/include/jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, VALVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./dist/include/jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./dist/include/jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, IDVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./dist/include/jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./dist/include/jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, SHAPEVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsparse.h:308:39: note: in instantiation of member function 'js::Vector::Vector' requested here : globalObj(globalObj), cg(cg), defs(ContextAllocPolicy(cx)) ^ 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))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsregexp.h:167:14: note: in instantiation of member function 'js::Vector::Vector' requested here explicit RegExpStatics(InitBuffer) : bufferLink(NULL), copied(false) {} ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:114:5: note: in instantiation of member function 'js::Vector::Vector' requested here : cb(cx) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:418:9: note: in instantiation of member function 'js::Vector::Vector' requested here : stack(cx), cur(NULL) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./assembler/jit/ExecutableAllocator.h:412:24: note: in instantiation of member function 'js::Vector::Vector' requested here inline ExecutablePool::ExecutablePool(size_t n) : m_refCount(1), m_destroy(false), m_gcNumber(0) ^ jsapi.cpp:1804:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cppIn file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsobjinlines.h:829:40: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, DESCRIPTORS), descriptors(cx) ^ 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)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./dist/include/jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 26 warnings and 7 errors generated. config/rules.mk:1475: recipe for target 'jsarray.o' failed :1885:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[1]: *** [jsarray.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... jsapi.cpp:1987:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[j].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:3988:16: error: cannot initialize return object of type 'JSIdArray *' with an rvalue of type 'bool' return false; ^~~~~ In file included from jsatom.cpp:57: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here GCHelperThread() ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, VALVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, IDVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, SHAPEVECTOR) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsclone.h:147:42: note: in instantiation of member function 'js::Vector::Vector' requested here : out(out), objs(out.context()), counts(out.context()), ids(out.context()), ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsparse.h:308:39: note: in instantiation of member function 'js::Vector::Vector' requested here : globalObj(globalObj), cg(cg), defs(ContextAllocPolicy(cx)) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsemit.h:550:36: note: in instantiation of member function 'js::Vector::Vector' requested here JSGCConstList(JSContext *cx) : list(cx) {} ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsregexp.h:167:14: note: in instantiation of member function 'js::Vector::Vector' requested here explicit RegExpStatics(InitBuffer) : bufferLink(NULL), copied(false) {} ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:114:5: note: in instantiation of member function 'js::Vector::Vector' requested here : cb(cx) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:418:9: note: in instantiation of member function 'js::Vector::Vector' requested here : stack(cx), cur(NULL) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./assembler/jit/ExecutableAllocator.h:412:24: note: in instantiation of member function 'js::Vector::Vector' requested here inline ExecutablePool::ExecutablePool(size_t n) : m_refCount(1), m_destroy(false), m_gcNumber(0) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsobjinlines.h:829:40: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, DESCRIPTORS), descriptors(cx) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:93:5: note: in instantiation of member function 'js::Vector::Vector' requested here CharacterClass(CharacterClassTable *table) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:93:5: note: in instantiation of member function 'js::Vector::Vector' requested here CharacterClass(CharacterClassTable *table) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:233:5: note: in instantiation of member function 'js::Vector::Vector' requested here PatternAlternative(PatternDisjunction* disjunction) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:282:5: note: in instantiation of member function 'js::Vector::Vector' requested here PatternDisjunction(PatternAlternative* parent = 0) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:321:5: note: in instantiation of member function 'js::Vector::Vector' requested here RegexPattern(bool ignoreCase, bool multiline) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./yarr/yarr/RegexPattern.h:321:5: note: in instantiation of member function 'js::Vector::Vector' requested here RegexPattern(bool ignoreCase, bool multiline) ^ 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 ./dist/include/jsstr.h:56: In file included from ./dist/include/jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ jsapi.cpp:614:12: note: in instantiation of member function 'js::Vector::Vector' requested here JSRuntime::JSRuntime() ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./dist/include/jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 44 warnings and 3 errors generated. config/rules.mk:1475: recipe for target 'jsapi.o' failed gmake[1]: *** [jsapi.o] Error 1 In file included from jsatom.cpp:65: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^ jsatom.cpp:384:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(state); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsatom.cpp:864:9: warning: cast to 'void *' from smaller integer type 'jsuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast] ALE_SET_INDEX(ale, count++); ^ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here GCHelperThread() ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, VALVECTOR) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, IDVECTOR) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, tag), vector(cx) ^ ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here : AutoVectorRooter(cx, SHAPEVECTOR) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsparse.h:308:39: note: in instantiation of member function 'js::Vector::Vector' requested here : globalObj(globalObj), cg(cg), defs(ContextAllocPolicy(cx)) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsregexp.h:167:14: note: in instantiation of member function 'js::Vector::Vector' requested here explicit RegExpStatics(InitBuffer) : bufferLink(NULL), copied(false) {} ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:114:5: note: in instantiation of member function 'js::Vector::Vector' requested here : cb(cx) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsstrinlines.h:418:9: note: in instantiation of member function 'js::Vector::Vector' requested here : stack(cx), cur(NULL) ^ 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:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsobjinlines.h:829:40: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, DESCRIPTORS), descriptors(cx) ^ 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:737:9: warning: unused typedef 'js_static_assert6' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSValueType) == 1); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :302:1: note: expanded from here js_static_assert6 ^ 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:738:9: warning: unused typedef 'js_static_assert7' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :304:1: note: expanded from here js_static_assert7 ^ 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:739:9: warning: unused typedef 'js_static_assert8' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSBool) == 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :306:1: note: expanded from here js_static_assert8 ^ 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:740:9: warning: unused typedef 'js_static_assert9' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :308:1: note: expanded from here js_static_assert9 ^ 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:741:9: warning: unused typedef 'js_static_assert10' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jsval) == 8); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :310:1: note: expanded from here js_static_assert10 ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:487:9: warning: unused typedef 'js_static_assert39' [-Wunused-local-typedef] JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :368:1: note: expanded from here js_static_assert39 ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:598:9: warning: unused typedef 'js_static_assert44' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :378:1: note: expanded from here js_static_assert44 ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:596:9: warning: unused typedef 'js_static_assert43' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :376:1: note: expanded from here js_static_assert43 ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:599:9: warning: unused typedef 'js_static_assert45' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :380:1: note: expanded from here js_static_assert45 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:83:9: warning: unused typedef 'js_static_assert47' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :41:1: note: expanded from here js_static_assert47 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:84:9: warning: unused typedef 'js_static_assert48' [-Wunused-local-typedef] JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :43:1: note: expanded from here js_static_assert48 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: ./jsfun.h:229:9: warning: unused typedef 'js_static_assert50' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :47:1: note: expanded from here js_static_assert50 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:62: ./jsfun.h:228:9: warning: unused typedef 'js_static_assert49' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :45:1: note: expanded from here js_static_assert49 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:63: ./jsgc.h:514:5: warning: unused typedef 'js_static_assert58' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :63:1: note: expanded from here js_static_assert58 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:63: ./jsgc.h:550:5: warning: unused typedef 'js_static_assert59' [-Wunused-local-typedef] JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :65:1: note: expanded from here js_static_assert59 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:66: ./jsinterp.h:779:9: warning: unused typedef 'js_static_assert62' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :71:1: note: expanded from here js_static_assert62 ^ In file included from jsatom.cpp:53: In file included from ./jscntxt.h:66: ./jsinterp.h:778:9: warning: unused typedef 'js_static_assert61' [-Wunused-local-typedef] JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :69:1: note: expanded from here js_static_assert61 ^ In file included from jsatom.cpp:63: ./jsstrinlines.h:202:5: warning: unused typedef 'js_static_assert65' [-Wunused-local-typedef] JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :167:1: note: expanded from here js_static_assert65 ^ In file included from jsatom.cpp:63: ./jsstrinlines.h:303:5: warning: unused typedef 'js_static_assert66' [-Wunused-local-typedef] JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :169:1: note: expanded from here js_static_assert66 ^ In file included from jsatom.cpp:65: In file included from ./jsobjinlines.h:53: ./jsscope.h:431:9: warning: unused typedef 'js_static_assert67' [-Wunused-local-typedef] JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' #define JS_STATIC_ASSERT_GLUE1(x,y) x##y ^ :171:1: note: expanded from here js_static_assert67 ^ In file included from jsatom.cpp:51: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 45 warnings generated. gmake[1]: Leaving directory '/var/pkgsrc/work/lang/spidermonkey185/work/js-1.8.5/js/src' config/rules.mk:753: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/lang/spidermonkey185 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/spidermonkey185