+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/spidermonkey185-1.8.5nb8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/spidermonkey185-1.8.5nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spidermonkey185-1.8.5nb8 /bin/make export make[1]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' /bin/make -C config/ nsinstall make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' nsinstall.c cc -o host_nsinstall.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr nsinstall.c pathsub.c cc -o host_pathsub.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr pathsub.c In file included from /usr/include/string.h:519, from pathsub.c:49: In function 'strncpy', inlined from 'reversepath' at pathsub.c:242:6: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o nsinstall -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/pkg/lib host_nsinstall.o host_pathsub.o make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' Creating /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/.deps make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi /usr/pkg/bin/perl ./preprocessor.pl -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DX_DISPLAY_MISSING=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_METHODJIT=1 -DJS_MONOIC=1 -DJS_POLYIC=1 -DJS_POLYIC_TYPED_ARRAY=1 -DFEATURE_NANOJIT=1 -DJS_TRACER=1 -DAVMPLUS_AMD64=1 -DAVMPLUS_64BIT=1 -DAVMPLUS_UNIX=1 -DAVMPLUS_LINUX=1 -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_HAVE_STDINT_H=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\<new\> -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_ICONV=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\<malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ -DBUILD_STATIC_LIBS= \ ./system-headers | /usr/pkg/bin/perl ./make-system-wrappers.pl system_wrappers_js /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config' make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline' Creating /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline/.deps make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/editline' make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell' Creating /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell/.deps make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' Creating /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests/.deps make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/tests' make[2]: Nothing to be done for 'export'. make[2]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/tests' c++ -DMDCPUCFG=\"md/_linux.cfg\" -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/pkg/include/nspr -o jscpucfg jscpucfg.cpp jskwgen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jskwgen.cpp ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /home/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 make[1]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' /bin/make libs make[1]: Entering directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' /usr/pkg/bin/python2.7 imacro_asm.py ./imacros.jsasm /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/imacros.c.out jsoplengen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jsoplengen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsapi.cpp jsanalyze.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsapi.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsapi.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsapi.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:52: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': jsanalyze.h:87:16: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here 56 | struct Bytecode | ^~~~~~~~ In file included from jsapi.cpp:94: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsapi.cpp:97: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: warning: converting 'false' to pointer type 'JSIdArray*' [-Wconversion-null] 3988 | return false; | ^~~~~ jsapi.cpp: In function 'JSObject* JS_New(JSContext*, JSObject*, uintN, jsval*)': jsapi.cpp:5182:11: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class js::Value' with 'private' member 'js::Value::data' from an array of 'jsval' {aka 'long unsigned int'}; use assignment or copy-initialization instead [-Wclass-memaccess] 5182 | memcpy(args.argv(), argv, argc * sizeof(jsval)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsobj.h:64, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsapi.cpp:57: jsvalue.h:331:7: note: 'class js::Value' declared here 331 | class Value | ^~~~~ jsarena.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp In file included from jsbit.h:44, from jsarena.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ jsarray.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp In file included from jsarray.cpp:84: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsarray.cpp:85: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsarray.cpp:84: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:84: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsarray.cpp:110: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsarray.cpp:84: jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT' 230 | JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~ jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT' 256 | JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, from jsarray.cpp:90: jsarray.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_EnsureDenseArrayCapacity' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 497 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_ArrayCompPush_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2110 | JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseEmptyArray' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 3106 | JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseAllocatedArray' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3108 | JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseUnallocatedArray' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3110 | JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp In file included from jsatom.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.cpp:50: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsatom.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsbool.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsbool.cpp:46: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsbool.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:65: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:51: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsatom.cpp:864:9: note: in expansion of macro 'ALE_SET_INDEX' 864 | ALE_SET_INDEX(ale, count++); | ^~~~~~~~~~~~~ jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)': jsatom.cpp:956:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] 956 | uint32 count; | ^~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsbool.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsclone.h:42, from jsclone.cpp:39: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:58: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ In file included from jsatom.h:47, from jscntxt.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:58: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsregexpinlines.h:45, from jsclone.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsclone.cpp:44: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jscntxt.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsclone.cpp: In member function 'bool js::SCInput::readArray(T*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:203:5: note: in expansion of macro 'JS_STATIC_ASSERT' 203 | JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); | ^~~~~~~~~~~~~~~~ jsclone.cpp: In function 'uint32_t ArrayTypeToTag(uint32_t)': jsutil.h:120:43: warning: typedef 'js_static_assert75' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:408:5: note: in expansion of macro 'JS_STATIC_ASSERT' 408 | JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:409:5: note: in expansion of macro 'JS_STATIC_ASSERT' 409 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:410:5: note: in expansion of macro 'JS_STATIC_ASSERT' 410 | JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:411:5: note: in expansion of macro 'JS_STATIC_ASSERT' 411 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert79' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:412:5: note: in expansion of macro 'JS_STATIC_ASSERT' 412 | JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:413:5: note: in expansion of macro 'JS_STATIC_ASSERT' 413 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:414:5: note: in expansion of macro 'JS_STATIC_ASSERT' 414 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert82' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:415:5: note: in expansion of macro 'JS_STATIC_ASSERT' 415 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:416:5: note: in expansion of macro 'JS_STATIC_ASSERT' 416 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 8); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:417:5: note: in expansion of macro 'JS_STATIC_ASSERT' 417 | JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); | ^~~~~~~~~~~~~~~~ In file included from assembler/assembler/MacroAssembler.h:54, from jscntxt.cpp:84: assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ In file included from jscntxt.cpp:90: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jscntxt.cpp:58: jscntxt.cpp: In function 'JSContext* js_NewContext(JSRuntime*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:768:5: note: in expansion of macro 'JS_STATIC_ASSERT' 768 | JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); | ^~~~~~~~~~~~~~~~ jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jscompartment.cpp:41: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsdate.cpp:63: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdate.cpp:64: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsdate.cpp:66: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:63: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsdate.cpp:74: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsdate.cpp:66: jsdate.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)date_now_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsdate.cpp:2459:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 2459 | JS_DEFINE_TRCINFO_1(date_now, | ^~~~~~~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from methodjit/PolyIC.h:46, from jscompartment.cpp:51: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ In file included from methodjit/BaseAssembler.h:53, from methodjit/PolyIC.h:50, from jscompartment.cpp:51: ./jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ./jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::TraceMonitor]': jscompartment.cpp:86:12: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::TraceMonitor' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:42: jscompartment.h:159:8: note: 'struct js::TraceMonitor' declared here 159 | struct TraceMonitor { | ^~~~~~~~~~~~ jsdbgapi.cpp c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdbgapi.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ jsdhash.cpp c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp In file included from jsdbgapi.cpp:72: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from methodjit/PunboxAssembler.h:43, from methodjit/CodeGenIncludes.h:58, from methodjit/Compiler.h:47, from methodjit/Retcon.h:52, from jsdbgapi.cpp:79: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ In file included from jsbit.h:44, from jsdhash.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:87:16: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from methodjit/Compiler.h:43, from methodjit/Retcon.h:52, from jsdbgapi.cpp:79: ./jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here 56 | struct Bytecode | ^~~~~~~~ jsdtoa.cpp c++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdtoa.cpp:47: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:54: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsemit.cpp c++ -o jsemit.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp In file included from jsemit.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsemit.cpp:55: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsemit.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:73: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsexn.cpp c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsemit.cpp:52: jsemit.cpp: In member function 'bool JSTreeContext::ensureSharpSlots()': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1318:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1318 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ jsemit.cpp: In function 'JSOp EmitBigIndexPrefix(JSContext*, JSCodeGenerator*, uintN)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1773:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1773 | JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1774:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1774 | JS_STATIC_ASSERT(INDEX_LIMIT >= | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:56: jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' 2458 | ALE_SET_INDEX(ale, cookie->asInteger()); | ^~~~~~~~~~~~~ jsemit.cpp: In function 'JSBool EmitVariables(JSContext*, JSCodeGenerator*, JSParseNode*, JSBool, ptrdiff_t*)': jsemit.cpp:4100:10: warning: variable 'forInLet' set but not used [-Wunused-but-set-variable] 4100 | bool forInLet, popScope; | ^~~~~~~~ jsemit.cpp: In function 'JSBool js_EmitTree(JSContext*, JSCodeGenerator*, JSParseNode*)': jsemit.cpp:5675:19: warning: variable 'blockObj' set but not used [-Wunused-but-set-variable] 5675 | JSObject *blockObj; | ^~~~~~~~ In file included from jsbit.h:44, from jsexn.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsexn.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsbit.h:44, from jsexn.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsexn.cpp:67: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsexn.cpp:48: jsexn.cpp: In function 'JSErrorReport* CopyErrorReport(JSContext*, JSErrorReport*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:146:5: note: in expansion of macro 'JS_STATIC_ASSERT' 146 | JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:147:5: note: in expansion of macro 'JS_STATIC_ASSERT' 147 | JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:257:5: note: in expansion of macro 'JS_STATIC_ASSERT' 257 | JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'JSBool exn_enumerate(JSContext*, JSObject*)': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:440:5: note: in expansion of macro 'JS_STATIC_ASSERT' 440 | JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); | ^~~~~~~~~~~~~~~~ jsfriendapi.cpp c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsfriendapi.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsfun.cpp c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp In file included from jsbit.h:44, from jsfun.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsfun.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsbit.h:44, from jsfun.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsfun.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsfun.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsfun.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsfun.cpp:47: jsfun.cpp: In function 'JSObject* NewArguments(JSContext*, JSObject*, uint32, JSObject&)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:186:5: note: in expansion of macro 'JS_STATIC_ASSERT' 186 | JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); | ^~~~~~~~~~~~~~~~ In file included from jsfun.cpp:53: jsfun.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_NewArgumentsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:301:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 301 | JS_DEFINE_CALLINFO_4(extern, OBJECT, js_NewArgumentsOnTrace, CONTEXT, OBJECT, UINT32, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_PutArgumentsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 326 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_PutArgumentsOnTrace, CONTEXT, OBJECT, VALUEPTR, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CreateCallObjectOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1062:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 1062 | JS_DEFINE_CALLINFO_4(extern, OBJECT, js_CreateCallObjectOnTrace, CONTEXT, FUNCTION, OBJECT, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_PutCallObjectOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:389:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 389 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1169:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_6' 1169 | JS_DEFINE_CALLINFO_6(extern, BOOL, js_PutCallObjectOnTrace, CONTEXT, OBJECT, UINT32, VALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_SetCallArg' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1317:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 1317 | JS_DEFINE_CALLINFO_4(extern, BOOL, js_SetCallArg, CONTEXT, OBJECT, JSID, VALUE, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_SetCallVar' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 1326 | JS_DEFINE_CALLINFO_4(extern, BOOL, js_SetCallVar, CONTEXT, OBJECT, JSID, VALUE, 0, | ^~~~~~~~~~~~~~~~~~~~ jsfun.cpp: In function 'JSString* fun_toStringHelper(JSContext*, JSObject*, uintN)': jsfun.cpp:2054:16: warning: converting 'false' to pointer type 'JSString*' [-Wconversion-null] 2054 | return false; | ^~~~~ jsfun.cpp: In function 'const js::Shape* js::LookupInterpretedFunctionPrototype(JSContext*, JSObject*)': jsfun.cpp:2660:20: warning: converting 'false' to pointer type 'const js::Shape*' [-Wconversion-null] 2660 | return false; | ^~~~~ In file included from jsfun.cpp:53: jsfun.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CloneFunctionObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:2819:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 2819 | JS_DEFINE_CALLINFO_4(extern, OBJECT, js_CloneFunctionObject, CONTEXT, FUNCTION, OBJECT, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_AllocFlatClosure' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:2853:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2853 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_AllocFlatClosure, | ^~~~~~~~~~~~~~~~~~~~ jsgc.cpp c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.cpp In file included from jsgc.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsgc.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsgc.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsgc.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsgc.cpp:56: jsgc.cpp: In function 'js::gc::ConservativeGCTest js::MarkIfGCThingWord(JSTracer*, jsuword, uint32&)': jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.cpp:610:5: note: in expansion of macro 'JS_STATIC_ASSERT' 610 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 4); | ^~~~~~~~~~~~~~~~ jsgc.cpp: In function 'void FinalizeArenaList(JSCompartment*, JSContext*, unsigned int)': jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.cpp:1893:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1893 | JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); | ^~~~~~~~~~~~~~~~ jsgcchunk.cpp c++ -o jsgcchunk.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsgcchunk.h:43, from jsgcchunk.cpp:37: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ jsgcstats.cpp c++ -o jsgcstats.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsgcstats.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsgcstats.cpp:44: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsatom.h:50, from jsgc.cpp:62: In member function 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry::operator=(const js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]', inlined from 'static void js::detail::HashTable<T, HashPolicy, AllocPolicy>::assignT(js::detail::HashTable<T, HashPolicy, AllocPolicy>::NonConstT&, const T&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:68:61, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry::operator=(const js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:76:74, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:558:16, inlined from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:923:67, inlined from 'void js_FinishGC(JSRuntime*)' at jsgc.cpp:876:26: jshashtable.h:776:13: warning: '*(unsigned char (*)[12])((char*)&<unnamed> + offsetof(js::detail::HashTable<js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry, js::detail::HashTable<js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry::t.js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry::value.js::RootInfo::name))' may be used uninitialized [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ jshashtable.h: In function 'void js_FinishGC(JSRuntime*)': jshashtable.h:558:18: note: '<anonymous>' declared here 558 | *e = Entry(); | ^~~~~~~ jshash.cpp c++ -o jshash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp In file included from jsbit.h:44, from jshash.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In member function 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry::operator=(const js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]', inlined from 'static void js::detail::HashTable<T, HashPolicy, AllocPolicy>::assignT(js::detail::HashTable<T, HashPolicy, AllocPolicy>::NonConstT&, const T&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:68:61, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry::setRemoved() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:83:71, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:534:25, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Ptr) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:681:15, inlined from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::remove(js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Ptr) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:830:68, inlined from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::remove(const Lookup&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:951:19, inlined from 'JSBool js_RemoveRoot(JSRuntime*, void*)' at jsgc.cpp:941:27: jshashtable.h:776:13: warning: '*(unsigned char (*)[12])((char*)&<unnamed> + offsetof(js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry::value.js::RootInfo::name))' may be used uninitialized [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ jshashtable.h: In function 'JSBool js_RemoveRoot(JSRuntime*, void*)': jshashtable.h:83:75: note: '<anonymous>' declared here 83 | void setRemoved() { keyHash = sRemovedKey; assignT(t, T()); } | ^~~ In member function 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry::operator=(const js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]', inlined from 'static void js::detail::HashTable<T, HashPolicy, AllocPolicy>::assignT(js::detail::HashTable<T, HashPolicy, AllocPolicy>::NonConstT&, const T&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:68:61, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry::setFree() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:81:68, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:538:22, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Ptr) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:681:15, inlined from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::remove(js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Ptr) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:830:68, inlined from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::remove(const Lookup&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:951:19, inlined from 'JSBool js_RemoveRoot(JSRuntime*, void*)' at jsgc.cpp:941:27: jshashtable.h:776:13: warning: '*(unsigned char (*)[12])((char*)&<unnamed> + offsetof(js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry::value.js::RootInfo::name))' may be used uninitialized [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ jshashtable.h: In function 'JSBool js_RemoveRoot(JSRuntime*, void*)': jshashtable.h:81:72: note: '<anonymous>' declared here 81 | void setFree() { keyHash = sFreeKey; assignT(t, T()); } | ^~~ In member function 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry::operator=(const js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]', inlined from 'static void js::detail::HashTable<T, HashPolicy, AllocPolicy>::assignT(js::detail::HashTable<T, HashPolicy, AllocPolicy>::NonConstT&, const T&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:68:61, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry::setRemoved() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:83:71, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:534:25, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Enum::removeFront() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:207:25, inlined from 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)' at jsgc.cpp:1009:26: jshashtable.h:776:13: warning: '*(unsigned char (*)[12])((char*)&<unnamed> + offsetof(js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry::value.js::RootInfo::name))' may be used uninitialized [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ jshashtable.h: In function 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': jshashtable.h:83:75: note: '<anonymous>' declared here 83 | void setRemoved() { keyHash = sRemovedKey; assignT(t, T()); } | ^~~ In member function 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry::operator=(const js::HashMap<Key, Value, HashPolicy, AllocPolicy>::Entry&) [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]', inlined from 'static void js::detail::HashTable<T, HashPolicy, AllocPolicy>::assignT(js::detail::HashTable<T, HashPolicy, AllocPolicy>::NonConstT&, const T&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:68:61, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry::setFree() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:81:68, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::remove(js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry&) [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:538:22, inlined from 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::Enum::removeFront() [with T = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]' at jshashtable.h:207:25, inlined from 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)' at jsgc.cpp:1009:26: jshashtable.h:776:13: warning: '*(unsigned char (*)[12])((char*)&<unnamed> + offsetof(js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::Entry::value.js::RootInfo::name))' may be used uninitialized [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ jshashtable.h: In function 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': jshashtable.h:81:72: note: '<anonymous>' declared here 81 | void setFree() { keyHash = sFreeKey; assignT(t, T()); } | ^~~ jsinterp.cpp c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp In file included from jsinterp.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsinterp.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsinterp.cpp:50: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from methodjit/MonoIC.h:44, from jsinterp.cpp:100: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ jsinvoke.cpp c++ -o jsinvoke.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsinterp.cpp:52, from jsinvoke.cpp:42: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsinterp.cpp:75, from jsinvoke.cpp:42: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85, from jsinvoke.cpp:42: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from methodjit/MonoIC.h:44, from jsinterp.cpp:100, from jsinvoke.cpp:42: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsinterp.cpp: In function 'bool js::Execute(JSContext*, JSObject*, JSScript*, JSStackFrame*, uintN, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.cpp:993:5: note: in expansion of macro 'JS_STATIC_ASSERT' 993 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ jsiter.cpp c++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp In file included from jsiter.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsiter.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsiter.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsiter.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsiter.cpp:80: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsiter.cpp:47: jsiter.cpp: In function 'bool js::VectorToIdArray(JSContext*, js::AutoIdVector&, JSIdArray**)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsiter.cpp:339:5: note: in expansion of macro 'JS_STATIC_ASSERT' 339 | JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); | ^~~~~~~~~~~~~~~~ jsiter.cpp: In function 'JSObject* NewIteratorObject(JSContext*, uintN)': jsiter.cpp:428:20: warning: converting 'false' to pointer type 'JSObject*' [-Wconversion-null] 428 | return false; | ^~~~~ jslock.cpp c++ -o jslock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp In file included from jsval.h:48, from jspubtd.h:47, from jslock.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jslock.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jslock.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ jslock.cpp: In function 'int js_SuspendThread(JSThinLock*)': jslock.cpp:585:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 585 | PRStatus stat; | ^~~~ jslock.cpp: In function 'void js_ResumeThread(JSThinLock*)': jslock.cpp:615:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 615 | PRStatus stat; | ^~~~ jslog2.cpp c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp In file included from jsbit.h:44, from jslog2.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsmath.cpp:48: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsmath.cpp:50: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsmath.cpp:50: jsmath.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_math_abs_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:680:1: note: in expansion of macro 'MATH_BUILTIN_1' 680 | MATH_BUILTIN_1(js_math_abs, fabs) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_atan_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:681:1: note: in expansion of macro 'MATH_BUILTIN_1' 681 | MATH_BUILTIN_1(math_atan, atan) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_sin_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:682:1: note: in expansion of macro 'MATH_BUILTIN_1' 682 | MATH_BUILTIN_1(math_sin, sin) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_cos_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:683:1: note: in expansion of macro 'MATH_BUILTIN_1' 683 | MATH_BUILTIN_1(math_cos, cos) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_sqrt_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:684:1: note: in expansion of macro 'MATH_BUILTIN_1' 684 | MATH_BUILTIN_1(math_sqrt, sqrt) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_tan_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:685:1: note: in expansion of macro 'MATH_BUILTIN_1' 685 | MATH_BUILTIN_1(math_tan, tan) | ^~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_exp_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:715:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 715 | JS_DEFINE_TRCINFO_1(math_exp, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_acos_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:807:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 807 | JS_DEFINE_TRCINFO_1(math_acos, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_asin_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:809:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 809 | JS_DEFINE_TRCINFO_1(math_asin, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_atan2_kernel' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:811:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 811 | JS_DEFINE_TRCINFO_1(math_atan2, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_floor_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:813:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 813 | JS_DEFINE_TRCINFO_1(js_math_floor, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_log_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:815:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 815 | JS_DEFINE_TRCINFO_1(math_log, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_max_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:817:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 817 | JS_DEFINE_TRCINFO_1(js_math_max, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_min_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:819:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 819 | JS_DEFINE_TRCINFO_1(js_math_min, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_pow_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:821:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 821 | JS_DEFINE_TRCINFO_1(math_pow, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_random_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:823:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 823 | JS_DEFINE_TRCINFO_1(math_random, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_round_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:825:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 825 | JS_DEFINE_TRCINFO_1(js_math_round, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)math_ceil_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:827:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 827 | JS_DEFINE_TRCINFO_1(js_math_ceil, | ^~~~~~~~~~~~~~~~~~~ jsnativestack.cpp c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp In file included from jsval.h:48, from jspubtd.h:47, from jsnativestack.h:42, from jsnativestack.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp In file included from jsnum.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsnum.cpp:57: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsnum.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsnum.cpp:59: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:56: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsnum.cpp:75: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsnum.cpp:59: jsnum.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 516 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 513 | JS_DEFINE_TRCINFO_2(num_parseInt, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseIntDouble' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 517 | _JS_DEFINE_CALLINFO_n tn1 \ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 513 | JS_DEFINE_TRCINFO_2(num_parseInt, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseFloat' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:517:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 517 | JS_DEFINE_TRCINFO_1(num_parseFloat, | ^~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:56: jsnum.cpp: In constructor 'js::ToCStringBuf::ToCStringBuf()': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:594:5: note: in expansion of macro 'JS_STATIC_ASSERT' 594 | JS_STATIC_ASSERT(sbufSize >= DTOSTR_STANDARD_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~ jsnum.cpp: In function 'JSString* js_IntToString(JSContext*, int32)': jsutil.h:120:43: warning: typedef 'js_static_assert72' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:627:5: note: in expansion of macro 'JS_STATIC_ASSERT' 627 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); | ^~~~~~~~~~~~~~~~ In file included from jsnum.cpp:59: jsnum.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_NumberToString' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 516 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 934 | JS_DEFINE_TRCINFO_2(num_toString, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_NumberToStringWithBase' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 517 | _JS_DEFINE_CALLINFO_n tn1 \ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 934 | JS_DEFINE_TRCINFO_2(num_toString, | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp In file included from jsbit.h:44, from jsobj.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsobj.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsbit.h:44, from jsobj.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ json.cpp c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsobj.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsobj.cpp:49: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from json.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ In file included from jsobj.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp:221:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); | ^~~~~~~~~~~~~~~~ jsobj.cpp:280:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 280 | he->value = (void *) sharpid; | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsobj.cpp:58: jsobj.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_Object_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 548 | #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ jsobj.cpp:2968:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 2968 | JS_DEFINE_TRCINFO_1(js_Object, | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_InitializerObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:2983:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2983 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_InitializerObject, CONTEXT, OBJECT, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_String_tn' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:2996:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2996 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_String_tn, CONTEXT, CALLEE_PROTOTYPE, STRING, 0, | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CreateThisFromTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} is ill-formed in C++11 [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:3029:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3029 | JS_DEFINE_CALLINFO_3(extern, CONSTRUCTOR_RETRY, js_CreateThisFromTrace, CONTEXT, OBJECT, UINTN, 0, | ^~~~~~~~~~~~~~~~~~~~ In file included from json.cpp:66: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsopcode.cpp c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsopcode.cpp:54: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsopcode.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsopcode.cpp:54: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsopcode.cpp:73: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:77: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsopcode.cpp: In function 'jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)': jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] 1572 | JSOp op, saveop; | ^~~~~~ In file included from jsopcode.cpp:54: jsopcode.cpp: In function 'jsbytecode* Decompile(SprintStack*, jsbytecode*, intN, JSOp)': jsutil.h:120:43: warning: typedef 'js_static_assert314' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1891:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1891 | JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); | ^~~~~~~~~~~~~~~~ jsparse.cpp c++ -o jsparse.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp In file included from jsparse.cpp:60: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsparse.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsparse.cpp:60: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsparse.cpp:93: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsparse.cpp:94: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ jsproxy.cpp c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp jsparse.cpp: In member function 'JSParseNode* js::Parser::functionDef(JSAtom*, js::Parser::FunctionType, uintN)': jsparse.cpp:3355:20: warning: converting 'false' to pointer type 'JSParseNode*' [-Wconversion-null] 3355 | return false; | ^~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsarray.h:47, from jsparse.cpp:62: jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' 8697 | ALE_SET_INDEX(ale, assignType | oldAssignType); | ^~~~~~~~~~~~~ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] 8540 | JSBool afterComma; | ^~~~~~~~~~ In file included from jsproxy.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:51: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.14.0-427.24.1.el9_4\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp In file included from jsprf.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsstr.h:52, from jsprf.cpp:53: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted<jsval> { }; | ^ In file included from jsprf.cpp:51: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ In file included from <command-line>: jsprf.cpp: In function 'NumArgState* BuildArgArray(const char*, __va_list_tag*, int*, NumArgState*)': ././js-confdefs.h:116:17: error: 'va_copy' was not declared in this scope; did you mean 'bcopy'? 116 | #define VA_COPY va_copy | ^~~~~~~ jsprf.cpp:60:41: note: in expansion of macro 'VA_COPY' 60 | #define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar) | ^~~~~~~ jsprf.cpp:644:9: note: in expansion of macro 'VARARGS_ASSIGN' 644 | VARARGS_ASSIGN(nas[cn].ap, ap); | ^~~~~~~~~~~~~~ make[1]: *** [config/rules.mk:1477: jsprf.o] Error 1 make[1]: *** Waiting for unfinished jobs.... jsparse.cpp: In function 'bool DefineGlobal(JSParseNode*, JSCodeGenerator*, JSAtom*)': jsparse.cpp:3754:17: warning: 'def' may be used uninitialized [-Wmaybe-uninitialized] 3754 | def = GlobalScope::GlobalDef(shape->slot); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:3736:32: note: 'def' declared here 3736 | GlobalScope::GlobalDef def; | ^~~ jsparse.cpp:3756:17: warning: 'def' may be used uninitialized [-Wmaybe-uninitialized] 3756 | def = GlobalScope::GlobalDef(atom, funbox); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:3736:32: note: 'def' declared here 3736 | GlobalScope::GlobalDef def; | ^~~ make[1]: Leaving directory '/home/pbulk/build/lang/spidermonkey185/work/js-1.8.5/js/src' make: *** [config/rules.mk:754: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/spidermonkey185 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/spidermonkey185