=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spidermonkey185-1.8.5nb8 /opt/pkg/bin/gmake export gmake[1]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' /opt/pkg/bin/gmake -C config/ nsinstall gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' nsinstall.c exec sh ../build/unix/print-failed-commands.sh clang -o host_nsinstall.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/opt/pkg/include/nspr -I/opt/pkg/include/nspr nsinstall.c pathsub.c exec sh ../build/unix/print-failed-commands.sh clang -o host_pathsub.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/opt/pkg/include/nspr -I/opt/pkg/include/nspr pathsub.c pathsub.c:131:27: warning: unused parameter 'dir' [-Wunused-parameter] ino2name(ino_t ino, char *dir) ^ 1 warning generated. clang -o nsinstall -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -L/opt/pkg/lib -L/opt/pkg/lib/nspr -framework Cocoa -lobjc -Wl,-executable_path,/bin -Wl,-dead_strip host_nsinstall.o host_pathsub.o ld: warning: -executable_path is obsolete gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' Creating /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/.deps gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -L /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config nsinstall ../dist/bin gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline' Creating /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline/.deps gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline' gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell' Creating /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell/.deps gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' Creating /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests/.deps gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[2]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[2]: Nothing to be done for 'export'. gmake[2]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/tests' clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/opt/pkg/include/nspr -o jscpucfg jscpucfg.cpp ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h jskwgen.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jskwgen.o -c -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -I/opt/pkg/include/nspr jskwgen.cpp clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jskwgen -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -L /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src -m 644 js-config.h jsautocfg.h /Users/pbulk/build/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 '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' /opt/pkg/bin/gmake libs gmake[1]: Entering directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' jsoplengen.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jsoplengen.o -c -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -I/opt/pkg/include/nspr jsoplengen.cpp clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jsoplengen -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: ./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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ^ :184: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 ^ :186: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 ^ :188: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 ^ :190: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 ^ :192: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 ^ :6: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: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 ^ :14: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 ^ :18: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: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 ^ :16: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: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 ^ :100: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 ^ :102: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: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 ^ :106: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: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 ^ :104: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: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 ^ :122: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 ^ :124: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 ^ :128: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 ^ :130:1: note: expanded from here js_static_assert62 ^ 30 warnings generated. jsapi.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp 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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to '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 jsapi.cpp:88: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 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 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: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning 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); ^ jsapi.cpp:1641:12: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(cx->runtime, offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1646:13: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] OFFSET_TO_ATOM(cx->runtime, offset) = atom; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1804:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1885:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[i].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:1987:16: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = OFFSET_TO_ATOM(rt, standard_class_atoms[j].atomOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsapi.cpp:3988:16: warning: initialization of pointer of type 'JSIdArray *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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), ^ ./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 ./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 jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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), ^ ./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 ./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), ^ ./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 ./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), ^ ./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 ./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), ^ ./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 ./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), ^ ./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 ./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), ^ 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: 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 ^ :37:1: note: expanded from here js_static_assert6 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :39:1: note: expanded from here js_static_assert7 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :41:1: note: expanded from here js_static_assert8 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :43:1: note: expanded from here js_static_assert9 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :45:1: note: expanded from here js_static_assert10 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: 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 ^ :103:1: note: expanded from here js_static_assert39 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: 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 ^ :113:1: note: expanded from here js_static_assert44 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: 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 ^ :115:1: note: expanded from here js_static_assert45 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: 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 ^ :111:1: note: expanded from here js_static_assert43 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h: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 ^ :187:1: note: expanded from here js_static_assert48 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h: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 ^ :185:1: note: expanded from here js_static_assert47 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :189:1: note: expanded from here js_static_assert49 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :191:1: note: expanded from here js_static_assert50 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :207:1: note: expanded from here js_static_assert58 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :209:1: note: expanded from here js_static_assert59 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :213:1: note: expanded from here js_static_assert61 ^ In file included from jsapi.cpp:61: In file included from ./jsclone.h:43: 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 ^ :215:1: note: expanded from here js_static_assert62 ^ In file included from jsapi.cpp:61: ./jsclone.h:100:9: warning: unused typedef 'js_static_assert65' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jschar) == 2); ^ ./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 ^ :232:1: note: expanded from here js_static_assert65 ^ In file included from jsapi.cpp:61: ./jsclone.h:101:9: warning: unused typedef 'js_static_assert66' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(uint32_t) == 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 ^ :234:1: note: expanded from here js_static_assert66 ^ In file included from jsapi.cpp:61: ./jsclone.h:102:9: warning: unused typedef 'js_static_assert67' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jsdouble) == 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 ^ :236:1: note: expanded from here js_static_assert67 ^ In file included from jsapi.cpp:81: In file included from ./jsscope.h:59: ./jsstrinlines.h:202:5: warning: unused typedef 'js_static_assert68' [-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 ^ :10:1: note: expanded from here js_static_assert68 ^ In file included from jsapi.cpp:81: In file included from ./jsscope.h:59: ./jsstrinlines.h:303:5: warning: unused typedef 'js_static_assert69' [-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 ^ :12:1: note: expanded from here js_static_assert69 ^ In file included from jsapi.cpp:81: ./jsscope.h:431:9: warning: unused typedef 'js_static_assert70' [-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 ^ :14:1: note: expanded from here js_static_assert70 ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 67 warnings generated. jsarena.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsarena.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp 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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 exec sh ./build/unix/print-failed-commands.sh clang++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ 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 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:101: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:105: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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: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); ^~~~~~~~~~~~~~ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 ./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), ^ ./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 ./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), ^ ./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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ 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: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 ^ :50:1: note: expanded from here js_static_assert48 ^ 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: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 ^ :48:1: note: expanded from here js_static_assert47 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :54:1: note: expanded from here js_static_assert50 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :52:1: note: expanded from here js_static_assert49 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :70:1: note: expanded from here js_static_assert58 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :72:1: note: expanded from here js_static_assert59 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :78:1: note: expanded from here js_static_assert62 ^ In file included from jsarray.cpp:90: In file included from ./jstracer.h:49: 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 ^ :76:1: note: expanded from here js_static_assert61 ^ In file included from jsarray.cpp:101: In file included from ./jsscope.h:59: ./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 ^ :222:1: note: expanded from here js_static_assert65 ^ In file included from jsarray.cpp:101: In file included from ./jsscope.h:59: ./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 ^ :224:1: note: expanded from here js_static_assert66 ^ In file included from jsarray.cpp:101: ./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 ^ :2:1: note: expanded from here js_static_assert67 ^ jsarray.cpp:230:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); ^ ./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 ^ :26:1: note: expanded from here js_static_assert68 ^ jsarray.cpp:256:5: warning: unused typedef 'js_static_assert69' [-Wunused-local-typedef] JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); ^ ./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 ^ :28:1: note: expanded from here js_static_assert69 ^ In file included from jsarray.cpp:86: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 47 warnings generated. jsatom.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsatom.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ 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 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 jsatom.cpp:53: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 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 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)) ^~~~~~~~~~~~~~~ jsatom.cpp:956:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] uint32 count; ^ 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 ^ :191: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 ^ :193: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 ^ :195: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 ^ :197: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 ^ :199: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 ^ :6:1: note: expanded from here js_static_assert39 ^ 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 ^ :18:1: note: expanded from here js_static_assert45 ^ 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 ^ :16: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 ^ :14:1: note: expanded from here js_static_assert43 ^ 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 ^ :100: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 ^ :102:1: note: expanded from here js_static_assert48 ^ 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 ^ :104:1: note: expanded from here js_static_assert49 ^ 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 ^ :106:1: note: expanded from here js_static_assert50 ^ 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 ^ :122: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 ^ :124:1: note: expanded from here js_static_assert59 ^ 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 ^ :128:1: note: expanded from here js_static_assert61 ^ 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 ^ :130:1: note: expanded from here js_static_assert62 ^ 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 ^ :237: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 ^ :239: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 ^ :241: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. jsbool.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsbool.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp In file included from jsbool.cpp:46: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsbool.cpp:49: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 jsbool.cpp:49: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:49: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbool.cpp:58: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: 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), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: 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 jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsbool.cpp:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsbool.cpp:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsbool.cpp:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsbool.cpp:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsbool.cpp:49: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsbool.cpp:49: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsbool.cpp:49: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsbool.cpp:49: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsbool.cpp:49: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsbool.cpp:49: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsbool.cpp:49: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsbool.cpp:49: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsbool.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :265:1: note: expanded from here js_static_assert65 ^ In file included from jsbool.cpp:58: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :267:1: note: expanded from here js_static_assert66 ^ In file included from jsbool.cpp:58: 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 ^ :269:1: note: expanded from here js_static_assert67 ^ In file included from jsbool.cpp:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 44 warnings generated. jsclone.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsclone.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp In file included from jsclone.cpp:39: In file included from ./jsclone.h:42: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] 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 jsclone.cpp:39: In file included from ./jsclone.h:43: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: ./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 jsclone.cpp:44: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ jsclone.cpp:238:45: note: in instantiation of member function 'js::Vector::Vector' requested here SCOutput::SCOutput(JSContext *cx) : cx(cx), buf(cx) {} ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h: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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h: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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsclone.cpp:39: ./jsclone.h:101:9: warning: unused typedef 'js_static_assert66' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(uint32_t) == 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 ^ :149:1: note: expanded from here js_static_assert66 ^ In file included from jsclone.cpp:39: ./jsclone.h:100:9: warning: unused typedef 'js_static_assert65' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jschar) == 2); ^ ./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 ^ :147:1: note: expanded from here js_static_assert65 ^ In file included from jsclone.cpp:39: ./jsclone.h:102:9: warning: unused typedef 'js_static_assert67' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(jsdouble) == 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 ^ :151:1: note: expanded from here js_static_assert67 ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./jsstrinlines.h:202:5: warning: unused typedef 'js_static_assert68' [-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 ^ :243:1: note: expanded from here js_static_assert68 ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./jsstrinlines.h:303:5: warning: unused typedef 'js_static_assert69' [-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 ^ :245:1: note: expanded from here js_static_assert69 ^ In file included from jsclone.cpp:44: In file included from ./jsregexpinlines.h:45: In file included from ./jsobjinlines.h:53: ./jsscope.h:431:9: warning: unused typedef 'js_static_assert70' [-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 ^ :247:1: note: expanded from here js_static_assert70 ^ jsclone.cpp:203:5: warning: unused typedef 'js_static_assert73' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 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 ^ :290:1: note: expanded from here js_static_assert73 ^ jsclone.cpp:411:5: warning: unused typedef 'js_static_assert78' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); ^ ./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 ^ :300:1: note: expanded from here js_static_assert78 ^ jsclone.cpp:410:5: warning: unused typedef 'js_static_assert77' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); ^ ./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 ^ :298:1: note: expanded from here js_static_assert77 ^ jsclone.cpp:417:5: warning: unused typedef 'js_static_assert84' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 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 ^ :6:1: note: expanded from here js_static_assert84 ^ jsclone.cpp:408:5: warning: unused typedef 'js_static_assert75' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 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 ^ :294:1: note: expanded from here js_static_assert75 ^ jsclone.cpp:414:5: warning: unused typedef 'js_static_assert81' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); ^ ./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_assert81 ^ jsclone.cpp:415:5: warning: unused typedef 'js_static_assert82' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); ^ ./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 ^ :2:1: note: expanded from here js_static_assert82 ^ jsclone.cpp:409:5: warning: unused typedef 'js_static_assert76' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 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 ^ :296:1: note: expanded from here js_static_assert76 ^ jsclone.cpp:413:5: warning: unused typedef 'js_static_assert80' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); ^ ./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_assert80 ^ jsclone.cpp:416:5: warning: unused typedef 'js_static_assert83' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 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 ^ :4:1: note: expanded from here js_static_assert83 ^ jsclone.cpp:412:5: warning: unused typedef 'js_static_assert79' [-Wunused-local-typedef] JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 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 ^ :302:1: note: expanded from here js_static_assert79 ^ In file included from jsclone.cpp:39: In file included from ./jsclone.h:43: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 70 warnings generated. jscntxt.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jscntxt.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp In file included from jscntxt.cpp:61: In file included from ./jsatom.h:47: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jscntxt.cpp:62: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:62: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:62: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:77: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:84: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jscntxt.cpp:84: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jscntxt.cpp:90: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jscntxt.cpp:1196:37: warning: cast from 'const JSDHashEntryHdr *' to 'const JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] const JSResolvingEntry *entry = (const JSResolvingEntry *)hdr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:1230:13: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:1265:17: warning: cast from 'JSDHashEntryHdr *' to 'JSResolvingEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (JSResolvingEntry *) ^~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:1542:21: warning: variable 'expandedArgs' set but not used [-Wunused-but-set-variable] int expandedArgs = 0; ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscntxt.cpp:61: 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 jscntxt.cpp:61: 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.cpp:2008:12: note: in instantiation of member function 'js::Vector::Vector' requested here JSContext::JSContext(JSRuntime *rt) ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :138:1: note: expanded from here js_static_assert6 ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :140:1: note: expanded from here js_static_assert7 ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :142:1: note: expanded from here js_static_assert8 ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :144:1: note: expanded from here js_static_assert9 ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :146:1: note: expanded from here js_static_assert10 ^ In file included from jscntxt.cpp:61: 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 ^ :4:1: note: expanded from here js_static_assert39 ^ In file included from jscntxt.cpp:61: 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 ^ :12:1: note: expanded from here js_static_assert43 ^ In file included from jscntxt.cpp:61: 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 ^ :16:1: note: expanded from here js_static_assert45 ^ In file included from jscntxt.cpp:61: 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 ^ :14:1: note: expanded from here js_static_assert44 ^ In file included from jscntxt.cpp:62: 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 ^ :98:1: note: expanded from here js_static_assert47 ^ In file included from jscntxt.cpp:62: 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 ^ :100:1: note: expanded from here js_static_assert48 ^ In file included from jscntxt.cpp:62: 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 ^ :102:1: note: expanded from here js_static_assert49 ^ In file included from jscntxt.cpp:62: 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 ^ :104:1: note: expanded from here js_static_assert50 ^ In file included from jscntxt.cpp:62: 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 ^ :120:1: note: expanded from here js_static_assert58 ^ In file included from jscntxt.cpp:62: 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 ^ :122:1: note: expanded from here js_static_assert59 ^ In file included from jscntxt.cpp:62: 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 ^ :126:1: note: expanded from here js_static_assert61 ^ In file included from jscntxt.cpp:62: 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 ^ :128:1: note: expanded from here js_static_assert62 ^ In file included from jscntxt.cpp:77: In file included from ./jsscope.h:59: ./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 ^ :235:1: note: expanded from here js_static_assert65 ^ In file included from jscntxt.cpp:77: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert66 ^ In file included from jscntxt.cpp:77: ./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 ^ :239:1: note: expanded from here js_static_assert67 ^ jscntxt.cpp:768:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSVERSION_DEFAULT == 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 ^ :26:1: note: expanded from here js_static_assert68 ^ In file included from jscntxt.cpp:61: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 54 warnings generated. jscompartment.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jscompartment.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp In file included from jscompartment.cpp:41: 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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:499:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:504:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSUpvarArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:509:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSObjectArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:514:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSTryNoteArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:519:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'js::GlobalSlotArray *' increases required alignment from 1 to 8 [-Wcast-align] return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:524:16: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSConstArray *' increases required alignment from 1 to 8 [-Wcast-align] return (JSConstArray *) ((uint8 *) (this + 1) + constOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:41: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:41: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:46: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:48: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:46: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:46: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jscompartment.cpp:51: In file included from ./methodjit/PolyIC.h:50: In file included from ./methodjit/BaseAssembler.h:53: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./methodjit/BaseAssembler.h:206:9: note: in instantiation of member function 'js::Vector::Vector' requested here : callPatches(SystemAllocPolicy()), ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsutil.h:260:17: note: in instantiation of member function 'js::Vector::Vector' requested here JS_NEW_BODY(T, (p1)) ^ ./methodjit/PolyIC.h:195:41: note: in instantiation of function template specialization 'js_new, js::SystemAllocPolicy>' requested here ExecPoolVector *execPools = js_new(SystemAllocPolicy()); ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :184:1: note: expanded from here js_static_assert6 ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :186:1: note: expanded from here js_static_assert7 ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :188:1: note: expanded from here js_static_assert8 ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :190:1: note: expanded from here js_static_assert9 ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :192:1: note: expanded from here js_static_assert10 ^ In file included from jscompartment.cpp:41: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jscompartment.cpp:41: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jscompartment.cpp:41: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jscompartment.cpp:41: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jscompartment.cpp:41: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jscompartment.cpp:41: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jscompartment.cpp:41: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jscompartment.cpp:41: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jscompartment.cpp:41: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jscompartment.cpp:41: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jscompartment.cpp:41: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jscompartment.cpp:41: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jscompartment.cpp:46: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jscompartment.cpp:46: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jscompartment.cpp:46: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from jscompartment.cpp:41: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 51 warnings generated. jsdate.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsdate.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp In file included from jsdate.cpp:64: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsdate.cpp:67: 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 jsdate.cpp:67: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:67: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:74: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:74: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsdate.cpp:67: 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 jsdate.cpp:67: 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 jsdate.cpp:67: 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 jsdate.cpp:67: 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 jsdate.cpp:67: 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), ^ ./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 jsdate.cpp:67: 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), ^ ./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 jsdate.cpp:67: 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), ^ ./jsstrinlines.h:114:5: note: in instantiation of member function 'js::Vector::Vector' requested here : cb(cx) ^ In file included from jsdate.cpp:67: 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), ^ ./jsstrinlines.h:418:9: note: in instantiation of member function 'js::Vector::Vector' requested here : stack(cx), cur(NULL) ^ In file included from jsdate.cpp:67: 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), ^ ./jsobjinlines.h:829:40: note: in instantiation of member function 'js::Vector::Vector' requested here : AutoGCRooter(cx, DESCRIPTORS), descriptors(cx) ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./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 ^ :182:1: note: expanded from here js_static_assert8 ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./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 ^ :184:1: note: expanded from here js_static_assert9 ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./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 ^ :178:1: note: expanded from here js_static_assert6 ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./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 ^ :186:1: note: expanded from here js_static_assert10 ^ In file included from jsdate.cpp:66: In file included from ./jsbuiltins.h:46: ./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 ^ :180:1: note: expanded from here js_static_assert7 ^ In file included from jsdate.cpp:67: 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 ^ :290:1: note: expanded from here js_static_assert39 ^ In file included from jsdate.cpp:67: 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 ^ :300:1: note: expanded from here js_static_assert44 ^ In file included from jsdate.cpp:67: 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 ^ :302:1: note: expanded from here js_static_assert45 ^ In file included from jsdate.cpp:67: 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 ^ :298:1: note: expanded from here js_static_assert43 ^ In file included from jsdate.cpp:67: 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 ^ :78:1: note: expanded from here js_static_assert47 ^ In file included from jsdate.cpp:67: 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 ^ :80:1: note: expanded from here js_static_assert48 ^ In file included from jsdate.cpp:67: 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 ^ :84:1: note: expanded from here js_static_assert50 ^ In file included from jsdate.cpp:67: 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 ^ :82:1: note: expanded from here js_static_assert49 ^ In file included from jsdate.cpp:67: 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 ^ :100:1: note: expanded from here js_static_assert58 ^ In file included from jsdate.cpp:67: 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 ^ :102:1: note: expanded from here js_static_assert59 ^ In file included from jsdate.cpp:67: 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 ^ :106:1: note: expanded from here js_static_assert61 ^ In file included from jsdate.cpp:67: 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 ^ :108:1: note: expanded from here js_static_assert62 ^ In file included from jsdate.cpp:74: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :204:1: note: expanded from here js_static_assert65 ^ In file included from jsdate.cpp:74: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :206:1: note: expanded from here js_static_assert66 ^ In file included from jsdate.cpp:74: 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 ^ :208:1: note: expanded from here js_static_assert67 ^ In file included from jsdate.cpp:67: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 42 warnings generated. jsdbgapi.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsdbgapi.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsdbgapi.cpp:45: In file included from ./jsprvtd.h:57: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsdbgapi.cpp:52: 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 jsdbgapi.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:55: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:67: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 jsdbgapi.cpp:72: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:79: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jsdbgapi.cpp:79: In file included from ./methodjit/Retcon.h:52: In file included from ./methodjit/Compiler.h:47: In file included from ./methodjit/CodeGenIncludes.h:58: In file included from ./methodjit/PunboxAssembler.h:43: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: 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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./methodjit/BaseAssembler.h:206:9: note: in instantiation of member function 'js::Vector::Vector' requested here : callPatches(SystemAllocPolicy()), ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./jsutil.h:260:17: note: in instantiation of member function 'js::Vector::Vector' requested here JS_NEW_BODY(T, (p1)) ^ ./methodjit/PolyIC.h:195:41: note: in instantiation of function template specialization 'js_new, js::SystemAllocPolicy>' requested here ExecPoolVector *execPools = js_new(SystemAllocPolicy()); ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./methodjit/Retcon.h:67:35: note: in instantiation of member function 'js::Vector::Vector' requested here cx(cx1), script(script1), traps(cx) {}; ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :140:1: note: expanded from here js_static_assert6 ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :142:1: note: expanded from here js_static_assert7 ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :144:1: note: expanded from here js_static_assert8 ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :146:1: note: expanded from here js_static_assert9 ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :148:1: note: expanded from here js_static_assert10 ^ In file included from jsdbgapi.cpp:52: 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 ^ :4:1: note: expanded from here js_static_assert39 ^ In file included from jsdbgapi.cpp:52: 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 ^ :14:1: note: expanded from here js_static_assert44 ^ In file included from jsdbgapi.cpp:52: 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 ^ :12:1: note: expanded from here js_static_assert43 ^ In file included from jsdbgapi.cpp:52: 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 ^ :16:1: note: expanded from here js_static_assert45 ^ In file included from jsdbgapi.cpp:52: 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 ^ :98:1: note: expanded from here js_static_assert47 ^ In file included from jsdbgapi.cpp:52: 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 ^ :100:1: note: expanded from here js_static_assert48 ^ In file included from jsdbgapi.cpp:52: 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 ^ :102:1: note: expanded from here js_static_assert49 ^ In file included from jsdbgapi.cpp:52: 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 ^ :104:1: note: expanded from here js_static_assert50 ^ In file included from jsdbgapi.cpp:52: 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 ^ :120:1: note: expanded from here js_static_assert58 ^ In file included from jsdbgapi.cpp:52: 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 ^ :122:1: note: expanded from here js_static_assert59 ^ In file included from jsdbgapi.cpp:52: 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 ^ :126:1: note: expanded from here js_static_assert61 ^ In file included from jsdbgapi.cpp:52: 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 ^ :128:1: note: expanded from here js_static_assert62 ^ In file included from jsdbgapi.cpp:63: In file included from ./jsscope.h:59: ./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 ^ :235:1: note: expanded from here js_static_assert65 ^ In file included from jsdbgapi.cpp:63: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert66 ^ In file included from jsdbgapi.cpp:63: ./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 ^ :239:1: note: expanded from here js_static_assert67 ^ In file included from jsdbgapi.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 53 warnings generated. jsdhash.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsdhash.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp jsdhash.cpp:146:36: warning: cast from 'const JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:156:36: warning: cast from 'const JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:181:36: warning: cast from 'JSDHashEntryHdr *' to 'const JSDHashEntryStub *' increases required alignment from 4 to 8 [-Wcast-align] const JSDHashEntryStub *stub = (const JSDHashEntryStub *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:393:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = (JSDHashEntryHdr *)entryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:424:13: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:460:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:501:13: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:522:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = ADDRESS_ENTRY(table, hash1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:362:6: note: expanded from macro 'ADDRESS_ENTRY' ((JSDHashEntryHdr *)((table)->entryStore + (index) * (table)->entrySize)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:580:20: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] oldEntry = (JSDHashEntryHdr *)oldEntryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsdhash.cpp:741:17: warning: cast from 'char *' to 'JSDHashEntryHdr *' increases required alignment from 1 to 4 [-Wcast-align] entry = (JSDHashEntryHdr *)entryAddr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. jsdtoa.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsdtoa.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp In file included from jsdtoa.cpp:47: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsdtoa.cpp:52: 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 jsdtoa.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:54: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:54: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h: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 jsdtoa.cpp:83: ./dtoa.c:2522:25: warning: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align] Bigint *b = (Bigint *)((int *)s - 1); ^~~~~~~~ ./dtoa.c:2522:14: warning: cast from 'int *' to 'Bigint *' increases required alignment from 4 to 8 [-Wcast-align] Bigint *b = (Bigint *)((int *)s - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:53: 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 jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./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 ^ :192:1: note: expanded from here js_static_assert10 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./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 ^ :184:1: note: expanded from here js_static_assert6 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./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 ^ :186:1: note: expanded from here js_static_assert7 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./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 ^ :188:1: note: expanded from here js_static_assert8 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:50: ./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 ^ :190:1: note: expanded from here js_static_assert9 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsdtoa.cpp:52: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsdtoa.cpp:52: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsdtoa.cpp:52: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsdtoa.cpp:52: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsdtoa.cpp:52: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsdtoa.cpp:52: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsdtoa.cpp:52: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsdtoa.cpp:52: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsdtoa.cpp:54: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsdtoa.cpp:54: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsdtoa.cpp:54: 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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from jsdtoa.cpp:49: In file included from ./jsnum.h:53: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 44 warnings generated. jsemit.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsemit.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp In file included from jsemit.cpp:55: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsemit.cpp:58: 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 jsemit.cpp:58: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:58: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:60: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsemit.cpp:73: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsemit.cpp:2458:5: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] ALE_SET_INDEX(ale, cookie->asInteger()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^~~~~~~~~~~~~~~ jsemit.cpp:4100:10: warning: variable 'forInLet' set but not used [-Wunused-but-set-variable] bool forInLet, popScope; ^ jsemit.cpp:5675:19: warning: variable 'blockObj' set but not used [-Wunused-but-set-variable] JSObject *blockObj; ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsemit.cpp:56: 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 jsemit.cpp:56: 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 jsemit.cpp:56: 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 jsemit.cpp:56: 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 jsemit.cpp:56: 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), ^ ./jsemit.h:550:36: note: in instantiation of member function 'js::Vector::Vector' requested here JSGCConstList(JSContext *cx) : list(cx) {} ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsemit.cpp:56: 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 jsemit.cpp:56: 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 jsemit.cpp:56: 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 jsemit.cpp:56: 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), ^ jsemit.cpp:120:5: note: in instantiation of member function 'js::Vector::Vector' requested here globalUses(ContextAllocPolicy(parser->context)), ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ jsemit.cpp:121:5: note: in instantiation of member function 'js::Vector::Vector' requested here closedArgs(ContextAllocPolicy(parser->context)), ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :138:1: note: expanded from here js_static_assert6 ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :140:1: note: expanded from here js_static_assert7 ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :142:1: note: expanded from here js_static_assert8 ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :144:1: note: expanded from here js_static_assert9 ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :146:1: note: expanded from here js_static_assert10 ^ In file included from jsemit.cpp:56: 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 ^ :4:1: note: expanded from here js_static_assert39 ^ In file included from jsemit.cpp:56: 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 ^ :12:1: note: expanded from here js_static_assert43 ^ In file included from jsemit.cpp:56: 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 ^ :16:1: note: expanded from here js_static_assert45 ^ In file included from jsemit.cpp:56: 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 ^ :14:1: note: expanded from here js_static_assert44 ^ In file included from jsemit.cpp:58: 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 ^ :98:1: note: expanded from here js_static_assert47 ^ In file included from jsemit.cpp:58: 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 ^ :100:1: note: expanded from here js_static_assert48 ^ In file included from jsemit.cpp:58: 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 ^ :104:1: note: expanded from here js_static_assert50 ^ In file included from jsemit.cpp:58: 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 ^ :102:1: note: expanded from here js_static_assert49 ^ In file included from jsemit.cpp:58: 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 ^ :120:1: note: expanded from here js_static_assert58 ^ In file included from jsemit.cpp:58: 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 ^ :122:1: note: expanded from here js_static_assert59 ^ In file included from jsemit.cpp:58: 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 ^ :128:1: note: expanded from here js_static_assert62 ^ In file included from jsemit.cpp:58: 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 ^ :126:1: note: expanded from here js_static_assert61 ^ In file included from jsemit.cpp:67: In file included from ./jsscope.h:59: ./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 ^ :235:1: note: expanded from here js_static_assert65 ^ In file included from jsemit.cpp:67: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert66 ^ In file included from jsemit.cpp:67: ./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 ^ :239:1: note: expanded from here js_static_assert67 ^ jsemit.cpp:1318:5: warning: unused typedef 'js_static_assert69' [-Wunused-local-typedef] JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ ./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 ^ :243:1: note: expanded from here js_static_assert69 ^ jsemit.cpp:1773:5: warning: unused typedef 'js_static_assert70' [-Wunused-local-typedef] JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); ^ ./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 ^ :245:1: note: expanded from here js_static_assert70 ^ jsemit.cpp:1774:5: warning: unused typedef 'js_static_assert71' [-Wunused-local-typedef] JS_STATIC_ASSERT(INDEX_LIMIT >= ^ ./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 ^ :247:1: note: expanded from here js_static_assert71 ^ In file included from jsemit.cpp:56: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 51 warnings generated. jsexn.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsexn.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsexn.cpp:51: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsexn.cpp:52: 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 jsexn.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:60: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:63: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 jsexn.cpp:67: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsexn.cpp:188:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSErrorReport *' increases required alignment from 1 to 8 [-Wcast-align] copy = (JSErrorReport *)cursor; ^~~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:193:29: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar **' (aka 'const unsigned short **') increases required alignment from 1 to 8 [-Wcast-align] copy->messageArgs = (const jschar **)cursor; ^~~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:196:36: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->messageArgs[i] = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:206:27: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->ucmessage = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:212:27: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'const jschar *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] copy->uclinebuf = (const jschar *)cursor; ^~~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:450:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atom = *(JSAtom **)((uint8 *)atomState + offsets[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: 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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsexn.cpp:52: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsexn.cpp:52: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsexn.cpp:52: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsexn.cpp:52: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsexn.cpp:52: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsexn.cpp:52: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsexn.cpp:52: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsexn.cpp:52: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsexn.cpp:52: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsexn.cpp:52: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsexn.cpp:52: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsexn.cpp:52: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsexn.cpp:60: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsexn.cpp:60: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsexn.cpp:60: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ jsexn.cpp:146:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 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 ^ :271:1: note: expanded from here js_static_assert68 ^ jsexn.cpp:147:5: warning: unused typedef 'js_static_assert69' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 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 ^ :273:1: note: expanded from here js_static_assert69 ^ jsexn.cpp:257:5: warning: unused typedef 'js_static_assert70' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 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 ^ :275:1: note: expanded from here js_static_assert70 ^ jsexn.cpp:440:5: warning: unused typedef 'js_static_assert71' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-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 ^ :277:1: note: expanded from here js_static_assert71 ^ In file included from jsexn.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 55 warnings generated. jsfriendapi.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsfriendapi.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp In file included from jsfriendapi.cpp:40: 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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsfriendapi.cpp:40: 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 jsfriendapi.cpp:40: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfriendapi.cpp:40: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :184:1: note: expanded from here js_static_assert6 ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :186:1: note: expanded from here js_static_assert7 ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :188:1: note: expanded from here js_static_assert8 ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :190:1: note: expanded from here js_static_assert9 ^ In file included from jsfriendapi.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :192:1: note: expanded from here js_static_assert10 ^ In file included from jsfriendapi.cpp:40: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsfriendapi.cpp:40: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsfriendapi.cpp:40: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsfriendapi.cpp:40: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsfriendapi.cpp:40: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsfriendapi.cpp:40: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsfriendapi.cpp:40: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsfriendapi.cpp:40: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsfriendapi.cpp:40: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsfriendapi.cpp:40: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsfriendapi.cpp:40: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsfriendapi.cpp:40: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ 30 warnings generated. jsfun.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsfun.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp In file included from jsfun.cpp:49: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsfun.cpp:54: 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 jsfun.cpp:54: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:54: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:56: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsfun.cpp:91: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsfun.cpp:1691:27: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] id = ATOM_TO_JSID(OFFSET_TO_ATOM(cx->runtime, lfp.atomOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1698:27: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] id = ATOM_TO_JSID(OFFSET_TO_ATOM(cx->runtime, p.atomOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1794:30: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] if (JSID_IS_ATOM(id, OFFSET_TO_ATOM(cx->runtime, lfp->atomOffset))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:1811:30: warning: cast from 'char *' to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] if (JSID_IS_ATOM(id, OFFSET_TO_ATOM(cx->runtime, p.atomOffset))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:454:35: note: expanded from macro 'OFFSET_TO_ATOM' #define OFFSET_TO_ATOM(rt,off) (*(JSAtom **)((char*)&(rt)->atomState + (off))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:2054:16: warning: initialization of pointer of type 'JSString *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jsfun.cpp:2660:20: warning: initialization of pointer of type 'const Shape *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsfun.cpp:54: 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 ^ :48:1: note: expanded from here js_static_assert47 ^ In file included from jsfun.cpp:54: 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 ^ :50:1: note: expanded from here js_static_assert48 ^ In file included from jsfun.cpp:54: 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 ^ :54:1: note: expanded from here js_static_assert50 ^ In file included from jsfun.cpp:54: 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 ^ :52:1: note: expanded from here js_static_assert49 ^ In file included from jsfun.cpp:54: 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 ^ :70:1: note: expanded from here js_static_assert58 ^ In file included from jsfun.cpp:54: 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 ^ :72:1: note: expanded from here js_static_assert59 ^ In file included from jsfun.cpp:54: 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 ^ :78:1: note: expanded from here js_static_assert62 ^ In file included from jsfun.cpp:54: 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 ^ :76:1: note: expanded from here js_static_assert61 ^ In file included from jsfun.cpp:68: In file included from ./jsscope.h:59: ./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 ^ :185:1: note: expanded from here js_static_assert65 ^ In file included from jsfun.cpp:68: In file included from ./jsscope.h:59: ./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 ^ :187:1: note: expanded from here js_static_assert66 ^ In file included from jsfun.cpp:68: ./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 ^ :189:1: note: expanded from here js_static_assert67 ^ jsfun.cpp:186:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); ^ ./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 ^ :24:1: note: expanded from here js_static_assert68 ^ In file included from jsfun.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 52 warnings generated. jsgc.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsgc.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.cpp In file included from jsgc.cpp:61: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsgc.cpp:63: 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 jsgc.cpp:63: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:63: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:75: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:91: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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 jsgc.cpp:62: 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), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgc.cpp:62: 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) ^ jsgc.cpp:581:36: warning: cast from 'Cell *' to 'JSString *' increases required alignment from 1 to 8 [-Wcast-align] return GetArena(cell)->mark((T *)cell, trc); ^~~~~~~~~ jsgc.cpp:662:20: note: in instantiation of function template specialization 'js::MarkCell' requested here test = MarkCell(cell, trc); ^ jsgc.cpp:581:36: warning: cast from 'Cell *' to 'JSExternalString *' increases required alignment from 1 to 8 [-Wcast-align] return GetArena(cell)->mark((T *)cell, trc); ^~~~~~~~~ jsgc.cpp:665:20: note: in instantiation of function template specialization 'js::MarkCell' requested here test = MarkCell(cell, trc); ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :217:1: note: expanded from here js_static_assert9 ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :219:1: note: expanded from here js_static_assert10 ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :215:1: note: expanded from here js_static_assert8 ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :213:1: note: expanded from here js_static_assert7 ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :211:1: note: expanded from here js_static_assert6 ^ In file included from jsgc.cpp:62: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsgc.cpp:62: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsgc.cpp:62: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsgc.cpp:62: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsgc.cpp:63: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsgc.cpp:63: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsgc.cpp:63: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsgc.cpp:63: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsgc.cpp:63: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsgc.cpp:63: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsgc.cpp:63: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsgc.cpp:63: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsgc.cpp:77: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsgc.cpp:77: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsgc.cpp:77: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ jsgc.cpp:610:5: warning: unused typedef 'js_static_assert83' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 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 ^ :56:1: note: expanded from here js_static_assert83 ^ jsgc.cpp:1893:5: warning: unused typedef 'js_static_assert84' [-Wunused-local-typedef] JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); ^ ./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 ^ :58:1: note: expanded from here js_static_assert84 ^ In file included from jsgc.cpp:62: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 48 warnings generated. jsgcchunk.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsgcchunk.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp In file included from jsgcchunk.cpp:37: In file included from ./jsgcchunk.h:43: In file included from ./jsprvtd.h:57: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ 1 warning generated. jsgcstats.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsgcstats.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from jsgcstats.cpp:40: 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; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsgcstats.cpp:40: 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 jsgcstats.cpp:40: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgcstats.cpp:40: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :184:1: note: expanded from here js_static_assert6 ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :186:1: note: expanded from here js_static_assert7 ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :188:1: note: expanded from here js_static_assert8 ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :190:1: note: expanded from here js_static_assert9 ^ In file included from jsgcstats.cpp:40: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :192:1: note: expanded from here js_static_assert10 ^ In file included from jsgcstats.cpp:40: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsgcstats.cpp:40: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsgcstats.cpp:40: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsgcstats.cpp:40: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsgcstats.cpp:40: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsgcstats.cpp:40: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsgcstats.cpp:40: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsgcstats.cpp:40: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsgcstats.cpp:40: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsgcstats.cpp:40: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsgcstats.cpp:40: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsgcstats.cpp:40: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ 30 warnings generated. jshash.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jshash.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp jsinterp.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsinterp.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp In file included from jsinterp.cpp:52: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsinterp.cpp:56: 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 jsinterp.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:56: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:70: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsinterp.cpp:2587:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(&rt->atomState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsinterp.cpp:2753:25: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] atoms = COMMON_ATOMS_START(&rt->atomState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsinterp.cpp:3693:13: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] if ((lIsString = lval.isString()) | (rIsString = rval.isString())) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || jsinterp.cpp:3693:13: note: cast one or both operands to int to silence this warning In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./methodjit/BaseAssembler.h:206:9: note: in instantiation of member function 'js::Vector::Vector' requested here : callPatches(SystemAllocPolicy()), ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :225:1: note: expanded from here js_static_assert10 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :221:1: note: expanded from here js_static_assert8 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :223:1: note: expanded from here js_static_assert9 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :217:1: note: expanded from here js_static_assert6 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :219:1: note: expanded from here js_static_assert7 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: 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 ^ :4:1: note: expanded from here js_static_assert39 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert45 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: 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 ^ :12:1: note: expanded from here js_static_assert43 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert44 ^ In file included from jsinterp.cpp:56: 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 ^ :100:1: note: expanded from here js_static_assert48 ^ In file included from jsinterp.cpp:56: 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 ^ :98:1: note: expanded from here js_static_assert47 ^ In file included from jsinterp.cpp:56: 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 ^ :102:1: note: expanded from here js_static_assert49 ^ In file included from jsinterp.cpp:56: 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 ^ :104:1: note: expanded from here js_static_assert50 ^ In file included from jsinterp.cpp:56: 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 ^ :120:1: note: expanded from here js_static_assert58 ^ In file included from jsinterp.cpp:56: 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 ^ :122:1: note: expanded from here js_static_assert59 ^ In file included from jsinterp.cpp:56: 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 ^ :128:1: note: expanded from here js_static_assert62 ^ In file included from jsinterp.cpp:56: 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 ^ :126:1: note: expanded from here js_static_assert61 ^ In file included from jsinterp.cpp:71: In file included from ./jsscope.h:59: ./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 ^ :235:1: note: expanded from here js_static_assert65 ^ In file included from jsinterp.cpp:71: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert66 ^ In file included from jsinterp.cpp:71: ./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 ^ :239:1: note: expanded from here js_static_assert67 ^ In file included from jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 53 warnings generated. jsinvoke.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsinvoke.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:52: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:70: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:100: In file included from ./methodjit/MonoIC.h:44: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ ./methodjit/BaseAssembler.h:206:9: note: in instantiation of member function 'js::Vector::Vector' requested here : callPatches(SystemAllocPolicy()), ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :217:1: note: expanded from here js_static_assert6 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :219:1: note: expanded from here js_static_assert7 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :225:1: note: expanded from here js_static_assert10 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :221:1: note: expanded from here js_static_assert8 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :223:1: note: expanded from here js_static_assert9 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :4:1: note: expanded from here js_static_assert39 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :12:1: note: expanded from here js_static_assert43 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :16:1: note: expanded from here js_static_assert45 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h: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 ^ :14:1: note: expanded from here js_static_assert44 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :100:1: note: expanded from here js_static_assert48 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :98:1: note: expanded from here js_static_assert47 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :102:1: note: expanded from here js_static_assert49 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :104:1: note: expanded from here js_static_assert50 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :120:1: note: expanded from here js_static_assert58 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :122:1: note: expanded from here js_static_assert59 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :126:1: note: expanded from here js_static_assert61 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:56: 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 ^ :128:1: note: expanded from here js_static_assert62 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:71: In file included from ./jsscope.h:59: ./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 ^ :235:1: note: expanded from here js_static_assert65 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:71: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert66 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:71: ./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 ^ :239:1: note: expanded from here js_static_assert67 ^ In file included from jsinvoke.cpp:42: ./jsinterp.cpp:993:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(SHARP_NSLOTS == 2); ^ ./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 ^ :26:1: note: expanded from here js_static_assert68 ^ In file included from jsinvoke.cpp:42: In file included from ./jsinterp.cpp:53: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 51 warnings generated. jsiter.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsiter.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp In file included from jsiter.cpp:49: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsiter.cpp:54: 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 jsiter.cpp:54: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:54: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:68: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:80: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsiter.cpp:270:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsiter.cpp:428:20: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ jsiter.cpp:566:23: note: in instantiation of member function 'js::Vector::Vector' requested here Vector shapes(cx); ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsiter.cpp:54: 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 ^ :50:1: note: expanded from here js_static_assert48 ^ In file included from jsiter.cpp:54: 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 ^ :48:1: note: expanded from here js_static_assert47 ^ In file included from jsiter.cpp:54: 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 ^ :54:1: note: expanded from here js_static_assert50 ^ In file included from jsiter.cpp:54: 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 ^ :52:1: note: expanded from here js_static_assert49 ^ In file included from jsiter.cpp:54: 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 ^ :70:1: note: expanded from here js_static_assert58 ^ In file included from jsiter.cpp:54: 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 ^ :72:1: note: expanded from here js_static_assert59 ^ In file included from jsiter.cpp:54: 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 ^ :78:1: note: expanded from here js_static_assert62 ^ In file included from jsiter.cpp:54: 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 ^ :76:1: note: expanded from here js_static_assert61 ^ In file included from jsiter.cpp:68: In file included from ./jsscope.h:59: ./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 ^ :185:1: note: expanded from here js_static_assert65 ^ In file included from jsiter.cpp:68: In file included from ./jsscope.h:59: ./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 ^ :187:1: note: expanded from here js_static_assert66 ^ In file included from jsiter.cpp:68: ./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 ^ :189:1: note: expanded from here js_static_assert67 ^ jsiter.cpp:339:5: warning: unused typedef 'js_static_assert68' [-Wunused-local-typedef] JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); ^ ./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 ^ :24:1: note: expanded from here js_static_assert68 ^ In file included from jsiter.cpp:50: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 48 warnings generated. jslock.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jslock.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp In file included from jslock.cpp:47: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jslock.cpp:52: 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 jslock.cpp:52: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jslock.cpp:52: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jslock.cpp:55: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jslock.cpp:585:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] PRStatus stat; ^ jslock.cpp:615:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] PRStatus stat; ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :184:1: note: expanded from here js_static_assert6 ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :186:1: note: expanded from here js_static_assert7 ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :188:1: note: expanded from here js_static_assert8 ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :190:1: note: expanded from here js_static_assert9 ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :192:1: note: expanded from here js_static_assert10 ^ In file included from jslock.cpp:52: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jslock.cpp:52: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jslock.cpp:52: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jslock.cpp:52: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jslock.cpp:52: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jslock.cpp:52: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jslock.cpp:52: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jslock.cpp:52: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jslock.cpp:52: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jslock.cpp:52: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jslock.cpp:52: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jslock.cpp:52: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jslock.cpp:55: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jslock.cpp:55: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jslock.cpp:55: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from jslock.cpp:52: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 41 warnings generated. jslog2.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jslog2.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp jsmath.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsmath.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp In file included from jsmath.cpp:48: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsmath.cpp:51: 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 jsmath.cpp:51: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsmath.cpp:51: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsmath.cpp:49: 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 jsmath.cpp:49: 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 jsmath.cpp:49: 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 jsmath.cpp:49: 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 jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :202:1: note: expanded from here js_static_assert6 ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :204:1: note: expanded from here js_static_assert7 ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :206:1: note: expanded from here js_static_assert8 ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :208:1: note: expanded from here js_static_assert9 ^ In file included from jsmath.cpp:49: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :210:1: note: expanded from here js_static_assert10 ^ In file included from jsmath.cpp:49: 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 ^ :22:1: note: expanded from here js_static_assert39 ^ In file included from jsmath.cpp:49: 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 ^ :32:1: note: expanded from here js_static_assert44 ^ In file included from jsmath.cpp:49: 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 ^ :30:1: note: expanded from here js_static_assert43 ^ In file included from jsmath.cpp:49: 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 ^ :34:1: note: expanded from here js_static_assert45 ^ In file included from jsmath.cpp:51: 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 ^ :66:1: note: expanded from here js_static_assert47 ^ In file included from jsmath.cpp:51: 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 ^ :68:1: note: expanded from here js_static_assert48 ^ In file included from jsmath.cpp:51: 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 ^ :70:1: note: expanded from here js_static_assert49 ^ In file included from jsmath.cpp:51: 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 ^ :72:1: note: expanded from here js_static_assert50 ^ In file included from jsmath.cpp:51: 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 ^ :88:1: note: expanded from here js_static_assert58 ^ In file included from jsmath.cpp:51: 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 ^ :90:1: note: expanded from here js_static_assert59 ^ In file included from jsmath.cpp:51: 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 ^ :94:1: note: expanded from here js_static_assert61 ^ In file included from jsmath.cpp:51: 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 ^ :96:1: note: expanded from here js_static_assert62 ^ 30 warnings generated. jsnativestack.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsnativestack.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp In file included from jsnativestack.cpp:41: In file included from ./jsnativestack.h:42: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ 1 warning generated. jsnum.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsnum.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp In file included from jsnum.cpp:57: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsnum.cpp:60: 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 jsnum.cpp:60: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:60: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:69: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:75: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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 jsnum.cpp:58: 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), ^ ./assembler/jit/ExecutableAllocator.h:205:5: note: in instantiation of member function 'js::Vector::Vector' requested here ExecutableAllocator() {} ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsnum.cpp:58: 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 jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :211:1: note: expanded from here js_static_assert6 ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :213:1: note: expanded from here js_static_assert7 ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :215:1: note: expanded from here js_static_assert8 ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :219:1: note: expanded from here js_static_assert10 ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :217:1: note: expanded from here js_static_assert9 ^ In file included from jsnum.cpp:58: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsnum.cpp:58: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsnum.cpp:58: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsnum.cpp:58: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsnum.cpp:60: 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 ^ :50:1: note: expanded from here js_static_assert48 ^ In file included from jsnum.cpp:60: 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 ^ :48:1: note: expanded from here js_static_assert47 ^ In file included from jsnum.cpp:60: 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 ^ :52:1: note: expanded from here js_static_assert49 ^ In file included from jsnum.cpp:60: 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 ^ :54:1: note: expanded from here js_static_assert50 ^ In file included from jsnum.cpp:60: 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 ^ :70:1: note: expanded from here js_static_assert58 ^ In file included from jsnum.cpp:60: 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 ^ :72:1: note: expanded from here js_static_assert59 ^ In file included from jsnum.cpp:60: 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 ^ :76:1: note: expanded from here js_static_assert61 ^ In file included from jsnum.cpp:60: 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 ^ :78:1: note: expanded from here js_static_assert62 ^ In file included from jsnum.cpp:69: In file included from ./jsscope.h:59: ./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 ^ :185:1: note: expanded from here js_static_assert65 ^ In file included from jsnum.cpp:69: In file included from ./jsscope.h:59: ./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 ^ :187:1: note: expanded from here js_static_assert66 ^ In file included from jsnum.cpp:69: ./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 ^ :189:1: note: expanded from here js_static_assert67 ^ jsnum.cpp:594:5: warning: unused typedef 'js_static_assert71' [-Wunused-local-typedef] JS_STATIC_ASSERT(sbufSize >= DTOSTR_STANDARD_BUFFER_SIZE); ^ ./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 ^ :97:1: note: expanded from here js_static_assert71 ^ jsnum.cpp:627:5: warning: unused typedef 'js_static_assert72' [-Wunused-local-typedef] JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); ^ ./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 ^ :99:1: note: expanded from here js_static_assert72 ^ In file included from jsnum.cpp:58: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 46 warnings generated. jsobj.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsobj.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp In file included from jsobj.cpp:54: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsobj.cpp:59: 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 jsobj.cpp:59: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:59: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:61: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:80: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-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 jsobj.cpp:85: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsobj.cpp:221:56: warning: cast to 'void *' from smaller integer type 'jsatomid' (aka 'unsigned int') [-Wint-to-void-pointer-cast] he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); ^~~~~~~~~~~~~~~~ jsobj.cpp:280:25: warning: cast to 'void *' from smaller integer type 'jsatomid' (aka 'unsigned int') [-Wint-to-void-pointer-cast] he->value = (void *) sharpid; ^~~~~~~~~~~~~~~~ jsobj.cpp:3080:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_FROM_BYTECODE(script, pc, 0, atom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: 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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsobj.cpp:59: 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 ^ :50:1: note: expanded from here js_static_assert48 ^ In file included from jsobj.cpp:59: 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 ^ :48:1: note: expanded from here js_static_assert47 ^ In file included from jsobj.cpp:59: 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 ^ :54:1: note: expanded from here js_static_assert50 ^ In file included from jsobj.cpp:59: 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 ^ :52:1: note: expanded from here js_static_assert49 ^ In file included from jsobj.cpp:59: 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 ^ :70:1: note: expanded from here js_static_assert58 ^ In file included from jsobj.cpp:59: 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 ^ :72:1: note: expanded from here js_static_assert59 ^ In file included from jsobj.cpp:59: 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 ^ :78:1: note: expanded from here js_static_assert62 ^ In file included from jsobj.cpp:59: 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 ^ :76:1: note: expanded from here js_static_assert61 ^ In file included from jsobj.cpp:72: In file included from ./jsscope.h:59: ./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 ^ :185:1: note: expanded from here js_static_assert65 ^ In file included from jsobj.cpp:72: In file included from ./jsscope.h:59: ./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 ^ :187:1: note: expanded from here js_static_assert66 ^ In file included from jsobj.cpp:72: ./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 ^ :189:1: note: expanded from here js_static_assert67 ^ In file included from jsobj.cpp:55: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 49 warnings generated. json.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o json.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp In file included from json.cpp:43: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from json.cpp:48: 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 json.cpp:48: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:48: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:66: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:66: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ json.cpp:80:8: note: in instantiation of member function 'js::Vector::Vector' requested here objectKey(cx), buffer(cx), suppressErrors(false) ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from json.cpp:48: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from json.cpp:48: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from json.cpp:48: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from json.cpp:48: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from json.cpp:48: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from json.cpp:48: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from json.cpp:48: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from json.cpp:48: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from json.cpp:66: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from json.cpp:66: In file included from ./jsobjinlines.h:53: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from json.cpp:66: 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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from json.cpp:45: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 43 warnings generated. jsopcode.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsopcode.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsopcode.cpp:56: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsopcode.cpp:59: 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 jsopcode.cpp:59: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:59: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:61: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:77: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ jsopcode.cpp:1658:13: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] JSOp op, saveop; ^ jsopcode.cpp:3444:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3454:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3561:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3674:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3684:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT("%s %s[%s]", "%s %s.%s", rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3733:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3746:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT(preindex_format, predot_format, rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3789:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3802:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] GET_ATOM_QUOTE_AND_FMT(postindex_format, postdot_format, rval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1957:9: note: expanded from macro 'GET_ATOM_QUOTE_AND_FMT' LOAD_ATOM(0); \ ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3847:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3858:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3875:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(ARGNO_LEN); ^~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3888:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(2); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3893:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:3999:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4043:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4559:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4637:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4647:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4739:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4748:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:4757:17: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] LOAD_ATOM(0); ^~~~~~~~~~~~ jsopcode.cpp:1428:5: note: expanded from macro 'LOAD_ATOM' GET_ATOM_FROM_BYTECODE(jp->script, pc, PCOFF, atom) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsopcode.h:345:9: note: expanded from macro 'GET_ATOM_FROM_BYTECODE' JS_GET_SCRIPT_ATOM(script, pc, index_, atom); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:603:22: note: expanded from macro 'JS_GET_SCRIPT_ATOM' (atom) = COMMON_ATOMS_START(&cx->runtime->atomState)[index]; \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsopcode.cpp:59: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsopcode.cpp:59: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsopcode.cpp:59: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsopcode.cpp:59: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsopcode.cpp:59: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsopcode.cpp:59: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsopcode.cpp:59: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsopcode.cpp:59: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsopcode.cpp:69: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsopcode.cpp:69: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsopcode.cpp:69: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ jsopcode.cpp:1891:5: warning: unused typedef 'js_static_assert314' [-Wunused-local-typedef] JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); ^ ./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 ^ :216:1: note: expanded from here js_static_assert314 ^ In file included from jsopcode.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 70 warnings generated. jsparse.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsparse.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp In file included from jsparse.cpp:61: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsparse.cpp:64: 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 jsparse.cpp:64: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsparse.cpp:64: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsparse.cpp:66: In file included from ./jsemit.h:49: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsparse.cpp:93: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./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 jsparse.cpp:94: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: In file included from ./assembler/assembler/MacroAssemblerX86_64.h:37: In file included from ./assembler/assembler/MacroAssemblerX86Common.h:37: ./assembler/assembler/X86Assembler.h:2779:23: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] emitRexIf(byteRegRequiresRex(reg)|byteRegRequiresRex(rm), reg, 0, rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ./assembler/assembler/X86Assembler.h:2779:23: note: cast one or both operands to int to silence this warning In file included from jsparse.cpp:94: In file included from ./jsregexpinlines.h:49: In file included from ./yarr/yarr/RegexJIT.h:31: In file included from ./assembler/assembler/MacroAssembler.h:54: ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: unused variable 'label' [-Wunused-variable] DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); ^ jsparse.cpp:1824:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsparse.cpp:1831:16: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsparse.cpp:3355:20: warning: initialization of pointer of type 'JSParseNode *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ jsparse.cpp:4246:36: warning: cast from 'const JSDHashEntryHdr *' to 'const FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] const FindPropValEntry *fpve = (const FindPropValEntry *)entry; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:4280:17: warning: cast from 'JSDHashEntryHdr *' to 'FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (FindPropValEntry *) ^~~~~~~~~~~~~~~~~~~~ jsparse.cpp:4341:25: warning: cast from 'JSDHashEntryHdr *' to 'FindPropValEntry *' increases required alignment from 4 to 8 [-Wcast-align] entry = (FindPropValEntry *) ^~~~~~~~~~~~~~~~~~~~ jsparse.cpp:5061:32: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ false jsparse.cpp:8697:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] ALE_SET_INDEX(ale, assignType | oldAssignType); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:158:55: note: expanded from macro 'ALE_SET_INDEX' #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^~~~~~~~~~~~~~~ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] JSBool afterComma; ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), ^ jsparse.cpp:1201:52: note: in instantiation of member function 'js::Vector::Vector' requested here js::Vector worklist(cx); ^ jsparse.cpp:5008:1: warning: function 'RebindLets' is not needed and will not be emitted [-Wunneeded-internal-declaration] RebindLets(JSParseNode *pn, JSTreeContext *tc) ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: 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 ^ :219:1: note: expanded from here js_static_assert9 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :221:1: note: expanded from here js_static_assert10 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :213:1: note: expanded from here js_static_assert6 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :215:1: note: expanded from here js_static_assert7 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :217:1: note: expanded from here js_static_assert8 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsparse.cpp:64: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsparse.cpp:64: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsparse.cpp:64: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsparse.cpp:64: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsparse.cpp:64: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsparse.cpp:64: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsparse.cpp:64: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsparse.cpp:64: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsparse.cpp:76: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsparse.cpp:76: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsparse.cpp:76: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from jsparse.cpp:62: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 66 warnings generated. jsproxy.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsproxy.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp In file included from jsproxy.cpp:43: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ In file included from jsproxy.cpp:44: 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 jsproxy.cpp:44: ./jscntxt.h:2179:14: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSAtom **' increases required alignment from 1 to 8 [-Wcast-align] ? COMMON_ATOMS_START(&cx->runtime->atomState) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./jsatom.h:445:6: note: expanded from macro 'COMMON_ATOMS_START' ((JSAtom **)((uint8 *)(state) + ATOM_OFFSET_START)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:44: ./jscntxt.h:2963:12: warning: cast from 'uint8 *' (aka 'unsigned char *') to 'JSContext *' increases required alignment from 1 to 8 [-Wcast-align] return (JSContext *) ((uint8 *) link - offsetof(JSContext, link)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:49: In file included from ./jsscope.h:59: In file included from ./jsstrinlines.h:44: In file included from ./jscntxtinlines.h:46: ./jsparse.h:654:16: warning: cast from 'char *' to 'JSParseNode *' increases required alignment from 1 to 8 [-Wcast-align] return (JSParseNode *)((char *)pn_tail - offsetof(JSParseNode, pn_next)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:51: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + isFun ? sizeof(JSFunction) : sizeof(JSObject); ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first + isFun ? sizeof(JSFunction) : sizeof(JSObject); ^ ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] setPrivate((void*) length); ^~~~~~~~~~~~~~ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: 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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h: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 jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :191:1: note: expanded from here js_static_assert6 ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :193:1: note: expanded from here js_static_assert7 ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :195:1: note: expanded from here js_static_assert8 ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :197:1: note: expanded from here js_static_assert9 ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h: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 ^ :199:1: note: expanded from here js_static_assert10 ^ In file included from jsproxy.cpp:44: 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 ^ :6:1: note: expanded from here js_static_assert39 ^ In file included from jsproxy.cpp:44: 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 ^ :16:1: note: expanded from here js_static_assert44 ^ In file included from jsproxy.cpp:44: 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 ^ :18:1: note: expanded from here js_static_assert45 ^ In file included from jsproxy.cpp:44: 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 ^ :14:1: note: expanded from here js_static_assert43 ^ In file included from jsproxy.cpp:44: 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 ^ :100:1: note: expanded from here js_static_assert47 ^ In file included from jsproxy.cpp:44: 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 ^ :102:1: note: expanded from here js_static_assert48 ^ In file included from jsproxy.cpp:44: 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 ^ :106:1: note: expanded from here js_static_assert50 ^ In file included from jsproxy.cpp:44: 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 ^ :104:1: note: expanded from here js_static_assert49 ^ In file included from jsproxy.cpp:44: 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 ^ :122:1: note: expanded from here js_static_assert58 ^ In file included from jsproxy.cpp:44: 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 ^ :124:1: note: expanded from here js_static_assert59 ^ In file included from jsproxy.cpp:44: 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 ^ :128:1: note: expanded from here js_static_assert61 ^ In file included from jsproxy.cpp:44: 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 ^ :130:1: note: expanded from here js_static_assert62 ^ In file included from jsproxy.cpp:49: In file included from ./jsscope.h:59: ./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 ^ :237:1: note: expanded from here js_static_assert65 ^ In file included from jsproxy.cpp:49: In file included from ./jsscope.h:59: ./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 ^ :239:1: note: expanded from here js_static_assert66 ^ In file included from jsproxy.cpp:49: ./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 ^ :241:1: note: expanded from here js_static_assert67 ^ In file included from jsproxy.cpp:44: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] JSString mDummy; ^ 42 warnings generated. jsprf.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsprf.o -c -fvisibility=hidden -DOSTYPE=\"Darwin22.6.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp In file included from jsprf.cpp:52: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; ^ ./jspubtd.h:175:22: note: previous use is here struct JS_FRIEND_API(JSCrossCompartmentWrapper); ^ jsprf.cpp:644:9: error: use of undeclared identifier 'va_copy' VARARGS_ASSIGN(nas[cn].ap, ap); ^ jsprf.cpp:60:41: note: expanded from macro 'VARARGS_ASSIGN' #define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar) ^ ././js-confdefs.h:97:17: note: expanded from macro 'VA_COPY' #define VA_COPY va_copy ^ 1 warning and 1 error generated. In the directory /Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src The following command failed to execute properly: clang++ -o jsprf.o -c -fvisibility=hidden -DOSTYPE="Darwin22.6.0" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/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 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp gmake[1]: *** [config/rules.mk:1477: jsprf.o] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' gmake: *** [config/rules.mk:754: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/lang/spidermonkey185 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/lang/spidermonkey185