Mock Version: 1.4.19 Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '46ea193c98c844eaa7953e187f963e93', '-D', '/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/js.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '46ea193c98c844eaa7953e187f963e93', '-D', '/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/js.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: js warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: js warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: js-devel warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: js-devel Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1527120000 setting SOURCE_DATE_EPOCH=1527120000 Wrote: /builddir/build/SRPMS/couch-js-1.8.5-21.fc31.src.rpm Wrote: /builddir/build/SRPMS/couch-js-1.8.5-21.fc31.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dcc37653ee074063bb1de4205928a890', '-D', '/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/js.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dcc37653ee074063bb1de4205928a890', '-D', '/var/lib/mock/1042675-fedora-31-x86_64-1569855379.342827/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oicaxm8:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/js.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: js warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: js warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: js-devel warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: js-devel Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1527120000 setting SOURCE_DATE_EPOCH=1527120000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KcDmzw Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KcDmzw + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf js-1.8.5 + rm -rf js-1.8.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/js185-1.0.0.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/js185-1.0.0.tar.gz + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd js-1.8.5 + cd js-1.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Allow-to-build-against-system-libffi.patch):' + echo 'Patch #0 (Allow-to-build-against-system-libffi.patch):' Patch #0 (Allow-to-build-against-system-libffi.patch): Patch #0 (Allow-to-build-against-system-libffi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in patching file js/src/Makefile.in patching file js/src/config/autoconf.mk.in patching file js/src/config/autoconf.mk.in patching file js/src/configure.in patching file js/src/configure.in patching file js/src/shell/Makefile.in patching file js/src/shell/Makefile.in + echo 'Patch #1 (Force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch):' + echo 'Patch #1 (Force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch):' Patch #1 (Force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch): Patch #1 (Force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/nanojit/NativeARM.cpp patching file js/src/nanojit/NativeARM.cpp + echo 'Patch #2 (Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch):' + echo 'Patch #2 (Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch):' Patch #2 (Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch): Patch #2 (Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in patching file js/src/Makefile.in + echo 'Patch #3 (Bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch):' + echo 'Patch #3 (Bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch):' Patch #3 (Bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch): Patch #3 (Bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure.in patching file js/src/configure.in + echo 'Patch #4 (Bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch):' + echo 'Patch #4 (Bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch):' Patch #4 (Bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch): Patch #4 (Bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure.in patching file js/src/configure.in + echo 'Patch #5 (64bit-big-endian.patch):' + echo 'Patch #5 (64bit-big-endian.patch):' Patch #5 (64bit-big-endian.patch): Patch #5 (64bit-big-endian.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsval.h patching file js/src/jsval.h patching file js/src/jsvalue.h patching file js/src/jsvalue.h + echo 'Patch #6 (destdir.patch):' + echo 'Patch #6 (destdir.patch):' Patch #6 (destdir.patch): Patch #6 (destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in patching file js/src/Makefile.in + echo 'Patch #7 (fix-map-pages-on-ia64.patch):' + echo 'Patch #7 (fix-map-pages-on-ia64.patch):' Patch #7 (fix-map-pages-on-ia64.patch): Patch #7 (fix-map-pages-on-ia64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsgcchunk.cpp patching file js/src/jsgcchunk.cpp + echo 'Patch #8 (disable-static-strings-on-ia64.patch):' + echo 'Patch #8 (disable-static-strings-on-ia64.patch):' Patch #8 (disable-static-strings-on-ia64.patch): Patch #8 (disable-static-strings-on-ia64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsatom.cpp patching file js/src/jsatom.cpp patching file js/src/jsiter.cpp patching file js/src/jsiter.cpp patching file js/src/jsnum.cpp patching file js/src/jsnum.cpp patching file js/src/jsstr.cpp patching file js/src/jsstr.cpp patching file js/src/jsstr.h patching file js/src/jsstr.h patching file js/src/jsstrinlines.h patching file js/src/jsstrinlines.h patching file js/src/jstracer.cpp patching file js/src/jstracer.cpp patching file js/src/jstracer.h patching file js/src/jstracer.h patching file js/src/tracejit/Writer.cpp patching file js/src/tracejit/Writer.cpp + echo 'Patch #9 (autoconf.patch):' + echo 'Patch #9 (autoconf.patch):' Patch #9 (autoconf.patch): Patch #9 (autoconf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure patching file js/src/configure + echo 'Patch #10 (disable-nanojit-on-sparc64.patch):' + echo 'Patch #10 (disable-nanojit-on-sparc64.patch):' Patch #10 (disable-nanojit-on-sparc64.patch): Patch #10 (disable-nanojit-on-sparc64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure patching file js/src/configure patching file js/src/configure.in patching file js/src/configure.in + echo 'Patch #11 (fix-811665.patch):' + echo 'Patch #11 (fix-811665.patch):' Patch #11 (fix-811665.patch): Patch #11 (fix-811665.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/ctypes/CTypes.cpp patching file js/src/ctypes/CTypes.cpp patching file js/src/jsapi.cpp patching file js/src/jsapi.cpp patching file js/src/jsfun.cpp patching file js/src/jsfun.cpp patching file js/src/jsiter.cpp patching file js/src/jsiter.cpp patching file js/src/jsparse.cpp patching file js/src/jsparse.cpp patching file js/src/jsstr.cpp patching file js/src/jsstr.cpp patching file js/src/jstypedarray.cpp patching file js/src/jstypedarray.cpp patching file js/src/jsxml.cpp patching file js/src/jsxml.cpp patching file js/src/methodjit/InvokeHelpers.cpp patching file js/src/methodjit/InvokeHelpers.cpp patching file js/src/nanojit/NativeX64.cpp patching file js/src/nanojit/NativeX64.cpp Patch #12 (M68k-alignment-fixes.patch): Patch #12 (M68k-alignment-fixes.patch): + echo 'Patch #12 (M68k-alignment-fixes.patch):' + echo 'Patch #12 (M68k-alignment-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jscntxt.h patching file js/src/jscntxt.h patching file js/src/jsinterp.h patching file js/src/jsinterp.h patching file js/src/jsscript.h patching file js/src/jsscript.h Patch #13 (disable-nanojit-on-x32.patch): Patch #13 (disable-nanojit-on-x32.patch): + echo 'Patch #13 (disable-nanojit-on-x32.patch):' + echo 'Patch #13 (disable-nanojit-on-x32.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in patching file js/src/Makefile.in patching file js/src/configure patching file js/src/configure patching file js/src/configure.in patching file js/src/configure.in Patch #14 (disable-yarrjit-on-x32.patch): Patch #14 (disable-yarrjit-on-x32.patch): + echo 'Patch #14 (disable-yarrjit-on-x32.patch):' + echo 'Patch #14 (disable-yarrjit-on-x32.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/assembler/wtf/Platform.h patching file js/src/assembler/wtf/Platform.h Patch #15 (fix-cas-on-x32.patch): Patch #15 (fix-cas-on-x32.patch): + echo 'Patch #15 (fix-cas-on-x32.patch):' + echo 'Patch #15 (fix-cas-on-x32.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jslock.cpp patching file js/src/jslock.cpp + echo 'Patch #16 (0001-Make-js-config.h-multiarch-compatible.patch):' + echo 'Patch #16 (0001-Make-js-config.h-multiarch-compatible.patch):' Patch #16 (0001-Make-js-config.h-multiarch-compatible.patch): Patch #16 (0001-Make-js-config.h-multiarch-compatible.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure.in patching file js/src/configure.in Hunk #1 succeeded at 3136 (offset 2 lines). Hunk #1 succeeded at 3136 (offset 2 lines). patching file js/src/js-config.h.in patching file js/src/js-config.h.in patching file js/src/jstypes.h patching file js/src/jstypes.h + echo 'Patch #17 (js185-libedit.patch):' + echo 'Patch #17 (js185-libedit.patch):' Patch #17 (js185-libedit.patch): Patch #17 (js185-libedit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/configure.in patching file js/src/configure.in Hunk #1 succeeded at 5723 (offset 108 lines). Hunk #1 succeeded at 5723 (offset 108 lines). + echo 'Patch #18 (mozjs1.8.5-tag.patch):' + echo 'Patch #18 (mozjs1.8.5-tag.patch):' Patch #18 (mozjs1.8.5-tag.patch): Patch #18 (mozjs1.8.5-tag.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsval.h patching file js/src/jsval.h patching file js/src/jsvalue.h patching file js/src/jsvalue.h patching file js/src/methodjit/MethodJIT.cpp patching file js/src/methodjit/MethodJIT.cpp + echo 'Patch #19 (ppc64le.patch):' + echo 'Patch #19 (ppc64le.patch):' Patch #19 (ppc64le.patch): Patch #19 (ppc64le.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/assembler/wtf/Platform.h patching file js/src/assembler/wtf/Platform.h patching file js/src/configure.in patching file js/src/configure.in + cd js + cd js + rm -rf src/ctypes/libffi src/t src/tests/src/jstests.jar src/tracevis src/v8 + rm -rf src/ctypes/libffi src/t src/tests/src/jstests.jar src/tracevis src/v8 + pushd src + pushd src ~/build/BUILD/js-1.8.5/js/src ~/build/BUILD/js-1.8.5/js ~/build/BUILD/js-1.8.5/js/src ~/build/BUILD/js-1.8.5/js + autoconf-2.13 + autoconf-2.13 + popd + popd ~/build/BUILD/js-1.8.5/js ~/build/BUILD/js-1.8.5/js + cat + cat + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JvcAKw Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JvcAKw + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd js-1.8.5 + cd js-1.8.5 + cd js/src + cd js/src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + export LDFLAGS + '[' 1 = 1 ']' + '[' 1 = 1 ']' +++ dirname ./configure +++ dirname ./configure ++ find . -name config.guess -o -name config.sub ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/autoconf/config.sub ++ basename ./build/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/autoconf/config.sub + /usr/bin/rm -f ./build/autoconf/config.sub ++ basename ./build/autoconf/config.sub ++ basename ./build/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/autoconf/config.sub' '/usr/lib/rpm/redhat/config.sub' -> './build/autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/autoconf/config.guess ++ basename ./build/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/autoconf/config.guess + /usr/bin/rm -f ./build/autoconf/config.guess ++ basename ./build/autoconf/config.guess ++ basename ./build/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/autoconf/config.guess' '/usr/lib/rpm/redhat/config.guess' -> './build/autoconf/config.guess' + '[' 1 = 1 ']' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-nspr --disable-tests --disable-strip --enable-ctypes --enable-threadsafe --enable-system-ffi --disable-methodjit + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-nspr --disable-tests --disable-strip --enable-ctypes --enable-threadsafe --enable-system-ffi --disable-methodjit creating cache ./config.cache creating cache ./config.cache checking host system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking build system type... x86_64-redhat-linux-gnu checking build system type... x86_64-redhat-linux-gnu checking for gawk... gawk checking for gawk... gawk checking for perl5... no checking for perl5... no checking for perl... /usr/bin/perl checking for perl... /usr/bin/perl checking for gcc... gcc checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc accepts -g... yes checking for c++... c++ checking for c++... c++ checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for ranlib... ranlib checking for as... /usr/bin/as checking for as... /usr/bin/as checking for ar... ar checking for ar... ar checking for ld... ld checking for ld... ld checking for strip... strip checking for strip... strip checking for windres... no checking for windres... no checking whether gcc and cc understand -c and -o together... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for sb-conf... no checking for ve... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.030000 checking for minimum required perl version >= 5.006... 5.030000 checking for full perl installation... yes checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 checking for python2.7... /usr/bin/python2.7 checking for doxygen... : checking for doxygen... : checking for autoconf... : checking for autoconf... : checking for unzip... /usr/bin/unzip checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for zip... /usr/bin/zip checking for makedepend... no checking for makedepend... no checking for xargs... /usr/bin/xargs checking for xargs... /usr/bin/xargs checking for gmake... /usr/bin/gmake checking for gmake... /usr/bin/gmake checking for X... no checking for X... no checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether the compiler supports -Wno-variadic-macros... yes checking whether the compiler supports -Wno-variadic-macros... yes checking whether the compiler supports -Werror=return-type... yes checking whether the compiler supports -Werror=return-type... yes checking whether ld has archive extraction flags... yes checking whether ld has archive extraction flags... yes checking that static assertion macros used in autoconf tests work... yes checking that static assertion macros used in autoconf tests work... yes checking for 64-bit OS... yes checking for 64-bit OS... yes checking for Python version >= 2.5 but not 3.x... yes checking for Python version >= 2.5 but not 3.x... yes checking for ANSI C header files... yes checking for ANSI C header files... yes checking for working const... yes checking for working const... yes checking for mode_t... yes checking for mode_t... yes checking for off_t... yes checking for off_t... yes checking for pid_t... yes checking for pid_t... yes checking for size_t... yes checking for size_t... yes checking for __stdcall... no checking for __stdcall... no checking for ssize_t... yes checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for siginfo_t... yes checking for stdint.h... yes checking for stdint.h... yes checking for the alignment of void*... 8 checking for the alignment of void*... 8 checking for the size of double... 8 checking for the size of double... 8 checking for int16_t... yes checking for int16_t... yes checking for int32_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64_t... yes checking for int64... no checking for int64... no checking for uint... yes checking for uint... yes checking for uint_t... no checking for uint_t... no checking for uint16_t... no checking for uint16_t... no checking for uname.domainname... yes checking for uname.domainname... yes checking for uname.__domainname... no checking for uname.__domainname... no checking for visibility(hidden) attribute... yes checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for __force_align_arg_pointer__ attribute... yes checking for __force_align_arg_pointer__ attribute... yes checking for dirent.h that defines DIR... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for sys/byteorder.h... no checking for compat.h... no checking for compat.h... no checking for getopt.h... yes checking for getopt.h... yes checking for sys/bitypes.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for memory.h... yes checking for unistd.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for X11/XKBlib.h... no checking for io.h... no checking for io.h... no checking for sys/statvfs.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/quota.h... yes checking for mmintrin.h... yes checking for mmintrin.h... yes checking for new... yes checking for new... yes checking for sys/cdefs.h... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking for perf_event_open system call... yes checking for gethostbyname_r in -lc_r... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for dlfcn.h... yes checking for dladdr... yes checking for dladdr... yes checking for socket in -lsocket... no checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether gcc accepts -pthread... yes checking whether mmap() sees write()s... yes checking whether mmap() sees write()s... yes checking whether gcc needs -traditional... no checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for 8-bit clean memcmp... yes checking for fchmod... yes checking for fchmod... yes checking for flockfile... yes checking for flockfile... yes checking for getc_unlocked... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for _getc_nolock... no checking for getpagesize... yes checking for getpagesize... yes checking for lchown... yes checking for lchown... yes checking for localtime_r... yes checking for localtime_r... yes checking for lstat64... yes checking for lstat64... yes checking for memmove... yes checking for memmove... yes checking for random... yes checking for random... yes checking for rint... no checking for rint... no checking for sbrk... yes checking for sbrk... yes checking for snprintf... yes checking for snprintf... yes checking for stat64... yes checking for stat64... yes checking for statvfs... yes checking for statvfs... yes checking for statvfs64... yes checking for statvfs64... yes checking for strerror... yes checking for strerror... yes checking for strtok_r... yes checking for strtok_r... yes checking for truncate64... yes checking for truncate64... yes checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes checking for wcrtomb... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for res_ninit()... yes checking for gnu_get_libc_version()... yes checking for gnu_get_libc_version()... yes checking for iconv in -lc... yes checking for iconv in -lc... yes checking for iconv()... yes checking for iconv()... yes checking for iconv() with const input... no checking for iconv() with const input... no checking for an implementation of va_copy()... yes checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... no checking whether va_lists can be copied by value... no checking for gcc 3.0 ABI... yes checking for gcc 3.0 ABI... yes checking for C++ "explicit" keyword... yes checking for C++ "explicit" keyword... yes checking for C++ "typename" keyword... yes checking for C++ "typename" keyword... yes checking for modern C++ template specialization syntax support... yes checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes checking whether partial template specialization works... yes checking whether operators must be re-defined for templates derived from templates... no checking whether operators must be re-defined for templates derived from templates... no checking whether we need to cast a derived template to pass as its base class... no checking whether we need to cast a derived template to pass as its base class... no checking whether the compiler can resolve const ambiguities for templates... yes checking whether the compiler can resolve const ambiguities for templates... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for "std::" namespace... yes checking for "std::" namespace... yes checking whether standard template operator!=() is ambiguous... unambiguous checking whether standard template operator!=() is ambiguous... unambiguous checking for C++ reinterpret_cast... yes checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for trouble comparing to zero near std::operator!=()... no checking for __thread keyword for TLS variables... yes checking for __thread keyword for TLS variables... yes checking for malloc.h... (cached) yes checking for malloc.h... (cached) yes checking for strndup... yes checking for strndup... yes checking for posix_memalign... yes checking for posix_memalign... yes checking for memalign... yes checking for memalign... yes checking for valloc... yes checking for valloc... yes checking for __attribute__((always_inline))... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((noreturn))... yes checking for __attribute__((noreturn))... yes checking for LC_MESSAGES... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for localeconv... yes checking for nspr-config... /usr/bin/nspr-config checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.7.0... yes checking for NSPR - version >= 4.7.0... yes checking for pkg-config... /usr/bin/pkg-config checking for pkg-config... /usr/bin/pkg-config checking for libffi... yes checking for libffi... yes checking MOZ_FFI_CFLAGS... checking MOZ_FFI_CFLAGS... checking MOZ_FFI_LIBS... -lffi checking MOZ_FFI_LIBS... -lffi checking for valid optimization flags... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for _Unwind_Backtrace... yes checking for gcc -pipe support... yes checking for gcc -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking whether C compiler supports -fprofile-generate... yes checking whether C++ compiler has -pedantic long long bug... no checking whether C++ compiler has -pedantic long long bug... no checking for correct temporary object destruction order... yes checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking for tm_zone tm_gmtoff in struct tm... yes checking for posix_fallocate... yes checking for posix_fallocate... yes checking for setlocale... yes checking for setlocale... yes checking for localeconv... (cached) yes checking for localeconv... (cached) yes creating js-confdefs.h creating js-confdefs.h ==== js-confdefs.h ================================= ==== js-confdefs.h ================================= /* List of defines generated by configure. Included with preprocessor flag, /* List of defines generated by configure. Included with preprocessor flag, * -include, to avoid long list of -D defines on the compile command-line. * -include, to avoid long list of -D defines on the compile command-line. * Do not edit. * Do not edit. */ */ #ifndef _JS_CONFDEFS_H_ #ifndef _JS_CONFDEFS_H_ #define _JS_CONFDEFS_H_ #define _JS_CONFDEFS_H_ #define AVMPLUS_64BIT 1 #define AVMPLUS_64BIT 1 #define AVMPLUS_AMD64 1 #define AVMPLUS_AMD64 1 #define AVMPLUS_LINUX 1 #define AVMPLUS_LINUX 1 #define AVMPLUS_UNIX 1 #define AVMPLUS_UNIX 1 #define CPP_THROW_NEW throw() #define CPP_THROW_NEW throw() #define D_INO d_ino #define D_INO d_ino #define EDITLINE 1 #define EDITLINE 1 #define FEATURE_NANOJIT 1 #define FEATURE_NANOJIT 1 #define HAVE_64BIT_OS 1 #define HAVE_64BIT_OS 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CPP_ACCESS_CHANGING_USING 1 #define HAVE_CPP_ACCESS_CHANGING_USING 1 #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1 #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1 #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1 #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1 #define HAVE_CPP_EXPLICIT 1 #define HAVE_CPP_EXPLICIT 1 #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1 #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1 #define HAVE_CPP_NAMESPACE_STD 1 #define HAVE_CPP_NAMESPACE_STD 1 #define HAVE_CPP_NEW_CASTS 1 #define HAVE_CPP_NEW_CASTS 1 #define HAVE_CPP_PARTIAL_SPECIALIZATION 1 #define HAVE_CPP_PARTIAL_SPECIALIZATION 1 #define HAVE_CPP_TYPENAME 1 #define HAVE_CPP_TYPENAME 1 #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1 #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1 #define HAVE_DIRENT_H 1 #define HAVE_DIRENT_H 1 #define HAVE_DLADDR 1 #define HAVE_DLADDR 1 #define HAVE_DLOPEN 1 #define HAVE_DLOPEN 1 #define HAVE_FCHMOD 1 #define HAVE_FCHMOD 1 #define HAVE_FLOCKFILE 1 #define HAVE_FLOCKFILE 1 #define HAVE_GETC_UNLOCKED 1 #define HAVE_GETC_UNLOCKED 1 #define HAVE_GETOPT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GNU_GET_LIBC_VERSION 1 #define HAVE_GNU_GET_LIBC_VERSION 1 #define HAVE_GNU_LIBC_VERSION_H 1 #define HAVE_GNU_LIBC_VERSION_H 1 #define HAVE_I18N_LC_MESSAGES 1 #define HAVE_I18N_LC_MESSAGES 1 #define HAVE_ICONV 1 #define HAVE_ICONV 1 #define HAVE_INT16_T 1 #define HAVE_INT16_T 1 #define HAVE_INT32_T 1 #define HAVE_INT32_T 1 #define HAVE_INT64_T 1 #define HAVE_INT64_T 1 #define HAVE_LCHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINUX_QUOTA_H 1 #define HAVE_LINUX_QUOTA_H 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALTIME_R 1 #define HAVE_LOCALTIME_R 1 #define HAVE_LSTAT64 1 #define HAVE_LSTAT64 1 #define HAVE_MALLOC_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MBRTOWC 1 #define HAVE_MBRTOWC 1 #define HAVE_MEMALIGN 1 #define HAVE_MEMALIGN 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MEMORY_H 1 #define HAVE_MMINTRIN_H 1 #define HAVE_MMINTRIN_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_RANDOM 1 #define HAVE_RANDOM 1 #define HAVE_RES_NINIT 1 #define HAVE_RES_NINIT 1 #define HAVE_SBRK 1 #define HAVE_SBRK 1 #define HAVE_SETLOCALE 1 #define HAVE_SETLOCALE 1 #define HAVE_SIGINFO_T 1 #define HAVE_SIGINFO_T 1 #define HAVE_SNPRINTF 1 #define HAVE_SNPRINTF 1 #define HAVE_SSIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_STAT64 1 #define HAVE_STAT64 1 #define HAVE_STATVFS 1 #define HAVE_STATVFS 1 #define HAVE_STATVFS64 1 #define HAVE_STATVFS64 1 #define HAVE_STRERROR 1 #define HAVE_STRERROR 1 #define HAVE_STRNDUP 1 #define HAVE_STRNDUP 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOK_R 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SYS_BITYPES_H 1 #define HAVE_SYS_BITYPES_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUOTA_H 1 #define HAVE_SYS_QUOTA_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_THREAD_TLS_KEYWORD 1 #define HAVE_THREAD_TLS_KEYWORD 1 #define HAVE_TM_ZONE_TM_GMTOFF 1 #define HAVE_TM_ZONE_TM_GMTOFF 1 #define HAVE_TRUNCATE64 1 #define HAVE_TRUNCATE64 1 #define HAVE_UINT 1 #define HAVE_UINT 1 #define HAVE_UNAME_DOMAINNAME_FIELD 1 #define HAVE_UNAME_DOMAINNAME_FIELD 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VALLOC 1 #define HAVE_VALLOC 1 #define HAVE_VA_COPY 1 #define HAVE_VA_COPY 1 #define HAVE_VA_LIST_AS_ARRAY 1 #define HAVE_VA_LIST_AS_ARRAY 1 #define HAVE_VISIBILITY_ATTRIBUTE 1 #define HAVE_VISIBILITY_ATTRIBUTE 1 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_WCRTOMB 1 #define HAVE_WCRTOMB 1 #define HAVE__UNWIND_BACKTRACE 1 #define HAVE__UNWIND_BACKTRACE 1 #define HAVE___CXA_DEMANGLE 1 #define HAVE___CXA_DEMANGLE 1 #define JS_ALIGN_OF_POINTER 8 #define JS_ALIGN_OF_POINTER 8 #define JS_BYTES_PER_DOUBLE 8 #define JS_BYTES_PER_DOUBLE 8 #define JS_CPU_X64 1 #define JS_CPU_X64 1 #define JS_HAS_CTYPES 1 #define JS_HAS_CTYPES 1 #define JS_HAVE_STDINT_H 1 #define JS_HAVE_STDINT_H 1 #define JS_MONOIC 1 #define JS_MONOIC 1 #define JS_POLYIC 1 #define JS_POLYIC 1 #define JS_POLYIC_TYPED_ARRAY 1 #define JS_POLYIC_TYPED_ARRAY 1 #define JS_PUNBOX64 1 #define JS_PUNBOX64 1 #define JS_THREADSAFE 1 #define JS_THREADSAFE 1 #define JS_TRACER 1 #define JS_TRACER 1 #define MALLOC_H #define MALLOC_H #define MOZ_DLL_SUFFIX ".so" #define MOZ_DLL_SUFFIX ".so" #define NEW_H #define NEW_H #define NS_ALWAYS_INLINE __attribute__((always_inline)) #define NS_ALWAYS_INLINE __attribute__((always_inline)) #define NS_ATTR_MALLOC __attribute__((malloc)) #define NS_ATTR_MALLOC __attribute__((malloc)) #define NS_NORETURN __attribute__((noreturn)) #define NS_NORETURN __attribute__((noreturn)) #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define UNIX_ASYNC_DNS 1 #define UNIX_ASYNC_DNS 1 #define VA_COPY va_copy #define VA_COPY va_copy #define XP_UNIX 1 #define XP_UNIX 1 #define X_DISPLAY_MISSING 1 #define X_DISPLAY_MISSING 1 #define _REENTRANT 1 #define _REENTRANT 1 #endif /* _JS_CONFDEFS_H_ */ #endif /* _JS_CONFDEFS_H_ */ creating Makefile creating Makefile creating shell/Makefile creating shell/Makefile creating lirasm/Makefile creating lirasm/Makefile creating jsapi-tests/Makefile creating jsapi-tests/Makefile creating tests/Makefile creating tests/Makefile creating config/Makefile creating config/Makefile creating config/mkdepend/Makefile creating config/mkdepend/Makefile creating editline/Makefile creating editline/Makefile updating cache ./config.cache updating cache ./config.cache creating ./config.status creating ./config.status creating config/autoconf.mk creating config/autoconf.mk creating js-config.h creating js-config.h invoking make to create js-config script invoking make to create js-config script rm -f js-config.tmp rm -f js-config.tmp sed < js-config.in > js-config.tmp \ sed < js-config.in > js-config.tmp \ -e 's|@prefix@|/usr|' \ -e 's|@prefix@|/usr|' \ -e 's|@exec_prefix@|/usr|' \ -e 's|@exec_prefix@|/usr|' \ -e 's|@includedir@|/usr/include|' \ -e 's|@includedir@|/usr/include|' \ -e 's|@libdir@|/usr/lib64|' \ -e 's|@libdir@|/usr/lib64|' \ -e 's|@MOZILLA_VERSION@||' \ -e 's|@MOZILLA_VERSION@||' \ -e 's|@LIBRARY_NAME@|mozjs185|' \ -e 's|@LIBRARY_NAME@|mozjs185|' \ -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr4|' \ -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr4|' \ -e 's|@JS_CONFIG_LIBS@|-lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -ldl -lm -ldl |' \ -e 's|@JS_CONFIG_LIBS@|-lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -ldl -lm -ldl |' \ -e 's|@MOZ_JS_LIBS@|-L/usr/lib64 -lmozjs185|' \ -e 's|@MOZ_JS_LIBS@|-L/usr/lib64 -lmozjs185|' \ && mv js-config.tmp js-config && chmod +x js-config && mv js-config.tmp js-config && chmod +x js-config + make -j2 + make -j2 make export make export make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make -C config/ nsinstall make -C config/ nsinstall make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' nsinstall.c nsinstall.c gcc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/include/nspr4 -I/usr/include/nspr4 nsinstall.c gcc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/include/nspr4 -I/usr/include/nspr4 nsinstall.c pathsub.c pathsub.c gcc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/include/nspr4 -I/usr/include/nspr4 pathsub.c gcc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/include/nspr4 -I/usr/include/nspr4 pathsub.c In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from pathsub.c:49: from pathsub.c:49: In function 'strncpy', In function 'strncpy', inlined from 'reversepath' at pathsub.c:242:6: inlined from 'reversepath' at pathsub.c:242:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o gcc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' Creating /builddir/build/BUILD/js-1.8.5/js/src/.deps Creating /builddir/build/BUILD/js-1.8.5/js/src/.deps make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' rm -f nfspwd rm -f nfspwd cp nfspwd.pl nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd chmod +x nfspwd /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi /usr/bin/perl ./preprocessor.pl -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DX_DISPLAY_MISSING=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=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_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=\ -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=\ -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 -DJS_HAS_CTYPES=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 \ /usr/bin/perl ./preprocessor.pl -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DX_DISPLAY_MISSING=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=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_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=\ -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=\ -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 -DJS_HAS_CTYPES=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= \ -DBUILD_STATIC_LIBS= \ ./system-headers | /usr/bin/perl ./make-system-wrappers.pl system_wrappers_js ./system-headers | /usr/bin/perl ./make-system-wrappers.pl system_wrappers_js /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' Creating /builddir/build/BUILD/js-1.8.5/js/src/editline/.deps Creating /builddir/build/BUILD/js-1.8.5/js/src/editline/.deps make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' Creating /builddir/build/BUILD/js-1.8.5/js/src/shell/.deps Creating /builddir/build/BUILD/js-1.8.5/js/src/shell/.deps make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' c++ -DMDCPUCFG=\"md/_linux.cfg\" -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I/usr/include/nspr4 -o jscpucfg jscpucfg.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I/usr/include/nspr4 -o jscpucfg jscpucfg.cpp jskwgen.cpp jskwgen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -I/usr/include/nspr4 jskwgen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -I/usr/include/nspr4 jskwgen.cpp ./jscpucfg > jsautocfg.tmp ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h mv jsautocfg.tmp jsautocfg.h c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr host_jskwgen.o c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jskwgen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /builddir/build/BUILD/js-1.8.5/js/src/jsautokw.h ./host_jskwgen /builddir/build/BUILD/js-1.8.5/js/src/jsautokw.h /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /builddir/build/BUILD/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 /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /builddir/build/BUILD/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 mkdir -p nanojit make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make libs make libs make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' jsoplengen.cpp jsoplengen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -I/usr/include/nspr4 jsoplengen.cpp c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -I/usr/include/nspr4 jsoplengen.cpp /usr/bin/python2.7 imacro_asm.py ./imacros.jsasm /builddir/build/BUILD/js-1.8.5/js/src/imacros.c.out /usr/bin/python2.7 imacro_asm.py ./imacros.jsasm /builddir/build/BUILD/js-1.8.5/js/src/imacros.c.out c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr host_jsoplengen.o c++ -DMDCPUCFG=\"md/_linux.cfg\" -o host_jsoplengen -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /builddir/build/BUILD/js-1.8.5/js/src/jsautooplen.h ./host_jsoplengen /builddir/build/BUILD/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp jsanalyze.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsapi.cpp jsapi.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.h:45, from jsanalyze.cpp:40: from jsanalyze.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.h:45, from jsanalyze.cpp:40: from jsanalyze.cpp:40: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.h:59, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.h:45, from jsanalyze.cpp:40: from jsanalyze.cpp:40: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsapi.cpp:52: In file included from jsapi.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsapi.cpp:56: from jsapi.cpp:56: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsapi.cpp:56: In file included from jsapi.cpp:56: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.h:45, from jsanalyze.cpp:40: from jsanalyze.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsapi.cpp:52: In file included from jsapi.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': jsanalyze.h:87:21: required from here jsanalyze.h:87:21: 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] 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)); 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: In file included from jsanalyze.cpp:40: jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here 56 | struct Bytecode 56 | struct Bytecode | ^~~~~~~~ | ^~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsapi.cpp:60: from jsapi.cpp:60: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:52: In file included from jsapi.cpp:52: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsclone.h: In member function 'void js::SCInput::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsapi.cpp:94: In file included from jsapi.cpp:94: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsarena.cpp jsarena.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsarena.cpp:49: from jsarena.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsarena.cpp:51: from jsarena.cpp:51: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexpinlines.h:49, from jsapi.cpp:97: from jsapi.cpp:97: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ jsarray.cpp jsarray.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp jsapi.cpp: In function 'JSObject* JS_New(JSContext*, JSObject*, uintN, jsval*)': jsapi.cpp: In function 'JSObject* JS_New(JSContext*, JSObject*, uintN, jsval*)': jsapi.cpp:5182:51: 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] jsapi.cpp:5182:51: 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)); 5182 | memcpy(args.argv(), argv, argc * sizeof(jsval)); | ^ | ^ In file included from jsobj.h:64, In file included from jsobj.h:64, from jsstr.h:56, from jsstr.h:56, from jsatom.h:52, from jsatom.h:52, from jsarray.h:47, from jsarray.h:47, from jsapi.cpp:57: from jsapi.cpp:57: jsvalue.h:330:7: note: 'class js::Value' declared here jsvalue.h:330:7: note: 'class js::Value' declared here 330 | class Value 330 | class Value | ^~~~~ | ^~~~~ In file included from jsarray.cpp:84: In file included from jsarray.cpp:84: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsarray.cpp:85: from jsarray.cpp:85: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsarray.cpp:85: In file included from jsarray.cpp:85: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsarray.cpp:84: In file included from jsarray.cpp:84: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsarray.cpp:90: from jsarray.cpp:90: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsarray.cpp:84: In file included from jsarray.cpp:84: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsarray.cpp:110: In file included from jsarray.cpp:110: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsarray.cpp:84: In file included from jsarray.cpp:84: jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT' 230 | JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); 230 | JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT' 256 | JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); 256 | JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jsarray.cpp:90: from jsarray.cpp:90: jsarray.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 3106 | JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 3110 | JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsatom.cpp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp In file included from jsatom.cpp:47: In file included from jsatom.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsatom.cpp:50: from jsatom.cpp:50: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.cpp:50: In file included from jsatom.cpp:50: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsatom.cpp:47: In file included from jsatom.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:65: In file included from jsatom.cpp:65: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsatom.cpp:51: In file included from jsatom.cpp:51: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsatom.h:158:69: 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)) 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^ | ^ jsatom.cpp:864:9: note: in expansion of macro 'ALE_SET_INDEX' jsatom.cpp:864:9: note: in expansion of macro 'ALE_SET_INDEX' 864 | ALE_SET_INDEX(ale, count++); 864 | ALE_SET_INDEX(ale, count++); | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)': 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] jsatom.cpp:956:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] 956 | uint32 count; 956 | uint32 count; | ^~~~~ | ^~~~~ jsbool.cpp jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbool.pp jsbool.cpp In file included from jsbool.cpp:45: In file included from jsbool.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsbool.cpp:46: from jsbool.cpp:46: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsbool.cpp:46: In file included from jsbool.cpp:46: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbool.cpp:45: In file included from jsbool.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsbool.cpp:58: In file included from jsbool.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsclone.cpp jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp c++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsclone.pp jsclone.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsclone.h:42, from jsclone.h:42, from jsclone.cpp:39: from jsclone.cpp:39: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsclone.h:42, from jsclone.h:42, from jsclone.cpp:39: from jsclone.cpp:39: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsclone.h:42, In file included from jsclone.h:42, from jsclone.cpp:39: from jsclone.cpp:39: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsclone.h:42, from jsclone.h:42, from jsclone.cpp:39: from jsclone.cpp:39: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jscntxt.cpp jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp c++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscntxt.pp jscntxt.cpp jsclone.h: In member function 'void js::SCInput::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsregexpinlines.h:45, In file included from jsregexpinlines.h:45, from jsclone.cpp:44: from jsclone.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jscntxt.cpp:58: In file included from jscntxt.cpp:58: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsatom.h:47, from jsatom.h:47, from jscntxt.cpp:61: from jscntxt.cpp:61: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.cpp:61: from jscntxt.cpp:61: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexpinlines.h:49, from jsclone.cpp:44: from jsclone.cpp:44: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ In file included from jscntxt.cpp:58: In file included from jscntxt.cpp:58: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsclone.h:42, from jsclone.h:42, from jsclone.cpp:39: from jsclone.cpp:39: jsclone.cpp: In member function 'bool js::SCInput::readArray(T*, size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:203:5: note: in expansion of macro 'JS_STATIC_ASSERT' 203 | JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); 203 | JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsclone.cpp: In function 'uint32_t ArrayTypeToTag(uint32_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:408:5: note: in expansion of macro 'JS_STATIC_ASSERT' 408 | JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:409:5: note: in expansion of macro 'JS_STATIC_ASSERT' 409 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 1); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:410:5: note: in expansion of macro 'JS_STATIC_ASSERT' 410 | JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:411:5: note: in expansion of macro 'JS_STATIC_ASSERT' 411 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:412:5: note: in expansion of macro 'JS_STATIC_ASSERT' 412 | JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 4); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:413:5: note: in expansion of macro 'JS_STATIC_ASSERT' 413 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:414:5: note: in expansion of macro 'JS_STATIC_ASSERT' 414 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:415:5: note: in expansion of macro 'JS_STATIC_ASSERT' 415 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:416:5: note: in expansion of macro 'JS_STATIC_ASSERT' 416 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 8); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsclone.cpp:417:5: note: in expansion of macro 'JS_STATIC_ASSERT' 417 | JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); 417 | JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jscntxt.cpp:81: from jscntxt.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:90: In file included from jscntxt.cpp:90: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jscntxt.cpp:58: In file included from jscntxt.cpp:58: jscntxt.cpp: In function 'JSContext* js_NewContext(JSRuntime*, size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:746:5: note: in expansion of macro 'JS_STATIC_ASSERT' jscntxt.cpp:746:5: note: in expansion of macro 'JS_STATIC_ASSERT' 746 | JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); 746 | JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jscompartment.cpp jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp c++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscompartment.pp jscompartment.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jscompartment.cpp:41: from jscompartment.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jscompartment.cpp:41: from jscompartment.cpp:41: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.h:59, from jscntxt.h:59, from jscompartment.cpp:41: from jscompartment.cpp:41: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jscompartment.cpp:41: from jscompartment.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jscompartment.cpp:47: from jscompartment.cpp:47: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jscompartment.cpp:41: from jscompartment.cpp:41: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::TraceMonitor]': jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::TraceMonitor]': jscompartment.cpp:86:26: required from here jscompartment.cpp:86:26: 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 value-initialization instead [-Wclass-memaccess] 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 value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jscompartment.cpp:42: In file included from jscompartment.cpp:42: jscompartment.h:159:8: note: 'struct js::TraceMonitor' declared here jscompartment.h:159:8: note: 'struct js::TraceMonitor' declared here 159 | struct TraceMonitor { 159 | struct TraceMonitor { | ^~~~~~~~~~~~ | ^~~~~~~~~~~~ jsdate.cpp jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp c++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdate.pp jsdate.cpp In file included from jsdate.cpp:63: In file included from jsdate.cpp:63: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsdate.cpp:64: from jsdate.cpp:64: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsdate.cpp:64: In file included from jsdate.cpp:64: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsdate.cpp:66: from jsdate.cpp:66: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsdate.cpp:63: In file included from jsdate.cpp:63: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsdate.cpp:74: In file included from jsdate.cpp:74: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsdate.cpp:66: In file included from jsdate.cpp:66: jsdate.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsdate.cpp:2459:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsdate.cpp:2459:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 2459 | JS_DEFINE_TRCINFO_1(date_now, 2459 | JS_DEFINE_TRCINFO_1(date_now, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsdbgapi.cpp jsdbgapi.cpp c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp c++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdbgapi.pp jsdbgapi.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsdbgapi.cpp:45: from jsdbgapi.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsdbgapi.cpp:45: from jsdbgapi.cpp:45: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsdbgapi.cpp:51: In file included from jsdbgapi.cpp:51: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsdbgapi.cpp:45: from jsdbgapi.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:72: In file included from jsdbgapi.cpp:72: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsdhash.cpp jsdhash.cpp c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp c++ -o jsdhash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdhash.pp jsdhash.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsdhash.cpp:48: from jsdhash.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ jsdtoa.cpp jsdtoa.cpp c++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp c++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsdtoa.pp jsdtoa.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsdtoa.cpp:47: from jsdtoa.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsdtoa.cpp:47: from jsdtoa.cpp:47: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsdtoa.cpp:47: In file included from jsdtoa.cpp:47: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsdtoa.cpp:47: from jsdtoa.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:54: In file included from jsdtoa.cpp:54: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsemit.cpp jsemit.cpp c++ -o jsemit.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp c++ -o jsemit.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsemit.pp jsemit.cpp In file included from jsemit.cpp:52: In file included from jsemit.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsemit.cpp:55: from jsemit.cpp:55: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsemit.cpp:55: In file included from jsemit.cpp:55: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsemit.cpp:52: In file included from jsemit.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:73: In file included from jsemit.cpp:73: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsemit.cpp:52: In file included from jsemit.cpp:52: jsemit.cpp: In member function 'bool JSTreeContext::ensureSharpSlots()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsemit.cpp:1318:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1318 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); 1318 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsemit.cpp: In function 'JSOp EmitBigIndexPrefix(JSContext*, JSCodeGenerator*, uintN)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsemit.cpp:1773:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1773 | JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsemit.cpp:1774:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1774 | JS_STATIC_ASSERT(INDEX_LIMIT >= 1774 | JS_STATIC_ASSERT(INDEX_LIMIT >= | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:56: In file included from jsemit.cpp:56: jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsatom.h:158:69: 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)) 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^ | ^ jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' 2458 | ALE_SET_INDEX(ale, cookie->asInteger()); 2458 | ALE_SET_INDEX(ale, cookie->asInteger()); | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jsemit.cpp: In function 'JSBool EmitVariables(JSContext*, JSCodeGenerator*, JSParseNode*, JSBool, ptrdiff_t*)': 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] jsemit.cpp:4100:10: warning: variable 'forInLet' set but not used [-Wunused-but-set-variable] 4100 | bool forInLet, popScope; 4100 | bool forInLet, popScope; | ^~~~~~~~ | ^~~~~~~~ jsemit.cpp: In function 'JSBool js_EmitTree(JSContext*, JSCodeGenerator*, JSParseNode*)': 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] jsemit.cpp:5675:19: warning: variable 'blockObj' set but not used [-Wunused-but-set-variable] 5675 | JSObject *blockObj; 5675 | JSObject *blockObj; | ^~~~~~~~ | ^~~~~~~~ jsexn.cpp jsexn.cpp c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp c++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsexn.pp jsexn.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsexn.cpp:48: from jsexn.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsexn.cpp:51: from jsexn.cpp:51: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsexn.cpp:51: In file included from jsexn.cpp:51: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsexn.cpp:48: from jsexn.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsexn.cpp:67: In file included from jsexn.cpp:67: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsexn.cpp:48: from jsexn.cpp:48: jsexn.cpp: In function 'JSErrorReport* CopyErrorReport(JSContext*, JSErrorReport*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsexn.cpp:146:5: note: in expansion of macro 'JS_STATIC_ASSERT' 146 | JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsexn.cpp:147:5: note: in expansion of macro 'JS_STATIC_ASSERT' 147 | JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); 147 | JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsexn.cpp:257:5: note: in expansion of macro 'JS_STATIC_ASSERT' 257 | JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); 257 | JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'JSBool exn_enumerate(JSContext*, JSObject*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsexn.cpp:440:5: note: in expansion of macro 'JS_STATIC_ASSERT' 440 | JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); 440 | JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfriendapi.cpp jsfriendapi.cpp c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp c++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfriendapi.pp jsfriendapi.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsfriendapi.cpp:40: from jsfriendapi.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsfriendapi.cpp:40: from jsfriendapi.cpp:40: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.h:59, from jscntxt.h:59, from jsfriendapi.cpp:40: from jsfriendapi.cpp:40: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsfriendapi.cpp:40: from jsfriendapi.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.cpp jsfun.cpp c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp c++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsfun.pp jsfun.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsfun.cpp:47: from jsfun.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsfun.cpp:49: from jsfun.cpp:49: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsfun.cpp:49: In file included from jsfun.cpp:49: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsfun.cpp:47: from jsfun.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsfun.cpp:53: from jsfun.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsfun.cpp:47: from jsfun.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsfun.cpp:91: In file included from jsfun.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsfun.cpp:47: from jsfun.cpp:47: jsfun.cpp: In function 'JSObject* NewArguments(JSContext*, JSObject*, uint32, JSObject&)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.cpp:186:5: note: in expansion of macro 'JS_STATIC_ASSERT' 186 | JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); 186 | JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsfun.cpp:53: In file included from jsfun.cpp:53: jsfun.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:301:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1062:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:389:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 389 | _JS_DEFINE_CALLINFO(linkage, op, \ 389 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1169:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_6' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1317:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:1326:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 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, 1326 | JS_DEFINE_CALLINFO_4(extern, BOOL, js_SetCallVar, CONTEXT, OBJECT, JSID, VALUE, 0, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:2819:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsfun.cpp:2853:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsfun.cpp:2853:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2853 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_AllocFlatClosure, 2853 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_AllocFlatClosure, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsgc.cpp jsgc.cpp c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.cpp c++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgc.pp jsgc.cpp In file included from jsgc.cpp:56: In file included from jsgc.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsgc.cpp:61: from jsgc.cpp:61: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsgc.cpp:61: In file included from jsgc.cpp:61: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsgc.cpp:56: In file included from jsgc.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsgc.cpp:81: from jsgc.cpp:81: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsgc.cpp:91: In file included from jsgc.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsgc.cpp:56: In file included from jsgc.cpp:56: jsgc.cpp: In function 'js::gc::ConservativeGCTest js::MarkIfGCThingWord(JSTracer*, jsuword, uint32&)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.cpp:610:5: note: in expansion of macro 'JS_STATIC_ASSERT' 610 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 4); 610 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.cpp: In function 'void FinalizeArenaList(JSCompartment*, JSContext*, unsigned int)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.cpp:1893:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1893 | JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); 1893 | JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgcchunk.cpp jsgcchunk.cpp c++ -o jsgcchunk.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp c++ -o jsgcchunk.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcchunk.pp jsgcchunk.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsgcchunk.h:43, from jsgcchunk.h:43, from jsgcchunk.cpp:37: from jsgcchunk.cpp:37: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jsgcchunk.h:43, from jsgcchunk.h:43, from jsgcchunk.cpp:37: from jsgcchunk.cpp:37: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ jsgcstats.cpp jsgcstats.cpp c++ -o jsgcstats.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp c++ -o jsgcstats.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsgcstats.pp jsgcstats.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsgcstats.cpp:40: from jsgcstats.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsgcstats.cpp:40: from jsgcstats.cpp:40: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.h:59, from jscntxt.h:59, from jsgcstats.cpp:40: from jsgcstats.cpp:40: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsprvtd.h:57, from jsprvtd.h:57, from jscntxt.h:55, from jscntxt.h:55, from jsgcstats.cpp:40: from jsgcstats.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsgcstats.cpp:44: from jsgcstats.cpp:44: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jshash.cpp jshash.cpp c++ -o jshash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp c++ -o jshash.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jshash.pp jshash.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jshash.cpp:47: from jshash.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jsatom.h:50, In file included from jsatom.h:50, from jsgc.cpp:62: from jsgc.cpp:62: jshashtable.h: In function 'void js_FinishGC(JSRuntime*)': jshashtable.h: In function 'void js_FinishGC(JSRuntime*)': jshashtable.h:776:13: warning: '*((void*)& +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] jshashtable.h:776:13: warning: '*((void*)& +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; 776 | value = rhs.value; | ^~~~~ | ^~~~~ jsinterp.cpp jsinterp.cpp c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp jsinterp.cpp jshashtable.h: In function 'JSBool js_RemoveRoot(JSRuntime*, void*)': jshashtable.h: In function 'JSBool js_RemoveRoot(JSRuntime*, void*)': jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; 776 | value = rhs.value; | ^~~~~ | ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; 776 | value = rhs.value; | ^~~~~ | ^~~~~ In file included from jsinterp.cpp:50: In file included from jsinterp.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsinterp.cpp:52: from jsinterp.cpp:52: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsinterp.cpp:52: In file included from jsinterp.cpp:52: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsinterp.cpp:50: In file included from jsinterp.cpp:50: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsinterp.cpp:75: from jsinterp.cpp:75: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85: In file included from jsinterp.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsinterp.cpp: In function 'bool js::Interpret(JSContext*, JSStackFrame*, uintN, JSInterpMode)': jsinterp.cpp: In function 'bool js::Interpret(JSContext*, JSStackFrame*, uintN, JSInterpMode)': jsinterp.cpp:2910:3: warning: label 'jit_return' defined but not used [-Wunused-label] jsinterp.cpp:2910:3: warning: label 'jit_return' defined but not used [-Wunused-label] 2910 | jit_return: 2910 | jit_return: | ^~~~~~~~~~ | ^~~~~~~~~~ jshashtable.h: In function 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': jshashtable.h: In function 'uint32 js_MapGCRoots(JSRuntime*, JSGCRootMapFun, void*)': jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; 776 | value = rhs.value; | ^~~~~ | ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; 776 | value = rhs.value; | ^~~~~ | ^~~~~ jsinvoke.cpp jsinvoke.cpp c++ -o jsinvoke.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp c++ -o jsinvoke.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinvoke.pp jsinvoke.cpp In file included from jsinterp.cpp:50, In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsinterp.cpp:52, from jsinterp.cpp:52, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsinterp.cpp:52, In file included from jsinterp.cpp:52, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsinterp.cpp:50, In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsinterp.cpp:75, from jsinterp.cpp:75, from jsinvoke.cpp:42: from jsinvoke.cpp:42: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85, In file included from jsinterp.cpp:85, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsinterp.cpp:50, In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: from jsinvoke.cpp:42: jsinterp.cpp: In function 'bool js::Execute(JSContext*, JSObject*, JSScript*, JSStackFrame*, uintN, js::Value*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.cpp:993:5: note: in expansion of macro 'JS_STATIC_ASSERT' 993 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); 993 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsiter.cpp jsiter.cpp c++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp c++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsiter.pp jsiter.cpp In file included from jsiter.cpp:47: In file included from jsiter.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsiter.cpp:49: from jsiter.cpp:49: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsiter.cpp:49: In file included from jsiter.cpp:49: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsiter.cpp:47: In file included from jsiter.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsiter.cpp:53: from jsiter.cpp:53: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsiter.cpp:47: In file included from jsiter.cpp:47: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsiter.cpp:80: In file included from jsiter.cpp:80: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsiter.cpp:47: In file included from jsiter.cpp:47: jsiter.cpp: In function 'bool js::VectorToIdArray(JSContext*, js::AutoIdVector&, JSIdArray**)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsiter.cpp:339:5: note: in expansion of macro 'JS_STATIC_ASSERT' 339 | JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); 339 | JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jslock.cpp jslock.cpp c++ -o jslock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp c++ -o jslock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslock.pp jslock.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jslock.cpp:47: from jslock.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jslock.cpp:47: from jslock.cpp:47: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jscntxt.h:59, from jscntxt.h:59, from jslock.cpp:52: from jslock.cpp:52: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jslock.cpp:47: from jslock.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jslog2.cpp jslog2.cpp c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp c++ -o jslog2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jslog2.pp jslog2.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jslog2.cpp:40: from jslog2.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ jsmath.cpp jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp jsmath.cpp jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jslock.cpp: In function 'int js_SuspendThread(JSThinLock*)': jslock.cpp: In function 'int js_SuspendThread(JSThinLock*)': jslock.cpp:586:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] jslock.cpp:586:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 586 | PRStatus stat; 586 | PRStatus stat; | ^~~~ | ^~~~ jslock.cpp: In function 'void js_ResumeThread(JSThinLock*)': jslock.cpp: In function 'void js_ResumeThread(JSThinLock*)': jslock.cpp:616:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] jslock.cpp:616:14: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 616 | PRStatus stat; 616 | PRStatus stat; | ^~~~ | ^~~~ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsmath.cpp:48: from jsmath.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsmath.cpp:48: from jsmath.cpp:48: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsmath.cpp:48: In file included from jsmath.cpp:48: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsmath.cpp:48: from jsmath.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsnativestack.cpp jsnativestack.cpp c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp c++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnativestack.pp jsnativestack.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsnativestack.h:42, from jsnativestack.h:42, from jsnativestack.cpp:41: from jsnativestack.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsnativestack.h:42, from jsnativestack.h:42, from jsnativestack.cpp:41: from jsnativestack.cpp:41: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsmath.cpp:50: from jsmath.cpp:50: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsnum.cpp jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp c++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsnum.pp jsnum.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsmath.cpp:48: from jsmath.cpp:48: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsmath.cpp:50: In file included from jsmath.cpp:50: jsmath.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:680:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:680:1: note: in expansion of macro 'MATH_BUILTIN_1' 680 | MATH_BUILTIN_1(js_math_abs, fabs) 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:681:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:681:1: note: in expansion of macro 'MATH_BUILTIN_1' 681 | MATH_BUILTIN_1(math_atan, atan) 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:682:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:682:1: note: in expansion of macro 'MATH_BUILTIN_1' 682 | MATH_BUILTIN_1(math_sin, sin) 682 | MATH_BUILTIN_1(math_sin, sin) | ^~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~ In file included from jsnum.cpp:56: In file included from jsnum.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:683:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:683:1: note: in expansion of macro 'MATH_BUILTIN_1' 683 | MATH_BUILTIN_1(math_cos, cos) 683 | MATH_BUILTIN_1(math_cos, cos) | ^~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsnum.cpp:57: from jsnum.cpp:57: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:684:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:684:1: note: in expansion of macro 'MATH_BUILTIN_1' 684 | MATH_BUILTIN_1(math_sqrt, sqrt) 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:677:5: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 677 | JS_DEFINE_TRCINFO_1(name, \ 677 | JS_DEFINE_TRCINFO_1(name, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsmath.cpp:685:1: note: in expansion of macro 'MATH_BUILTIN_1' jsmath.cpp:685:1: note: in expansion of macro 'MATH_BUILTIN_1' 685 | MATH_BUILTIN_1(math_tan, tan) 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:715:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:715:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 715 | JS_DEFINE_TRCINFO_1(math_exp, 715 | JS_DEFINE_TRCINFO_1(math_exp, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:57: In file included from jsnum.cpp:57: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:807:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:807:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 807 | JS_DEFINE_TRCINFO_1(math_acos, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:809:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:809:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 809 | JS_DEFINE_TRCINFO_1(math_asin, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:811:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:811:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 811 | JS_DEFINE_TRCINFO_1(math_atan2, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:813:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:813:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 813 | JS_DEFINE_TRCINFO_1(js_math_floor, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:815:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:815:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 815 | JS_DEFINE_TRCINFO_1(math_log, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:817:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:817:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 817 | JS_DEFINE_TRCINFO_1(js_math_max, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:819:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:819:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 819 | JS_DEFINE_TRCINFO_1(js_math_min, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:821:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:821:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 821 | JS_DEFINE_TRCINFO_1(math_pow, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:823:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:823:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 823 | JS_DEFINE_TRCINFO_1(math_random, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:825:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:825:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 825 | JS_DEFINE_TRCINFO_1(js_math_round, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsmath.cpp:827:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsmath.cpp:827:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 827 | JS_DEFINE_TRCINFO_1(js_math_ceil, 827 | JS_DEFINE_TRCINFO_1(js_math_ceil, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:56: In file included from jsnum.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsnum.cpp:59: from jsnum.cpp:59: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:56: In file included from jsnum.cpp:56: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsnum.cpp:75: In file included from jsnum.cpp:75: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsnum.cpp:59: In file included from jsnum.cpp:59: jsnum.cpp: At global scope: 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'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 516 | _JS_DEFINE_CALLINFO_n tn0 \ 516 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 513 | JS_DEFINE_TRCINFO_2(num_parseInt, 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'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseIntDouble' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 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 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' jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 517 | _JS_DEFINE_CALLINFO_n tn1 \ 517 | _JS_DEFINE_CALLINFO_n tn1 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' jsnum.cpp:513:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 513 | JS_DEFINE_TRCINFO_2(num_parseInt, 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'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)ParseFloat' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:517:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsnum.cpp:517:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 517 | JS_DEFINE_TRCINFO_1(num_parseFloat, 517 | JS_DEFINE_TRCINFO_1(num_parseFloat, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ In file included from jsnum.cpp:56: In file included from jsnum.cpp:56: jsnum.cpp: In constructor 'js::ToCStringBuf::ToCStringBuf()': jsnum.cpp: In constructor 'js::ToCStringBuf::ToCStringBuf()': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsnum.cpp:594:5: note: in expansion of macro 'JS_STATIC_ASSERT' 594 | JS_STATIC_ASSERT(sbufSize >= DTOSTR_STANDARD_BUFFER_SIZE); 594 | JS_STATIC_ASSERT(sbufSize >= DTOSTR_STANDARD_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsnum.cpp: In function 'JSString* js_IntToString(JSContext*, int32)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsnum.cpp:627:5: note: in expansion of macro 'JS_STATIC_ASSERT' 627 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); 627 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsnum.cpp:59: In file included from jsnum.cpp:59: jsnum.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:516:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 516 | _JS_DEFINE_CALLINFO_n tn0 \ 516 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 934 | JS_DEFINE_TRCINFO_2(num_toString, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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 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' jsbuiltins.h:517:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 517 | _JS_DEFINE_CALLINFO_n tn1 \ 517 | _JS_DEFINE_CALLINFO_n tn1 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' jsnum.cpp:934:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_2' 934 | JS_DEFINE_TRCINFO_2(num_toString, 934 | JS_DEFINE_TRCINFO_2(num_toString, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp jsobj.cpp c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp c++ -o jsobj.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsobj.pp jsobj.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsobj.cpp:49: from jsobj.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsobj.cpp:54: from jsobj.cpp:54: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsobj.cpp:54: In file included from jsobj.cpp:54: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsobj.cpp:49: from jsobj.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsobj.cpp:58: from jsobj.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsobj.cpp:49: from jsobj.cpp:49: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsobj.cpp:85: In file included from jsobj.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp:221:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobj.cpp:221:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); 221 | he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); | ^~~~~~~ | ^~~~~~~ jsobj.cpp:280:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobj.cpp:280:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 280 | he->value = (void *) sharpid; 280 | he->value = (void *) sharpid; | ^~~~~~~ | ^~~~~~~ In file included from jsobj.cpp:58: In file included from jsobj.cpp:58: jsobj.cpp: At global scope: 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsobj.cpp:2968:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsobj.cpp:2968:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 2968 | JS_DEFINE_TRCINFO_1(js_Object, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:2983:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:2996:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 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'} [-Wnarrowing] 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'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsobj.cpp:3029:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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, 3029 | JS_DEFINE_CALLINFO_3(extern, CONSTRUCTOR_RETRY, js_CreateThisFromTrace, CONTEXT, OBJECT, UINTN, 0, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ json.cpp json.cpp c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp c++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/json.pp json.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from json.cpp:43: from json.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from json.cpp:43: from json.cpp:43: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from json.cpp:43: In file included from json.cpp:43: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from json.cpp:43: from json.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from json.cpp:66: In file included from json.cpp:66: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsopcode.cpp jsopcode.cpp c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp c++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsopcode.pp jsopcode.cpp In file included from jsopcode.cpp:54: In file included from jsopcode.cpp:54: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsopcode.cpp:56: from jsopcode.cpp:56: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsopcode.cpp:56: In file included from jsopcode.cpp:56: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsopcode.cpp:54: In file included from jsopcode.cpp:54: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsopcode.cpp:73: from jsopcode.cpp:73: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:77: In file included from jsopcode.cpp:77: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsopcode.cpp: In function 'jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)': jsopcode.cpp: In function 'jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)': jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] 1572 | JSOp op, saveop; 1572 | JSOp op, saveop; | ^~~~~~ | ^~~~~~ In file included from jsopcode.cpp:54: In file included from jsopcode.cpp:54: jsopcode.cpp: In function 'jsbytecode* Decompile(SprintStack*, jsbytecode*, intN, JSOp)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsopcode.cpp:1891:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1891 | JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); 1891 | JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsparse.cpp jsparse.cpp c++ -o jsparse.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp c++ -o jsparse.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsparse.pp jsparse.cpp In file included from jsparse.cpp:60: In file included from jsparse.cpp:60: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsparse.cpp:61: from jsparse.cpp:61: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsparse.cpp:61: In file included from jsparse.cpp:61: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsparse.cpp:60: In file included from jsparse.cpp:60: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsparse.cpp:93: In file included from jsparse.cpp:93: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexpinlines.h:49, from jsparse.cpp:94: from jsparse.cpp:94: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ In file included from jsarray.h:47, In file included from jsarray.h:47, from jsparse.cpp:62: from jsparse.cpp:62: jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsatom.h:158:69: 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)) 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^ | ^ jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' 8697 | ALE_SET_INDEX(ale, assignType | oldAssignType); 8697 | ALE_SET_INDEX(ale, assignType | oldAssignType); | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] 8540 | JSBool afterComma; 8540 | JSBool afterComma; | ^~~~~~~~~~ | ^~~~~~~~~~ jsproxy.cpp jsproxy.cpp c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp c++ -o jsproxy.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsproxy.pp jsproxy.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsproxy.cpp:43: from jsproxy.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsproxy.cpp:43: from jsproxy.cpp:43: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsproxy.cpp:43: In file included from jsproxy.cpp:43: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsproxy.cpp:43: from jsproxy.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:51: In file included from jsproxy.cpp:51: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsparse.cpp: In function 'bool DefineGlobal(JSParseNode*, JSCodeGenerator*, JSAtom*)': jsparse.cpp: In function 'bool DefineGlobal(JSParseNode*, JSCodeGenerator*, JSAtom*)': jsparse.cpp:3754:17: warning: '*((void*)& def +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] jsparse.cpp:3754:17: warning: '*((void*)& def +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3754 | def = GlobalScope::GlobalDef(shape->slot); 3754 | def = GlobalScope::GlobalDef(shape->slot); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:3756:17: warning: '*((void*)& def +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] jsparse.cpp:3756:17: warning: '*((void*)& def +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3756 | def = GlobalScope::GlobalDef(atom, funbox); 3756 | def = GlobalScope::GlobalDef(atom, funbox); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsprf.cpp jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp c++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprf.pp jsprf.cpp In file included from jsprf.cpp:51: In file included from jsprf.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsprf.cpp:52: from jsprf.cpp:52: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsstr.h:52, In file included from jsstr.h:52, from jsprf.cpp:53: from jsprf.cpp:53: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsprf.cpp:51: In file included from jsprf.cpp:51: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsprobes.cpp jsprobes.cpp c++ -o jsprobes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.pp jsprobes.cpp c++ -o jsprobes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsprobes.pp jsprobes.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsprobes.cpp:36: from jsprobes.cpp:36: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsprobes.cpp:36: from jsprobes.cpp:36: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsprobes.cpp:36: In file included from jsprobes.cpp:36: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsprobes.cpp:36: from jsprobes.cpp:36: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jspropertycache.cpp jspropertycache.cpp c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.pp jspropertycache.cpp c++ -o jspropertycache.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertycache.pp jspropertycache.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.h:44, from jspropertycache.cpp:41: from jspropertycache.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.h:44, from jspropertycache.cpp:41: from jspropertycache.cpp:41: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jspropertycache.h:44, In file included from jspropertycache.h:44, from jspropertycache.cpp:41: from jspropertycache.cpp:41: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.h:44, from jspropertycache.cpp:41: from jspropertycache.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:44: In file included from jspropertycache.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jspropertytree.cpp jspropertytree.cpp c++ -o jspropertytree.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.pp jspropertytree.cpp c++ -o jspropertytree.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jspropertytree.pp jspropertytree.cpp jsreflect.cpp jsreflect.cpp c++ -o jsreflect.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.pp jsreflect.cpp c++ -o jsreflect.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsreflect.pp jsreflect.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertytree.cpp:45: from jspropertytree.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertytree.cpp:45: from jspropertytree.cpp:45: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jspropertytree.cpp:45: In file included from jspropertytree.cpp:45: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsreflect.cpp:45: from jsreflect.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsreflect.cpp:45: from jsreflect.cpp:45: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsatom.h:47, In file included from jsatom.h:47, from jsreflect.cpp:46: from jsreflect.cpp:46: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jspropertytree.cpp:45: from jspropertytree.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsreflect.cpp:45: from jsreflect.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jspropertytree.cpp:51: In file included from jspropertytree.cpp:51: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsreflect.cpp:63: In file included from jsreflect.cpp:63: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsregexp.cpp jsregexp.cpp c++ -o jsregexp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsregexp.pp jsregexp.cpp c++ -o jsregexp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsregexp.pp jsregexp.cpp In file included from jsregexp.cpp:48: In file included from jsregexp.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsregexp.cpp:49: from jsregexp.cpp:49: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsregexp.cpp:49: In file included from jsregexp.cpp:49: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsregexp.cpp:48: In file included from jsregexp.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:58: In file included from jsregexp.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexpinlines.h:49, from jsregexp.cpp:59: from jsregexp.cpp:59: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsregexp.cpp:64: from jsregexp.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jsregexp.cpp:64: from jsregexp.cpp:64: jsregexp.cpp: At global scope: jsregexp.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CloneRegExpObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CloneRegExpObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsregexp.cpp:178:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsregexp.cpp:178:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 178 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_CloneRegExpObject, CONTEXT, OBJECT, OBJECT, 0, 178 | JS_DEFINE_CALLINFO_3(extern, OBJECT, js_CloneRegExpObject, CONTEXT, OBJECT, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsscan.cpp jsscan.cpp c++ -o jsscan.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscan.pp jsscan.cpp c++ -o jsscan.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscan.pp jsscan.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsscan.cpp:57: from jsscan.cpp:57: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsscan.cpp:60: from jsscan.cpp:60: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsscan.cpp:60: In file included from jsscan.cpp:60: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ jsscope.cpp jsscope.cpp c++ -o jsscope.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscope.pp jsscope.cpp c++ -o jsscope.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscope.pp jsscope.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsscan.cpp:57: from jsscan.cpp:57: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsscope.cpp:50: from jsscope.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsscope.cpp:54: from jsscope.cpp:54: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsscope.cpp:54: In file included from jsscope.cpp:54: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsscope.cpp:50: from jsscope.cpp:50: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsscope.cpp:64: from jsscope.cpp:64: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsscope.cpp:67: In file included from jsscope.cpp:67: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsscript.cpp jsscript.cpp c++ -o jsscript.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.cpp c++ -o jsscript.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.cpp In file included from jsscript.cpp:47: In file included from jsscript.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsscript.cpp:49: from jsscript.cpp:49: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsscript.cpp:49: In file included from jsscript.cpp:49: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsscript.cpp:47: In file included from jsscript.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstracer.h:48, from jstracer.h:48, from jsscript.cpp:63: from jsscript.cpp:63: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsstr.cpp jsstr.cpp c++ -o jsstr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.pp jsstr.cpp c++ -o jsstr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.pp jsstr.cpp In file included from jsscript.cpp:70: In file included from jsscript.cpp:70: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsscript.cpp: In member function 'jsuword* js::Bindings::getLocalNameArray(JSContext*, JSArenaPool*)': jsscript.cpp: In member function 'jsuword* js::Bindings::getLocalNameArray(JSContext*, JSArenaPool*)': jsscript.cpp:193:17: warning: variable 'constFlag' set but not used [-Wunused-but-set-variable] jsscript.cpp:193:17: warning: variable 'constFlag' set but not used [-Wunused-but-set-variable] 193 | jsuword constFlag = 0; 193 | jsuword constFlag = 0; | ^~~~~~~~~ | ^~~~~~~~~ In file included from jsscript.cpp:47: In file included from jsscript.cpp:47: jsscript.cpp: In function 'JSBool js_XDRScript(JSXDRState*, JSScript**, JSBool*)': jsscript.cpp: In function 'JSBool js_XDRScript(JSXDRState*, JSScript**, JSBool*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:712:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsscript.cpp:712:9: note: in expansion of macro 'JS_STATIC_ASSERT' 712 | JS_STATIC_ASSERT(sizeof(tn->kind) == sizeof(uint8)); 712 | JS_STATIC_ASSERT(sizeof(tn->kind) == sizeof(uint8)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:713:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsscript.cpp:713:9: note: in expansion of macro 'JS_STATIC_ASSERT' 713 | JS_STATIC_ASSERT(sizeof(tn->stackDepth) == sizeof(uint16)); 713 | JS_STATIC_ASSERT(sizeof(tn->stackDepth) == sizeof(uint16)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.cpp: In static member function 'static JSScript* JSScript::NewScript(JSContext*, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint16, uint16, JSVersion)': jsscript.cpp: In static member function 'static JSScript* JSScript::NewScript(JSContext*, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint32, uint16, uint16, JSVersion)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1289:5: note: in expansion of macro 'JS_STATIC_ASSERT' jsscript.cpp:1289:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1289 | JS_STATIC_ASSERT(sizeof(JSObjectArray) + 1289 | JS_STATIC_ASSERT(sizeof(JSObjectArray) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSScript]': jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSScript]': jsscript.cpp:1243:19: required from here jsscript.cpp:1243:19: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSScript'; use assignment instead [-Wclass-memaccess] jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSScript'; use assignment instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsfun.h:49, In file included from jsfun.h:49, from jscntxt.h:62, from jscntxt.h:62, from jsscript.cpp:51: from jsscript.cpp:51: jsscript.h:349:8: note: 'struct JSScript' declared here jsscript.h:349:8: note: 'struct JSScript' declared here 349 | struct JSScript { 349 | struct JSScript { | ^~~~~~~~ | ^~~~~~~~ In file included from jsstr.cpp:55: In file included from jsstr.cpp:55: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsstr.cpp:58: from jsstr.cpp:58: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsstr.cpp:58: In file included from jsstr.cpp:58: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsstr.cpp:55: In file included from jsstr.cpp:55: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsstr.cpp:62: from jsstr.cpp:62: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:55: In file included from jsstr.cpp:55: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsstr.cpp:81: In file included from jsstr.cpp:81: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from yarr/yarr/RegexJIT.h:31, from yarr/yarr/RegexJIT.h:31, from jsregexpinlines.h:49, from jsregexpinlines.h:49, from jsstr.cpp:82: from jsstr.cpp:82: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ In file included from jsstr.cpp:55: In file included from jsstr.cpp:55: jsstr.cpp: In function 'jschar* AllocChars(JSContext*, size_t)': jsstr.cpp: In function 'jschar* AllocChars(JSContext*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:119:5: note: in expansion of macro 'JS_STATIC_ASSERT' jsstr.cpp:119:5: note: in expansion of macro 'JS_STATIC_ASSERT' 119 | JS_STATIC_ASSERT(JSString::MAX_LENGTH * sizeof(jschar) < UINT32_MAX); 119 | JS_STATIC_ASSERT(JSString::MAX_LENGTH * sizeof(jschar) < UINT32_MAX); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsstr.cpp:62: In file included from jsstr.cpp:62: jsstr.cpp: At global scope: jsstr.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_Flatten' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_Flatten' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsstr.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsstr.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 239 | JS_DEFINE_CALLINFO_2(extern, BOOL, js_Flatten, CONTEXT, STRING, 0, nanojit::ACCSET_STORE_ANY) 239 | JS_DEFINE_CALLINFO_2(extern, BOOL, js_Flatten, CONTEXT, STRING, 0, nanojit::ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_ConcatStrings' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_ConcatStrings' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3063:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsstr.cpp:3063:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 3063 | JS_DEFINE_TRCINFO_1(str_concat, 3063 | JS_DEFINE_TRCINFO_1(str_concat, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstypedarray.cpp jstypedarray.cpp c++ -o jstypedarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstypedarray.pp jstypedarray.cpp c++ -o jstypedarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstypedarray.pp jstypedarray.cpp In file included from jstypedarray.cpp:44: In file included from jstypedarray.cpp:44: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jstypedarray.cpp:47: from jstypedarray.cpp:47: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jstypedarray.cpp:47: In file included from jstypedarray.cpp:47: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jstypedarray.cpp:44: In file included from jstypedarray.cpp:44: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jstypedarray.cpp:51: from jstypedarray.cpp:51: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:44: In file included from jstypedarray.cpp:44: jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:64: In file included from jstypedarray.cpp:64: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jstypedarray.cpp:51: In file included from jstypedarray.cpp:51: jstypedarray.cpp: At global scope: jstypedarray.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_TypedArray_uint8_clamp_double' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_TypedArray_uint8_clamp_double' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:387:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' jstypedarray.cpp:387:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 387 | JS_DEFINE_CALLINFO_1(extern, INT32, js_TypedArray_uint8_clamp_double, DOUBLE, 387 | JS_DEFINE_CALLINFO_1(extern, INT32, js_TypedArray_uint8_clamp_double, DOUBLE, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:44: In file included from jstypedarray.cpp:44: jstypedarray.cpp: In member function 'void TypedArrayTemplate::copyIndexToValue(JSContext*, uint32, js::Value*)': jstypedarray.cpp: In member function 'void TypedArrayTemplate::copyIndexToValue(JSContext*, uint32, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1351 | JS_STATIC_ASSERT(sizeof(NativeType) < 4); 1351 | JS_STATIC_ASSERT(sizeof(NativeType) < 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jstypedarray.cpp: In instantiation of 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]': jstypedarray.cpp: In instantiation of 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]': jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1189:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] jstypedarray.cpp:1189:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1189 | memcpy(dest, tarray->data, tarray->byteLength); 1189 | memcpy(dest, tarray->data, tarray->byteLength); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here 391 | struct uint8_clamped { 391 | struct uint8_clamped { | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jstypedarray.cpp: In instantiation of 'bool TypedArrayTemplate::copyFromWithOverlap(JSContext*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; jsuint = unsigned int]': jstypedarray.cpp: In instantiation of 'bool TypedArrayTemplate::copyFromWithOverlap(JSContext*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; jsuint = unsigned int]': jstypedarray.cpp:1184:36: required from 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]' jstypedarray.cpp:1184:36: required from 'static bool TypedArrayTemplate::copyFrom(JSContext*, JSObject*, js::TypedArray*, jsuint) [with NativeType = uint8_clamped; JSContext = JSContext; JSObject = JSObject; jsuint = unsigned int]' jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:959:26: required from 'static JSBool TypedArrayTemplate::fun_set(JSContext*, uintN, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; uintN = unsigned int]' jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1558:1: required from here jstypedarray.cpp:1260:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] jstypedarray.cpp:1260:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1260 | memmove(dest, tarray->data, tarray->byteLength); 1260 | memmove(dest, tarray->data, tarray->byteLength); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here 391 | struct uint8_clamped { 391 | struct uint8_clamped { | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)String_fromCharCode' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)String_fromCharCode' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.h:548:41: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 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 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' jsbuiltins.h:509:5: note: in expansion of macro '_JS_DEFINE_CALLINFO_n' 509 | _JS_DEFINE_CALLINFO_n tn0 \ 509 | _JS_DEFINE_CALLINFO_n tn0 \ | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3384:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' jsstr.cpp:3384:1: note: in expansion of macro 'JS_DEFINE_TRCINFO_1' 3384 | JS_DEFINE_TRCINFO_1(str_fromCharCode, 3384 | JS_DEFINE_TRCINFO_1(str_fromCharCode, | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ In file included from jsstr.cpp:55: In file included from jsstr.cpp:55: jsstr.cpp: In member function 'JSFlatString* js::StringBuffer::finishString()': jsstr.cpp: In member function 'JSFlatString* js::StringBuffer::finishString()': jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3509:5: note: in expansion of macro 'JS_STATIC_ASSERT' jsstr.cpp:3509:5: note: in expansion of macro 'JS_STATIC_ASSERT' 3509 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH < CharBuffer::InlineLength); 3509 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH < CharBuffer::InlineLength); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsstr.cpp:62: In file included from jsstr.cpp:62: jsstr.cpp: At global scope: jsstr.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_EqualStringsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_EqualStringsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsstr.cpp:3831:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsstr.cpp:3831:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3831 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_EqualStringsOnTrace, 3831 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_EqualStringsOnTrace, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CompareStringsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_CompareStringsOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsstr.cpp:3885:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsstr.cpp:3885:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3885 | JS_DEFINE_CALLINFO_3(extern, INT32, js_CompareStringsOnTrace, 3885 | JS_DEFINE_CALLINFO_3(extern, INT32, js_CompareStringsOnTrace, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsutil.cpp jsutil.cpp c++ -o jsutil.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsutil.pp jsutil.cpp c++ -o jsutil.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsutil.pp jsutil.cpp In file included from jsutil.cpp:48: In file included from jsutil.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ jswrapper.cpp jswrapper.cpp c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.pp jswrapper.cpp c++ -o jswrapper.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jswrapper.pp jswrapper.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jswrapper.cpp:42: from jswrapper.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jswrapper.cpp:42: from jswrapper.cpp:42: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jswrapper.cpp:42: In file included from jswrapper.cpp:42: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jswrapper.cpp:42: from jswrapper.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jswrapper.cpp:55: In file included from jswrapper.cpp:55: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsxdrapi.cpp jsxdrapi.cpp c++ -o jsxdrapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxdrapi.pp jsxdrapi.cpp c++ -o jsxdrapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxdrapi.pp jsxdrapi.cpp In file included from jsxdrapi.cpp:47: In file included from jsxdrapi.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsxdrapi.cpp:50: from jsxdrapi.cpp:50: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsxdrapi.cpp:50: In file included from jsxdrapi.cpp:50: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsxdrapi.cpp:47: In file included from jsxdrapi.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:58: In file included from jsxdrapi.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ jsxml.cpp jsxml.cpp c++ -o jsxml.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.pp jsxml.cpp c++ -o jsxml.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsxml.pp jsxml.cpp In file included from jsbit.h:44, In file included from jsbit.h:44, from jsxml.cpp:49: from jsxml.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsxml.cpp:52: from jsxml.cpp:52: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ prmjtime.cpp prmjtime.cpp c++ -o prmjtime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.pp prmjtime.cpp c++ -o prmjtime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/prmjtime.pp prmjtime.cpp In file included from jsxml.cpp:52: In file included from jsxml.cpp:52: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from prmjtime.cpp:51: In file included from prmjtime.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jsxml.cpp:49: from jsxml.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jslock.h:43, from jslock.h:43, from prmjtime.cpp:54: from prmjtime.cpp:54: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jslock.h:43, In file included from jslock.h:43, from prmjtime.cpp:54: from prmjtime.cpp:54: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ sharkctl.cpp sharkctl.cpp c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.pp sharkctl.cpp c++ -o sharkctl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/sharkctl.pp sharkctl.cpp jstracer.cpp jstracer.cpp c++ -o jstracer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstracer.pp jstracer.cpp c++ -o jstracer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jstracer.pp jstracer.cpp jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jsxml.cpp:76: In file included from jsxml.cpp:76: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jstracer.cpp:58: from jstracer.cpp:58: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jstracer.cpp:59: from jstracer.cpp:59: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jstracer.cpp:59: In file included from jstracer.cpp:59: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.cpp:87: In file included from jstracer.cpp:87: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_IntToString' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_IntToString' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:323:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:323:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 323 | JS_DEFINE_CALLINFO_2(extern, STRING, js_IntToString, CONTEXT, INT32, 1, nanojit::ACCSET_NONE) 323 | JS_DEFINE_CALLINFO_2(extern, STRING, js_IntToString, CONTEXT, INT32, 1, nanojit::ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jstracer.cpp: In function 'void js::NativeToValue(JSContext*, js::Value&, JSValueType, double*)': jstracer.cpp: In function 'void js::NativeToValue(JSContext*, js::Value&, JSValueType, double*)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:2979:9: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:2979:9: note: in expansion of macro 'JS_STATIC_ASSERT' 2979 | JS_STATIC_ASSERT(sizeof(Value) == sizeof(double)); 2979 | JS_STATIC_ASSERT(sizeof(Value) == sizeof(double)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetClosureVar' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetClosureVar' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:8140:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:8140:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 8140 | JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureVar, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, 8140 | JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureVar, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetClosureArg' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetClosureArg' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:8142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:8142:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 8142 | JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureArg, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, 8142 | JS_DEFINE_CALLINFO_4(extern, UINT32, GetClosureArg, CONTEXT, OBJECT, CVIPTR, DOUBLEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_object(nanojit::LIns*, JSValueType, js::VMSideExit*)': jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_object(nanojit::LIns*, JSValueType, js::VMSideExit*)': jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:10001:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:10001:5: note: in expansion of macro 'JS_STATIC_ASSERT' 10001 | JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); 10001 | JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jstracer.cpp: In member function 'void js::TraceRecorder::unbox_any_object(js::tjit::Address, nanojit::LIns**, nanojit::LIns**)': jstracer.cpp: In member function 'void js::TraceRecorder::unbox_any_object(js::tjit::Address, nanojit::LIns**, nanojit::LIns**)': jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:10044:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:10044:5: note: in expansion of macro 'JS_STATIC_ASSERT' 10044 | JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); 10044 | JS_STATIC_ASSERT(JSVAL_TYPE_OBJECT == JSVAL_UPPER_INCL_TYPE_OF_VALUE_SET); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_string_id(nanojit::LIns*)': jstracer.cpp: In member function 'nanojit::LIns* js::TraceRecorder::unbox_string_id(nanojit::LIns*)': jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:10118:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:10118:5: note: in expansion of macro 'JS_STATIC_ASSERT' 10118 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0); 10118 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::functionProbe' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::functionProbe' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:10588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jstracer.cpp:10588:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 10588 | JS_DEFINE_CALLINFO_3(static, BOOL, functionProbe, CONTEXT, FUNCTION, INT32, 0, ACCSET_ALL) 10588 | JS_DEFINE_CALLINFO_3(static, BOOL, functionProbe, CONTEXT, FUNCTION, INT32, 0, ACCSET_ALL) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jstracer.cpp: In member function 'void js::TraceRecorder::propagateFailureToBuiltinStatus(nanojit::LIns*, nanojit::LIns*&)': jstracer.cpp: In member function 'void js::TraceRecorder::propagateFailureToBuiltinStatus(nanojit::LIns*, nanojit::LIns*&)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:11186:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:11186:5: note: in expansion of macro 'JS_STATIC_ASSERT' 11186 | JS_STATIC_ASSERT(((JS_TRUE & 1) ^ 1) << 1 == 0); 11186 | JS_STATIC_ASSERT(((JS_TRUE & 1) ^ 1) << 1 == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:11187:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:11187:5: note: in expansion of macro 'JS_STATIC_ASSERT' 11187 | JS_STATIC_ASSERT(((JS_FALSE & 1) ^ 1) << 1 == BUILTIN_ERROR); 11187 | JS_STATIC_ASSERT(((JS_FALSE & 1) ^ 1) << 1 == BUILTIN_ERROR); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::ceilReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::ceilReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:11432:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:11432:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 11432 | JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) 11432 | JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::floorReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::floorReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:11433:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:11433:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 11433 | JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) 11433 | JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::roundReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::roundReturningInt' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:11434:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:11434:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 11434 | JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) 11434 | JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::DeleteIntKey' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::DeleteIntKey' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:11845:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:11845:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 11845 | JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteIntKey, CONTEXT, OBJECT, INT32, BOOL, 11845 | JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteIntKey, CONTEXT, OBJECT, INT32, BOOL, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::DeleteStrKey' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::DeleteStrKey' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:11867:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:11867:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 11867 | JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteStrKey, CONTEXT, OBJECT, STRING, BOOL, 11867 | JS_DEFINE_CALLINFO_4(extern, BOOL_FAIL, DeleteStrKey, CONTEXT, OBJECT, STRING, BOOL, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::MethodWriteBarrier' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::MethodWriteBarrier' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:12145:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:12145:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 12145 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, MethodWriteBarrier, CONTEXT, OBJECT, UINT32, CVALUEPTR, 12145 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, MethodWriteBarrier, CONTEXT, OBJECT, UINT32, CVALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:12722:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:12722:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 12722 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, GetPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUEPTR, 12722 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, GetPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:12796:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:12796:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 12796 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, 0, 12796 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, 0, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyById' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyById' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:12826:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:12826:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 12826 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyById, CONTEXT, OBJECT, JSID, VALUEPTR, 12826 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyById, CONTEXT, OBJECT, JSID, VALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::getPropertyById(nanojit::LIns*, js::Value*)': jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::getPropertyById(nanojit::LIns*, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert91' locally defined but not used [-Wunused-local-typedefs] jsutil.h:120:43: warning: typedef 'js_static_assert91' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jstracer.cpp:12845:5: note: in expansion of macro 'JS_STATIC_ASSERT' jstracer.cpp:12845:5: note: in expansion of macro 'JS_STATIC_ASSERT' 12845 | JS_STATIC_ASSERT(sizeof(jsid) == sizeof(void *)); 12845 | JS_STATIC_ASSERT(sizeof(jsid) == sizeof(void *)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyWithNativeGetter' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetPropertyWithNativeGetter' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:12884:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:12884:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 12884 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyWithNativeGetter, 12884 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, GetPropertyWithNativeGetter, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::SetPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::SetPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13211:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:13211:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 13211 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByName, 13211 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByName, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::InitPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::InitPropertyByName' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13230:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:13230:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 13230 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUE, 13230 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByName, CONTEXT, OBJECT, STRINGPTR, VALUE, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::SetPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::SetPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13271:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:13271:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 13271 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, BOOL, 13271 | JS_DEFINE_CALLINFO_5(static, BOOL_FAIL, SetPropertyByIndex, CONTEXT, OBJECT, INT32, VALUEPTR, BOOL, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::InitPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::InitPropertyByIndex' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13289:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:13289:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 13289 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByIndex, CONTEXT, OBJECT, INT32, VALUE, 13289 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, InitPropertyByIndex, CONTEXT, OBJECT, INT32, VALUE, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::CheckSameGlobal' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::CheckSameGlobal' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13532:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:13532:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 13532 | JS_DEFINE_CALLINFO_2(static, BOOL, CheckSameGlobal, OBJECT, OBJECT, 0, ACCSET_STORE_ANY) 13532 | JS_DEFINE_CALLINFO_2(static, BOOL, CheckSameGlobal, OBJECT, OBJECT, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarArgOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarArgOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13591:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:13591:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 13591 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarArgOnTrace, CONTEXT, UINT32, INT32, UINT32, 13591 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarArgOnTrace, CONTEXT, UINT32, INT32, UINT32, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarVarOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarVarOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13593:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:13593:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 13593 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarVarOnTrace, CONTEXT, UINT32, INT32, UINT32, 13593 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarVarOnTrace, CONTEXT, UINT32, INT32, UINT32, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarStackOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::GetUpvarStackOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' jsbuiltins.h:374:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 374 | _JS_DEFINE_CALLINFO(linkage, op, \ 374 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:13595:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' jstracer.cpp:13595:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_5' 13595 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarStackOnTrace, CONTEXT, UINT32, INT32, UINT32, 13595 | JS_DEFINE_CALLINFO_5(extern, UINT32, GetUpvarStackOnTrace, CONTEXT, UINT32, INT32, UINT32, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jstracer.h:56, In file included from jstracer.h:56, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::createThis(JSObject&, nanojit::LIns*, nanojit::LIns**)': jstracer.cpp: In member function 'js::RecordingStatus js::TraceRecorder::createThis(JSObject&, nanojit::LIns*, nanojit::LIns**)': ./dist/include/Writer.h:857:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ./dist/include/Writer.h:857:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 857 | #define nameImmw(ww) name(w.immpNonGC((void *) (ww)), #ww) 857 | #define nameImmw(ww) name(w.immpNonGC((void *) (ww)), #ww) | ^ | ^ jstracer.cpp:13823:24: note: in expansion of macro 'nameImmw' jstracer.cpp:13823:24: note: in expansion of macro 'nameImmw' 13823 | LIns* args[] = { w.nameImmw(protoSlot), ctor_ins, cx_ins }; 13823 | LIns* args[] = { w.nameImmw(protoSlot), ctor_ins, cx_ins }; | ^~~~~~~~ | ^~~~~~~~ In file included from jstracer.h:48, In file included from jstracer.h:48, from jstracer.cpp:78: from jstracer.cpp:78: jstracer.cpp: At global scope: jstracer.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::MethodReadBarrier' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::MethodReadBarrier' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:14191:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:14191:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 14191 | JS_DEFINE_CALLINFO_4(static, OBJECT_FAIL, MethodReadBarrier, CONTEXT, OBJECT, SHAPE, OBJECT, 14191 | JS_DEFINE_CALLINFO_4(static, OBJECT_FAIL, MethodReadBarrier, CONTEXT, OBJECT, SHAPE, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::ObjectToIterator' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::ObjectToIterator' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:14888:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jstracer.cpp:14888:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 14888 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, ObjectToIterator, CONTEXT, OBJECT, INT32, VALUEPTR, 14888 | JS_DEFINE_CALLINFO_4(static, BOOL_FAIL, ObjectToIterator, CONTEXT, OBJECT, INT32, VALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::IteratorMore' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::IteratorMore' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:14936:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jstracer.cpp:14936:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 14936 | JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, IteratorMore, CONTEXT, OBJECT, VALUEPTR, 14936 | JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, IteratorMore, CONTEXT, OBJECT, VALUEPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::CloseIterator' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::CloseIterator' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:15004:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:15004:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 15004 | JS_DEFINE_CALLINFO_2(extern, BOOL_FAIL, CloseIterator, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) 15004 | JS_DEFINE_CALLINFO_2(extern, BOOL_FAIL, CloseIterator, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::HasInstanceOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::HasInstanceOnTrace' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:15478:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jstracer.cpp:15478:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 15478 | JS_DEFINE_CALLINFO_3(static, BOOL_FAIL, HasInstanceOnTrace, CONTEXT, OBJECT, VALUE, 15478 | JS_DEFINE_CALLINFO_3(static, BOOL_FAIL, HasInstanceOnTrace, CONTEXT, OBJECT, VALUE, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::js_Unbrand' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::js_Unbrand' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jstracer.cpp:16585:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jstracer.cpp:16585:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 16585 | JS_DEFINE_CALLINFO_2(extern, BOOL, js_Unbrand, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) 16585 | JS_DEFINE_CALLINFO_2(extern, BOOL, js_Unbrand, CONTEXT, OBJECT, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from jsbit.h:44, In file included from jsbit.h:44, from jstracer.cpp:43: from jstracer.cpp:43: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = nanojit::LogControl]': jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = nanojit::LogControl]': jstracer.cpp:7712:27: required from here jstracer.cpp:7712:27: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class nanojit::LogControl' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class nanojit::LogControl' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jstracer.cpp:58: In file included from jstracer.cpp:58: nanojit/nanojit.h:351:11: note: 'class nanojit::LogControl' declared here nanojit/nanojit.h:351:11: note: 'class nanojit::LogControl' declared here 351 | class LogControl 351 | class LogControl | ^~~~~~~~~~ | ^~~~~~~~~~ jstracer.cpp:7062:1: warning: 'jsbytecode* js::GetLoopBottom(JSContext*, jsbytecode*)' defined but not used [-Wunused-function] jstracer.cpp:7062:1: warning: 'jsbytecode* js::GetLoopBottom(JSContext*, jsbytecode*)' defined but not used [-Wunused-function] 7062 | GetLoopBottom(JSContext *cx, jsbytecode *pc) 7062 | GetLoopBottom(JSContext *cx, jsbytecode *pc) | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ jstracer.cpp:1482:1: warning: 'bool js::IsBlacklisted(jsbytecode*)' defined but not used [-Wunused-function] jstracer.cpp:1482:1: warning: 'bool js::IsBlacklisted(jsbytecode*)' defined but not used [-Wunused-function] 1482 | IsBlacklisted(jsbytecode* pc) 1482 | IsBlacklisted(jsbytecode* pc) | ^~~~~~~~~~~~~ | ^~~~~~~~~~~~~ Assembler.cpp Assembler.cpp c++ -o Assembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assembler.pp ./nanojit/Assembler.cpp c++ -o Assembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assembler.pp ./nanojit/Assembler.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/Assembler.cpp:40: from ./nanojit/Assembler.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Allocator.cpp Allocator.cpp c++ -o Allocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Allocator.pp ./nanojit/Allocator.cpp c++ -o Allocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Allocator.pp ./nanojit/Allocator.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/Allocator.cpp:40: from ./nanojit/Allocator.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CodeAlloc.cpp CodeAlloc.cpp c++ -o CodeAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CodeAlloc.pp ./nanojit/CodeAlloc.cpp c++ -o CodeAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CodeAlloc.pp ./nanojit/CodeAlloc.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/CodeAlloc.cpp:40: from ./nanojit/CodeAlloc.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Containers.cpp Containers.cpp c++ -o Containers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Containers.pp ./nanojit/Containers.cpp c++ -o Containers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Containers.pp ./nanojit/Containers.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/Containers.cpp:40: from ./nanojit/Containers.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fragmento.cpp Fragmento.cpp c++ -o Fragmento.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Fragmento.pp ./nanojit/Fragmento.cpp c++ -o Fragmento.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Fragmento.pp ./nanojit/Fragmento.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/Fragmento.cpp:42: from ./nanojit/Fragmento.cpp:42: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LIR.cpp LIR.cpp c++ -o LIR.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LIR.pp ./nanojit/LIR.cpp c++ -o LIR.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LIR.pp ./nanojit/LIR.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/LIR.cpp:40: from ./nanojit/LIR.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njconfig.cpp njconfig.cpp c++ -o njconfig.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/njconfig.pp ./nanojit/njconfig.cpp c++ -o njconfig.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/njconfig.pp ./nanojit/njconfig.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/njconfig.cpp:40: from ./nanojit/njconfig.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RegAlloc.cpp RegAlloc.cpp c++ -o RegAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegAlloc.pp ./nanojit/RegAlloc.cpp c++ -o RegAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegAlloc.pp ./nanojit/RegAlloc.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/RegAlloc.cpp:40: from ./nanojit/RegAlloc.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avmplus.cpp avmplus.cpp c++ -o avmplus.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/avmplus.pp ./nanojit/avmplus.cpp c++ -o avmplus.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/avmplus.pp ./nanojit/avmplus.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/avmplus.cpp:36: from ./nanojit/avmplus.cpp:36: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NativeX64.cpp NativeX64.cpp c++ -o NativeX64.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/NativeX64.pp ./nanojit/NativeX64.cpp c++ -o NativeX64.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/NativeX64.pp ./nanojit/NativeX64.cpp In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/NativeX64.cpp:40: from ./nanojit/NativeX64.cpp:40: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp jsbuiltins.cpp c++ -o jsbuiltins.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbuiltins.pp jsbuiltins.cpp c++ -o jsbuiltins.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsbuiltins.pp jsbuiltins.cpp In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsbuiltins.cpp:44: from jsbuiltins.cpp:44: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from jspubtd.h:47, In file included from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsbuiltins.cpp:44: from jsbuiltins.cpp:44: jsval.h: At global scope: jsval.h: At global scope: jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsbuiltins.cpp:44: In file included from jsbuiltins.cpp:44: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from jsval.h:48, In file included from jsval.h:48, from jspubtd.h:47, from jspubtd.h:47, from jsapi.h:49, from jsapi.h:49, from jsbuiltins.cpp:44: from jsbuiltins.cpp:44: jsvalue.h: In member function 'void js::Value::staticAssertions()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': 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] 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsbuiltins.h:45, from jsbuiltins.cpp:59: from jsbuiltins.cpp:59: nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': 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'} [-Wnarrowing] 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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VMPI.cpp VMPI.cpp c++ -o VMPI.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/VMPI.pp ./nanojit/VMPI.cpp c++ -o VMPI.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/VMPI.pp ./nanojit/VMPI.cpp In file included from jsbuiltins.cpp:64: In file included from jsbuiltins.cpp:64: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ In file included from jsbuiltins.cpp:59: In file included from jsbuiltins.cpp:59: jsbuiltins.cpp: At global scope: jsbuiltins.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_dmod' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_dmod' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:98:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsbuiltins.cpp:98:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 98 | JS_DEFINE_CALLINFO_2(extern, DOUBLE, js_dmod, DOUBLE, DOUBLE, 1, ACCSET_NONE) 98 | JS_DEFINE_CALLINFO_2(extern, DOUBLE, js_dmod, DOUBLE, DOUBLE, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_imod' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_imod' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsbuiltins.cpp:108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 108 | JS_DEFINE_CALLINFO_2(extern, INT32, js_imod, INT32, INT32, 1, ACCSET_NONE) 108 | JS_DEFINE_CALLINFO_2(extern, INT32, js_imod, INT32, INT32, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_UnboxDouble' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_UnboxDouble' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:147:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' jsbuiltins.cpp:147:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 147 | JS_DEFINE_CALLINFO_1(extern, DOUBLE, js_UnboxDouble, JSVAL, 1, ACCSET_NONE) 147 | JS_DEFINE_CALLINFO_1(extern, DOUBLE, js_UnboxDouble, JSVAL, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_UnboxInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_UnboxInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:156:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' jsbuiltins.cpp:156:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 156 | JS_DEFINE_CALLINFO_1(extern, INT32, js_UnboxInt32, VALUE, 1, ACCSET_NONE) 156 | JS_DEFINE_CALLINFO_1(extern, INT32, js_UnboxInt32, VALUE, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_DoubleToInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_DoubleToInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:165:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' jsbuiltins.cpp:165:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 165 | JS_DEFINE_CALLINFO_1(extern, INT32, js_DoubleToInt32, DOUBLE, 1, ACCSET_NONE) 165 | JS_DEFINE_CALLINFO_1(extern, INT32, js_DoubleToInt32, DOUBLE, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_DoubleToUint32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_DoubleToUint32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:334:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 334 | _JS_DEFINE_CALLINFO(linkage, op, \ 334 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:172:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' jsbuiltins.cpp:172:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_1' 172 | JS_DEFINE_CALLINFO_1(extern, UINT32, js_DoubleToUint32, DOUBLE, 1, ACCSET_NONE) 172 | JS_DEFINE_CALLINFO_1(extern, UINT32, js_DoubleToUint32, DOUBLE, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_StringToNumber' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_StringToNumber' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:187:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:187:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 187 | JS_DEFINE_CALLINFO_3(extern, DOUBLE, js_StringToNumber, CONTEXT, STRING, BOOLPTR, 187 | JS_DEFINE_CALLINFO_3(extern, DOUBLE, js_StringToNumber, CONTEXT, STRING, BOOLPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_StringToInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_StringToInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:197:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:197:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 197 | JS_DEFINE_CALLINFO_3(extern, INT32, js_StringToInt32, CONTEXT, STRING, BOOLPTR, 197 | JS_DEFINE_CALLINFO_3(extern, INT32, js_StringToInt32, CONTEXT, STRING, BOOLPTR, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_AddProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_AddProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:232:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:232:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 232 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) 232 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_AddAtomProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_AddAtomProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:239:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 239 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddAtomProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) 239 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_AddAtomProperty, CONTEXT, OBJECT, SHAPE, 0, ACCSET_STORE_ANY) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_HasNamedProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_HasNamedProperty' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:269:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:269:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 269 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedProperty, CONTEXT, OBJECT, STRING, 269 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedProperty, CONTEXT, OBJECT, STRING, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_HasNamedPropertyInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_HasNamedPropertyInt32' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:281:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' jsbuiltins.cpp:281:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 281 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedPropertyInt32, CONTEXT, OBJECT, INT32, 281 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_HasNamedPropertyInt32, CONTEXT, OBJECT, INT32, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_TypeOfObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_TypeOfObject' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:290:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsbuiltins.cpp:290:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 290 | JS_DEFINE_CALLINFO_2(extern, STRING, js_TypeOfObject, CONTEXT, OBJECT, 1, ACCSET_NONE) 290 | JS_DEFINE_CALLINFO_2(extern, STRING, js_TypeOfObject, CONTEXT, OBJECT, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_BooleanIntToString' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_BooleanIntToString' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:298:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' jsbuiltins.cpp:298:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 298 | JS_DEFINE_CALLINFO_2(extern, STRING, js_BooleanIntToString, CONTEXT, INT32, 1, ACCSET_NONE) 298 | JS_DEFINE_CALLINFO_2(extern, STRING, js_BooleanIntToString, CONTEXT, INT32, 1, ACCSET_NONE) | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_NewNullClosure' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_NewNullClosure' from 'intptr_t' {aka 'long int'} to 'uintptr_t' {aka 'long unsigned int'} [-Wnarrowing] 294 | { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ 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' jsbuiltins.h:361:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' 361 | _JS_DEFINE_CALLINFO(linkage, op, \ 361 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ jsbuiltins.cpp:320:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' jsbuiltins.cpp:320:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_4' 320 | JS_DEFINE_CALLINFO_4(extern, OBJECT, js_NewNullClosure, CONTEXT, OBJECT, OBJECT, OBJECT, 320 | JS_DEFINE_CALLINFO_4(extern, OBJECT, js_NewNullClosure, CONTEXT, OBJECT, OBJECT, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ In file included from ./nanojit/nanojit.h:377, In file included from ./nanojit/nanojit.h:377, from ./nanojit/VMPI.cpp:35: from ./nanojit/VMPI.cpp:35: ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./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'} [-Wnarrowing] ./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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Writer.cpp Writer.cpp c++ -o Writer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Writer.pp ./tracejit/Writer.cpp c++ -o Writer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Writer.pp ./tracejit/Writer.cpp In file included from ./jsbit.h:44, In file included from ./jsbit.h:44, from ./jstl.h:43, from ./jstl.h:43, from ./tracejit/Writer.cpp:41: from ./tracejit/Writer.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./jscompartment.h:43, from ./jscompartment.h:43, from ./tracejit/Writer.cpp:42: from ./tracejit/Writer.cpp:42: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsatom.h:47, In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./jscntxt.h:59, from ./jscompartment.h:43, from ./jscompartment.h:43, from ./tracejit/Writer.cpp:42: from ./tracejit/Writer.cpp:42: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsbit.h:44, In file included from ./jsbit.h:44, from ./jstl.h:43, from ./jstl.h:43, from ./tracejit/Writer.cpp:41: from ./tracejit/Writer.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from ./dist/include/nanojit.h:377, In file included from ./dist/include/nanojit.h:377, from ./tracejit/Writer.h:47, from ./tracejit/Writer.h:47, from ./tracejit/Writer.cpp:43: from ./tracejit/Writer.cpp:43: ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ./dist/include/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'} [-Wnarrowing] ./dist/include/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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checks.cc checks.cc c++ -o checks.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc c++ -o checks.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./dist/include/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ./dist/include/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'} [-Wnarrowing] ./dist/include/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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/checks.cc:31: from ./v8-dtoa/checks.cc:31: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ conversions.cc conversions.cc c++ -o conversions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp ./v8-dtoa/conversions.cc c++ -o conversions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp ./v8-dtoa/conversions.cc In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/conversions.cc:30: from ./v8-dtoa/conversions.cc:30: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ diy-fp.cc diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.pp ./v8-dtoa/diy-fp.cc c++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/diy-fp.pp ./v8-dtoa/diy-fp.cc In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/diy-fp.cc:28: from ./v8-dtoa/diy-fp.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ v8-dtoa.cc v8-dtoa.cc c++ -o v8-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/v8-dtoa.pp ./v8-dtoa/v8-dtoa.cc c++ -o v8-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/v8-dtoa.pp ./v8-dtoa/v8-dtoa.cc fast-dtoa.cc fast-dtoa.cc c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.pp ./v8-dtoa/fast-dtoa.cc c++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/fast-dtoa.pp ./v8-dtoa/fast-dtoa.cc In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/fast-dtoa.cc:28: from ./v8-dtoa/fast-dtoa.cc:28: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/v8-dtoa.cc:33: from ./v8-dtoa/v8-dtoa.cc:33: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ platform.cc platform.cc c++ -o platform.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/platform.pp ./v8-dtoa/platform.cc c++ -o platform.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/platform.pp ./v8-dtoa/platform.cc In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/platform.cc:37: from ./v8-dtoa/platform.cc:37: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ utils.cc utils.cc c++ -o utils.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/utils.pp ./v8-dtoa/utils.cc c++ -o utils.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/utils.pp ./v8-dtoa/utils.cc Assertions.cpp Assertions.cpp c++ -o Assertions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assertions.pp ./assembler/wtf/Assertions.cpp c++ -o Assertions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Assertions.pp ./assembler/wtf/Assertions.cpp In file included from ./v8-dtoa/v8.h:45, In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/utils.cc:30: from ./v8-dtoa/utils.cc:30: ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h: In function 'Dest v8::internal::BitCast(const Source&)': ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] ./v8-dtoa/utils.h:156:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~ ExecutableAllocatorPosix.cpp ExecutableAllocatorPosix.cpp c++ -o ExecutableAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.pp ./assembler/jit/ExecutableAllocatorPosix.cpp c++ -o ExecutableAllocatorPosix.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorPosix.pp ./assembler/jit/ExecutableAllocatorPosix.cpp ExecutableAllocatorWin.cpp ExecutableAllocatorWin.cpp c++ -o ExecutableAllocatorWin.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorWin.pp ./assembler/jit/ExecutableAllocatorWin.cpp c++ -o ExecutableAllocatorWin.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorWin.pp ./assembler/jit/ExecutableAllocatorWin.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: from ./assembler/jit/ExecutableAllocatorPosix.cpp:26: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorWin.cpp:27: from ./assembler/jit/ExecutableAllocatorWin.cpp:27: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorWin.cpp:27: from ./assembler/jit/ExecutableAllocatorWin.cpp:27: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorWin.cpp:27: from ./assembler/jit/ExecutableAllocatorWin.cpp:27: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ ExecutableAllocatorOS2.cpp ExecutableAllocatorOS2.cpp c++ -o ExecutableAllocatorOS2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorOS2.pp ./assembler/jit/ExecutableAllocatorOS2.cpp c++ -o ExecutableAllocatorOS2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocatorOS2.pp ./assembler/jit/ExecutableAllocatorOS2.cpp ExecutableAllocator.cpp ExecutableAllocator.cpp c++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.pp ./assembler/jit/ExecutableAllocator.cpp c++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ExecutableAllocator.pp ./assembler/jit/ExecutableAllocator.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: from ./assembler/jit/ExecutableAllocatorOS2.cpp:27: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.cpp:26: from ./assembler/jit/ExecutableAllocator.cpp:26: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.cpp:26: from ./assembler/jit/ExecutableAllocator.cpp:26: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.cpp:26: from ./assembler/jit/ExecutableAllocator.cpp:26: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ ARMAssembler.cpp ARMAssembler.cpp c++ -o ARMAssembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.pp ./assembler/assembler/ARMAssembler.cpp c++ -o ARMAssembler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/ARMAssembler.pp ./assembler/assembler/ARMAssembler.cpp Logging.cpp Logging.cpp c++ -o Logging.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Logging.pp ./methodjit/Logging.cpp c++ -o Logging.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Logging.pp ./methodjit/Logging.cpp MacroAssemblerARM.cpp MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.pp ./assembler/assembler/MacroAssemblerARM.cpp c++ -o MacroAssemblerARM.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerARM.pp ./assembler/assembler/MacroAssemblerARM.cpp MacroAssemblerX86Common.cpp MacroAssemblerX86Common.cpp In file included from ./methodjit/Logging.cpp:45: In file included from ./methodjit/Logging.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ c++ -o MacroAssemblerX86Common.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.pp ./assembler/assembler/MacroAssemblerX86Common.cpp c++ -o MacroAssemblerX86Common.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MacroAssemblerX86Common.pp ./assembler/assembler/MacroAssemblerX86Common.cpp RegexCompiler.cpp RegexCompiler.cpp c++ -o RegexCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexCompiler.pp ./yarr/yarr/RegexCompiler.cpp c++ -o RegexCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexCompiler.pp ./yarr/yarr/RegexCompiler.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: from ./assembler/assembler/MacroAssemblerX86Common.cpp:45: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: from ./yarr/yarr/RegexCompiler.cpp:27: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: from ./yarr/yarr/RegexCompiler.cpp:27: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: from ./yarr/yarr/RegexCompiler.cpp:27: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/wtf/ASCIICType.h:32, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexParser.h:30, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.h:29, from ./yarr/yarr/RegexCompiler.cpp:27: from ./yarr/yarr/RegexCompiler.cpp:27: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ RegexJIT.cpp RegexJIT.cpp c++ -o RegexJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexJIT.pp ./yarr/yarr/RegexJIT.cpp c++ -o RegexJIT.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/RegexJIT.pp ./yarr/yarr/RegexJIT.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: from ./yarr/yarr/RegexJIT.cpp:26: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: from ./yarr/yarr/RegexJIT.cpp:26: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./assembler/jit/ExecutableAllocator.h:33, In file included from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: from ./yarr/yarr/RegexJIT.cpp:26: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./assembler/assembler/MacroAssembler.h:54, In file included from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: from ./yarr/yarr/RegexJIT.cpp:26: ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::call()': ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 127 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()': ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 135 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler::Jump)': ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable] ./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); 144 | DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister); | ^~~~~ | ^~~~~ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/jit/ExecutableAllocator.h:33, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/AssemblerBuffer.h:38, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/X86Assembler.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86Common.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssemblerX86_64.h:37, from ./assembler/assembler/MacroAssembler.h:54, from ./assembler/assembler/MacroAssembler.h:54, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.h:31, from ./yarr/yarr/RegexJIT.cpp:26: from ./yarr/yarr/RegexJIT.cpp:26: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ pcre_compile.cpp pcre_compile.cpp c++ -o pcre_compile.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_compile.pp ./yarr/pcre/pcre_compile.cpp c++ -o pcre_compile.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_compile.pp ./yarr/pcre/pcre_compile.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: from ./yarr/pcre/pcre_compile.cpp:44: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: from ./yarr/pcre/pcre_compile.cpp:44: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: from ./yarr/pcre/pcre_compile.cpp:44: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: from ./yarr/pcre/pcre_compile.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./yarr/pcre/pcre_compile.cpp: In function 'bool compileBranch(int, int*, unsigned char**, const UChar**, const UChar*, ErrorCode*, int*, int*, CompileData&)': ./yarr/pcre/pcre_compile.cpp: In function 'bool compileBranch(int, int*, unsigned char**, const UChar**, const UChar*, ErrorCode*, int*, int*, CompileData&)': ./yarr/pcre/pcre_compile.cpp:572:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] ./yarr/pcre/pcre_compile.cpp:572:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] 572 | const UChar* tempptr; 572 | const UChar* tempptr; | ^~~~~~~ | ^~~~~~~ pcre_exec.cpp pcre_exec.cpp c++ -o pcre_exec.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_exec.pp ./yarr/pcre/pcre_exec.cpp c++ -o pcre_exec.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_exec.pp ./yarr/pcre/pcre_exec.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: from ./yarr/pcre/pcre_exec.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: from ./yarr/pcre/pcre_exec.cpp:45: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: from ./yarr/pcre/pcre_exec.cpp:45: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: from ./yarr/pcre/pcre_exec.cpp:45: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert51' locally defined but not used [-Wunused-local-typedefs] ./jsutil.h:120:43: warning: typedef 'js_static_assert51' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert60' locally defined but not used [-Wunused-local-typedefs] ./jsutil.h:120:43: warning: typedef 'js_static_assert60' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert63' locally defined but not used [-Wunused-local-typedefs] ./jsutil.h:120:43: warning: typedef 'js_static_assert63' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ pcre_tables.cpp pcre_tables.cpp c++ -o pcre_tables.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_tables.pp ./yarr/pcre/pcre_tables.cpp c++ -o pcre_tables.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_tables.pp ./yarr/pcre/pcre_tables.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: from ./yarr/pcre/pcre_tables.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: from ./yarr/pcre/pcre_tables.cpp:43: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: from ./yarr/pcre/pcre_tables.cpp:43: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: from ./yarr/pcre/pcre_tables.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ pcre_xclass.cpp pcre_xclass.cpp c++ -o pcre_xclass.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_xclass.pp ./yarr/pcre/pcre_xclass.cpp c++ -o pcre_xclass.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_xclass.pp ./yarr/pcre/pcre_xclass.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: from ./yarr/pcre/pcre_xclass.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: from ./yarr/pcre/pcre_xclass.cpp:43: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: from ./yarr/pcre/pcre_xclass.cpp:43: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: from ./yarr/pcre/pcre_xclass.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ pcre_ucp_searchfuncs.cpp pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_ucp_searchfuncs.pp ./yarr/pcre/pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pcre_ucp_searchfuncs.pp ./yarr/pcre/pcre_ucp_searchfuncs.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsstr.h:52, In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./jsstr.h:52, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ CTypes.cpp CTypes.cpp c++ -o CTypes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CTypes.pp ./ctypes/CTypes.cpp c++ -o CTypes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/CTypes.pp ./ctypes/CTypes.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: from ./ctypes/CTypes.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: from ./ctypes/CTypes.cpp:39: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./jsatom.h:47, In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./jscntxt.h:59, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: from ./ctypes/CTypes.cpp:39: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: from ./ctypes/CTypes.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ Library.cpp Library.cpp c++ -o Library.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Library.pp ./ctypes/Library.cpp c++ -o Library.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Library.pp ./ctypes/Library.cpp ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1057:5: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1057:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1057 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1057 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1066:5: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1066:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1066 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1066 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./ctypes/CTypes.cpp: In static member function 'static bool js::ctypes::IsExactImpl::Test(FromType, TargetType)': ./jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1075:5: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1075:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1075 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1075 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::ConvertExact(FromType, TargetType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::ConvertExact(FromType, TargetType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert79' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1086:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1086:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1086 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1086 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToInteger(JSContext*, jsval, IntegerType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToInteger(JSContext*, jsval, IntegerType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1156:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1156:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1156 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1156 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToFloat(JSContext*, jsval, FloatType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToFloat(JSContext*, jsval, FloatType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1237:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1237:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1237 | JS_STATIC_ASSERT(!numeric_limits::is_exact); 1237 | JS_STATIC_ASSERT(!numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::StringToInteger(JSContext*, JSString*, IntegerType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::StringToInteger(JSContext*, JSString*, IntegerType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert82' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1293:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1293:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1293 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1293 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToBigInteger(JSContext*, jsval, bool, IntegerType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToBigInteger(JSContext*, jsval, bool, IntegerType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1353:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1353:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1353 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1353 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsidToBigInteger(JSContext*, jsid, bool, IntegerType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsidToBigInteger(JSContext*, jsid, bool, IntegerType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1415:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1415:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1415 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1415 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToIntegerExplicit(JSContext*, jsval, IntegerType*)': ./ctypes/CTypes.cpp: In function 'bool js::ctypes::jsvalToIntegerExplicit(JSContext*, jsval, IntegerType*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert85' locally defined but not used [-Wunused-local-typedefs] ./jsutil.h:120:43: warning: typedef 'js_static_assert85' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1479:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1479:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1479 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1479 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'void js::ctypes::IntegerToString(IntegerType, jsuint, js::Vector&)': ./ctypes/CTypes.cpp: In function 'void js::ctypes::IntegerToString(IntegerType, jsuint, js::Vector&)': ./jsutil.h:120:43: warning: typedef 'js_static_assert86' locally defined but not used [-Wunused-local-typedefs] ./jsutil.h:120:43: warning: typedef 'js_static_assert86' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp:1560:3: note: in expansion of macro 'JS_STATIC_ASSERT' ./ctypes/CTypes.cpp:1560:3: note: in expansion of macro 'JS_STATIC_ASSERT' 1560 | JS_STATIC_ASSERT(numeric_limits::is_exact); 1560 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::StructType::DefineInternal(JSContext*, JSObject*, JSObject*)': ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::StructType::DefineInternal(JSContext*, JSObject*, JSObject*)': ./ctypes/CTypes.cpp:4037:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./ctypes/CTypes.cpp:4037:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 4037 | Array fieldRootsArray; 4037 | Array fieldRootsArray; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/Library.cpp:41: from ./ctypes/Library.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/Library.cpp:41: from ./ctypes/Library.cpp:41: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ ./ctypes/CTypes.cpp: In function 'JSObject* js::ctypes::StructType::BuildFieldsArray(JSContext*, JSObject*)': ./ctypes/CTypes.cpp: In function 'JSObject* js::ctypes::StructType::BuildFieldsArray(JSContext*, JSObject*)': ./ctypes/CTypes.cpp:4358:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./ctypes/CTypes.cpp:4358:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 4358 | Array fieldsVec; 4358 | Array fieldsVec; | ^ | ^ ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::FunctionType::Create(JSContext*, uintN, jsval*)': ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::FunctionType::Create(JSContext*, uintN, jsval*)': ./ctypes/CTypes.cpp:4809:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./ctypes/CTypes.cpp:4809:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 4809 | Array argTypes; 4809 | Array argTypes; | ^ | ^ In file included from ./jsatom.h:47, In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./jscntxt.h:59, from ./ctypes/Library.cpp:41: from ./ctypes/Library.cpp:41: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::FunctionType::ArgTypesGetter(JSContext*, JSObject*, jsid, jsval*)': ./ctypes/CTypes.cpp: In function 'JSBool js::ctypes::FunctionType::ArgTypesGetter(JSContext*, JSObject*, jsid, jsval*)': ./ctypes/CTypes.cpp:5127:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./ctypes/CTypes.cpp:5127:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 5127 | Array vec; 5127 | Array vec; | ^ | ^ ./ctypes/CTypes.cpp: In function 'void js::ctypes::CClosure::ClosureStub(ffi_cif*, void*, void**, void*)': ./ctypes/CTypes.cpp: In function 'void js::ctypes::CClosure::ClosureStub(ffi_cif*, void*, void**, void*)': ./ctypes/CTypes.cpp:5375:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./ctypes/CTypes.cpp:5375:18: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 5375 | Array argv; 5375 | Array argv; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./jscntxt.h:55, from ./ctypes/Library.cpp:41: from ./ctypes/Library.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsperf.cpp jsperf.cpp c++ -o jsperf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.pp ./perf/jsperf.cpp c++ -o jsperf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsperf.pp ./perf/jsperf.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: from ./perf/jsperf.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: from ./perf/jsperf.cpp:39: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./perf/jsperf.h:42, In file included from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: from ./perf/jsperf.cpp:39: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: from ./perf/jsperf.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ./jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ pm_linux.cpp pm_linux.cpp c++ -o pm_linux.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_linux.pp ./perf/pm_linux.cpp c++ -o pm_linux.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr4 -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/pm_linux.pp ./perf/pm_linux.cpp In file included from ./jsval.h:48, In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.h:42, from ./perf/pm_linux.cpp:39: from ./perf/pm_linux.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ./jspubtd.h:47, In file included from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.h:42, from ./perf/pm_linux.cpp:39: from ./perf/pm_linux.cpp:39: ./jsval.h: At global scope: ./jsval.h: At global scope: ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ./jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ./perf/jsperf.h:42, In file included from ./perf/jsperf.h:42, from ./perf/pm_linux.cpp:39: from ./perf/pm_linux.cpp:39: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ rm -f libjs_static.a rm -f libjs_static.a ar cr libjs_static.a jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o CTypes.o Library.o jsperf.o pm_linux.o ar cr libjs_static.a jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o CTypes.o Library.o jsperf.o pm_linux.o ranlib libjs_static.a ranlib libjs_static.a rm -f libmozjs185.so rm -f libmozjs185.so c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs185.so -o libmozjs185.so jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o CTypes.o Library.o jsperf.o pm_linux.o -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -Wl,-soname,libmozjs185.so.1.0 -ldl -lm -ldl c++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs185.so -o libmozjs185.so jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o CTypes.o Library.o jsperf.o pm_linux.o -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -Wl,-soname,libmozjs185.so.1.0 -ldl -lm -ldl chmod +x libmozjs185.so chmod +x libmozjs185.so /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -D ../dist/bin/chrome /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -D ../dist/bin/chrome make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' editline.c editline.c gcc -o editline.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -include ../js-confdefs.h -DMOZILLA_CLIENT -MD -MF .deps/editline.pp editline.c gcc -o editline.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -include ../js-confdefs.h -DMOZILLA_CLIENT -MD -MF .deps/editline.pp editline.c sysunix.c sysunix.c gcc -o sysunix.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -include ../js-confdefs.h -DMOZILLA_CLIENT -MD -MF .deps/sysunix.pp sysunix.c gcc -o sysunix.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -include ../js-confdefs.h -DMOZILLA_CLIENT -MD -MF .deps/sysunix.pp sysunix.c rm -f libeditline.a rm -f libeditline.a ar cr libeditline.a editline.o sysunix.o ar cr libeditline.a editline.o sysunix.o ranlib libeditline.a ranlib libeditline.a make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' jsworkers.cpp jsworkers.cpp js.cpp js.cpp c++ -o js.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.pp js.cpp c++ -o js.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.pp js.cpp c++ -o jsworkers.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsworkers.pp jsworkers.cpp c++ -o jsworkers.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux5.2.7-200.fc30\" -DOSARCH=Linux -I.. -I.. -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/include/nspr4 -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsworkers.pp jsworkers.cpp In file included from js.cpp:56: In file included from js.cpp:56: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ../jspubtd.h:47, In file included from ../jspubtd.h:47, from ../jsapi.h:49, from ../jsapi.h:49, from ../jswrapper.h:45, from ../jswrapper.h:45, from js.cpp:58: from js.cpp:58: ../jsval.h: At global scope: ../jsval.h: At global scope: ../jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ../jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from ../jswrapper.h:45, In file included from ../jswrapper.h:45, from js.cpp:58: from js.cpp:58: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from ../jsval.h:48, In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jspubtd.h:47, from ../jsapi.h:49, from ../jsapi.h:49, from jsworkers.cpp:48: from jsworkers.cpp:48: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) 302 | if (!memory) | ^~ | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; 304 | *(size_t *)memory = n; | ^ | ^ In file included from ../jspubtd.h:47, In file included from ../jspubtd.h:47, from ../jsapi.h:49, from ../jsapi.h:49, from jsworkers.cpp:48: from jsworkers.cpp:48: ../jsval.h: At global scope: ../jsval.h: At global scope: ../jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' ../jsval.h:302:28: warning: 'jsval_layout::::tag' is too small to hold all values of 'enum JSValueTag' 302 | JSValueTag tag : 16; 302 | JSValueTag tag : 16; | ^~~ | ^~~ In file included from jsworkers.cpp:48: In file included from jsworkers.cpp:48: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; 1381 | template<> class AnchorPermitted { }; | ^ | ^ In file included from js.cpp:56: In file included from js.cpp:56: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from ../jsval.h:48, In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jspubtd.h:47, from ../jsapi.h:49, from ../jsapi.h:49, from jsworkers.cpp:48: from jsworkers.cpp:48: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); 740 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); 741 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT' 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); 742 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT' 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); 743 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' ../jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT' 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); 744 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT' 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT' 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT' 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT' 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); 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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ jsworkers.cpp: In member function 'void js::workers::MainQueue::destroy(JSContext*)': jsworkers.cpp: In member function 'void js::workers::MainQueue::destroy(JSContext*)': jsworkers.cpp:372:16: warning: deleting object of polymorphic class type 'js::workers::MainQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] jsworkers.cpp:372:16: warning: deleting object of polymorphic class type 'js::workers::MainQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 372 | delete this; 372 | delete this; | ^~~~ | ^~~~ jsworkers.cpp: In member function 'bool js::workers::ThreadPool::start(JSContext*)': jsworkers.cpp: In member function 'bool js::workers::ThreadPool::start(JSContext*)': jsworkers.cpp:512:20: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] jsworkers.cpp:512:20: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 512 | delete wq; 512 | delete wq; | ^~ | ^~ jsworkers.cpp: In member function 'void js::workers::ThreadPool::shutdown(JSContext*)': jsworkers.cpp: In member function 'void js::workers::ThreadPool::shutdown(JSContext*)': jsworkers.cpp:549:16: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] jsworkers.cpp:549:16: warning: deleting object of polymorphic class type 'js::workers::WorkerQueue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 549 | delete wq; 549 | delete wq; | ^~ | ^~ jsworkers.cpp: In static member function 'static void js::workers::Worker::jsFinalize(JSContext*, JSObject*)': jsworkers.cpp: In static member function 'static void js::workers::Worker::jsFinalize(JSContext*, JSObject*)': jsworkers.cpp:691:20: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] jsworkers.cpp:691:20: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 691 | delete w; 691 | delete w; | ^ | ^ jsworkers.cpp: In static member function 'static js::workers::Worker* js::workers::Worker::create(JSContext*, js::workers::WorkerParent*, JSString*, JSObject*)': jsworkers.cpp: In static member function 'static js::workers::Worker* js::workers::Worker::create(JSContext*, js::workers::WorkerParent*, JSString*, JSObject*)': jsworkers.cpp:1076:16: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] jsworkers.cpp:1076:16: warning: deleting object of polymorphic class type 'js::workers::Worker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1076 | delete w; 1076 | delete w; | ^ | ^ In file included from ../nanojit/nanojit.h:377, In file included from ../nanojit/nanojit.h:377, from ../jsbuiltins.h:45, from ../jsbuiltins.h:45, from js.cpp:62: from js.cpp:62: ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)': ../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'} [-Wnarrowing] ../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'} [-Wnarrowing] 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; 189 | Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)': ../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'} [-Wnarrowing] ../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'} [-Wnarrowing] 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; 197 | Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from js.cpp:56: In file included from js.cpp:56: ../jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); 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)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT' 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); 303 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ../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] ../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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] 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' ../jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~ In file included from js.cpp:97: In file included from js.cpp:97: ../jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ../jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ../jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); 316 | setPrivate((void*) length); | ^~~~~~ | ^~~~~~ c++ -o js -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer js.o jsworkers.o -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L../dist/bin -L../dist/lib -L/usr/lib64 -lplds4 -lplc4 -lnspr4 ../editline/libeditline.a ../libjs_static.a -ldl -lffi c++ -o js -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer js.o jsworkers.o -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L../dist/bin -L../dist/lib -L/usr/lib64 -lplds4 -lplc4 -lnspr4 ../editline/libeditline.a ../libjs_static.a -ldl -lffi /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js ../dist/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js ../dist/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js .. /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js .. make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make tools make tools make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/editline' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[2]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src/shell' make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fGnRLv Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fGnRLv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 ++ dirname /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 ++ dirname /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + mkdir /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + cd js-1.8.5 + cd js-1.8.5 + cd js + cd js + make -C src install DESTDIR=/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + make -C src install DESTDIR=/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 make: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' make: Entering directory '/builddir/build/BUILD/js-1.8.5/js/src' cat mozjs185.pc.in | sed \ cat mozjs185.pc.in | sed \ -e "s|%prefix%|/usr|" \ -e "s|%prefix%|/usr|" \ -e "s|%includedir%|/usr/include|" \ -e "s|%includedir%|/usr/include|" \ -e "s|%libdir%|/usr/lib64|" \ -e "s|%libdir%|/usr/lib64|" \ -e 's|%MOZILLA_VERSION%||' \ -e 's|%MOZILLA_VERSION%||' \ > mozjs185.pc && chmod 644 mozjs185.pc > mozjs185.pc && chmod 644 mozjs185.pc pkg_config_file: mozjs185.pc pkg_config_file: mozjs185.pc /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/pkgconfig /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/pkgconfig /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /builddir/build/BUILD/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 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/include/js /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /builddir/build/BUILD/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 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/include/js /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t libjs_static.a /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t libjs_static.a /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 mv -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libjs_static.a /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185-1.0.a mv -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libjs_static.a /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185-1.0.a /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 /builddir/build/BUILD/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 mv -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 mv -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 ln -s libmozjs185.so.1.0.0 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0 ln -s libmozjs185.so.1.0.0 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0 ln -s libmozjs185.so.1.0 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so ln -s libmozjs185.so.1.0 /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so make: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' make: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' + rm -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js-config + rm -f /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js-config + install -m 0755 src/jscpucfg src/shell/js /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/ + install -m 0755 src/jscpucfg src/shell/js /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/ + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185-1.0.a + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185-1.0.a + rm -rf '/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/*.la' + rm -rf '/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/*.la' + pushd /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 + pushd /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 ~/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 ~/build/BUILD/js-1.8.5/js ~/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64 ~/build/BUILD/js-1.8.5/js + ln -s libmozjs185.so.1.0 libmozjs.so.1 + ln -s libmozjs185.so.1.0 libmozjs.so.1 + ln -s libmozjs185.so.1.0 libjs.so.1 + ln -s libmozjs185.so.1.0 libjs.so.1 + ln -s libmozjs185.so libmozjs.so + ln -s libmozjs185.so libmozjs.so + ln -s libmozjs185.so libjs.so + ln -s libmozjs185.so libjs.so + popd + popd ~/build/BUILD/js-1.8.5/js ~/build/BUILD/js-1.8.5/js + install -m 0644 libjs.pc /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/pkgconfig/ + install -m 0644 libjs.pc /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/pkgconfig/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.8.5-21.fc31 --unique-debug-suffix -1.8.5-21.fc31.x86_64 --unique-debug-src-base couch-js-1.8.5-21.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/js-1.8.5 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.8.5-21.fc31 --unique-debug-suffix -1.8.5-21.fc31.x86_64 --unique-debug-src-base couch-js-1.8.5-21.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/js-1.8.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/jscpucfg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/jscpucfg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/js extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/jscpucfg extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/bin/jscpucfg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/lib64/libmozjs185.so.1.0.0 original debug info size: 74384kB, size after compression: 68856kB original debug info size: 74384kB, size after compression: 68856kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 16132 blocks 16132 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/couch-js-1.8.5-21.fc31.x86_64/js/src/nanojit/Assembler.cpp is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/src/debug/couch-js-1.8.5-21.fc31.x86_64/js/src/nanojit/Assembler.cpp is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsperf.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsperf.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Writer.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Writer.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/VMPI.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/VMPI.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/nanojit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/nanojit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/RegAlloc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/RegAlloc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/njcpudetect.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/njcpudetect.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/njconfig.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/njconfig.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/NativeX64.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/NativeX64.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/NativeCommon.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/NativeCommon.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Native.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Native.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Fragmento.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Fragmento.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/avmplus.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/avmplus.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/LIRopcode.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/LIRopcode.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/LIR.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/LIR.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Containers.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Containers.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/CodeAlloc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/CodeAlloc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Allocator.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Allocator.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Assembler.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/Assembler.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbuiltins.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbuiltins.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/prmjtime.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/prmjtime.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvalue.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvalue.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsval.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsval.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxml.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxml.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxdrapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxdrapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jswrapper.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jswrapper.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsversion.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsversion.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshashtable.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshashtable.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstl.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstl.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvector.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvector.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsutil.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsutil.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypedarray.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypedarray.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshotloop.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshotloop.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstracer.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jstracer.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstr.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstr.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstdint.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstdint.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstaticcheck.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstaticcheck.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscriptinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscriptinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscript.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscript.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscope.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscope.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscan.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscan.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsregexp.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsregexp.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsreflect.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsreflect.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspubtd.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspubtd.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprvtd.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprvtd.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproto.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproto.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertytree.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertytree.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycacheinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycacheinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycache.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycache.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprobes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprobes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprf.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprf.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproxy.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproxy.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsparse.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsparse.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsotypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsotypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcodeinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcodeinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.tbl is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/json.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/json.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobjinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobjinlines.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobj.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobj.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsmath.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsmath.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jslong.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jslong.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jslock.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jslock.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsiter.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsiter.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinttypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinttypes.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinterp.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinterp.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshash.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jshash.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompartment.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompartment.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcstats.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcstats.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcchunk.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcchunk.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscell.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscell.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgc.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfriendapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfriendapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfun.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfun.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsemit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsemit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdtoa.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdtoa.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdhash.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdhash.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdbgapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdbgapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdate.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdate.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompat.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompat.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscntxt.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jscntxt.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclone.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclone.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclist.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclist.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbool.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbool.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbit.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsatom.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsatom.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarena.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarena.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarray.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarray.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsapi.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsanalyze.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsanalyze.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/js.msg is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/js.msg is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsautokw.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsautokw.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsautocfg.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/jsautocfg.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/js-config.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/js/js-config.h is executable but has empty or no shebang, removing executable bit Processing files: couch-js-1.8.5-21.fc31.x86_64 Processing files: couch-js-1.8.5-21.fc31.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AcAH1u Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AcAH1u + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd js-1.8.5 + cd js-1.8.5 + DOCDIR=/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + DOCDIR=/builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + /usr/bin/mkdir -p /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + cp -pr js/src/README.html /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + cp -pr js/src/README.html /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64/usr/share/doc/couch-js + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Provides: couch-js = 1:1.8.5-21.fc31 couch-js(x86-64) = 1:1.8.5-21.fc31 js = 1.8.5-21.fc31 libjs = 1.8.5-21.fc31 libmozjs185.so.1.0()(64bit) Provides: couch-js = 1:1.8.5-21.fc31 couch-js(x86-64) = 1:1.8.5-21.fc31 js = 1.8.5-21.fc31 libjs = 1.8.5-21.fc31 libmozjs185.so.1.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libffi.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnspr4.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libffi.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnspr4.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Conflicts: js <= 1.8.5 Conflicts: js <= 1.8.5 Obsoletes: js Obsoletes: js Processing files: couch-js-devel-1.8.5-21.fc31.x86_64 Processing files: couch-js-devel-1.8.5-21.fc31.x86_64 Provides: couch-js-devel = 1:1.8.5-21.fc31 couch-js-devel(x86-64) = 1:1.8.5-21.fc31 js-devel = 1.8.5-21.fc31 libjs-devel = 1.8.5-21.fc31 pkgconfig(libjs) = 1.8.5 pkgconfig(mozjs185) Provides: couch-js-devel = 1:1.8.5-21.fc31 couch-js-devel(x86-64) = 1:1.8.5-21.fc31 js-devel = 1.8.5-21.fc31 libjs-devel = 1.8.5-21.fc31 pkgconfig(libjs) = 1.8.5 pkgconfig(mozjs185) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libmozjs185.so.1.0()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) pkgconfig(nspr) >= 4.7 rtld(GNU_HASH) Requires: /usr/bin/pkg-config libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libmozjs185.so.1.0()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) pkgconfig(nspr) >= 4.7 rtld(GNU_HASH) Conflicts: js-devel <= 1.8.5 Conflicts: js-devel <= 1.8.5 Obsoletes: js-devel Obsoletes: js-devel Processing files: couch-js-debugsource-1.8.5-21.fc31.x86_64 Processing files: couch-js-debugsource-1.8.5-21.fc31.x86_64 Provides: couch-js-debugsource = 1:1.8.5-21.fc31 couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Provides: couch-js-debugsource = 1:1.8.5-21.fc31 couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: couch-js-debuginfo-1.8.5-21.fc31.x86_64 Processing files: couch-js-debuginfo-1.8.5-21.fc31.x86_64 Provides: couch-js-debuginfo = 1:1.8.5-21.fc31 couch-js-debuginfo(x86-64) = 1:1.8.5-21.fc31 debuginfo(build-id) = 6caa087b53e63735124c21a85dd4cadfb0b5462a debuginfo(build-id) = a763248d12a14ecd3f0e658ac58d2b1d675a876a Provides: couch-js-debuginfo = 1:1.8.5-21.fc31 couch-js-debuginfo(x86-64) = 1:1.8.5-21.fc31 debuginfo(build-id) = 6caa087b53e63735124c21a85dd4cadfb0b5462a debuginfo(build-id) = a763248d12a14ecd3f0e658ac58d2b1d675a876a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Recommends: couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Processing files: couch-js-devel-debuginfo-1.8.5-21.fc31.x86_64 Processing files: couch-js-devel-debuginfo-1.8.5-21.fc31.x86_64 Provides: couch-js-devel-debuginfo = 1:1.8.5-21.fc31 couch-js-devel-debuginfo(x86-64) = 1:1.8.5-21.fc31 debuginfo(build-id) = 23d7d51d9be04aba930c87156a70e33971793689 Provides: couch-js-devel-debuginfo = 1:1.8.5-21.fc31 couch-js-devel-debuginfo(x86-64) = 1:1.8.5-21.fc31 debuginfo(build-id) = 23d7d51d9be04aba930c87156a70e33971793689 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Recommends: couch-js-debugsource(x86-64) = 1:1.8.5-21.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 Wrote: /builddir/build/RPMS/couch-js-devel-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-devel-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-debugsource-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-debugsource-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-devel-debuginfo-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-devel-debuginfo-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-debuginfo-1.8.5-21.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/couch-js-debuginfo-1.8.5-21.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WyiZSv Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WyiZSv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd js-1.8.5 + cd js-1.8.5 + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + rm -rf /builddir/build/BUILDROOT/couch-js-1.8.5-21.fc31.x86_64 + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Child return code was: 0 Child return code was: 0