D: [iurt_root_command] chroot warning: line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64js1-devel Installing /home/iurt/rpmbuild/SRPMS/js-1.85-15.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lQTAMx + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf js-1.8.5/js/src + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/js185-1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd js-1.8.5/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (js-1.8.5-fix-destdir.patch):' Patch #0 (js-1.8.5-fix-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 -b --suffix .destdir~ --fuzz=0 patching file Makefile.in + echo 'Patch #1 (js-allow-to-build-against-system-libffi.patch):' Patch #1 (js-allow-to-build-against-system-libffi.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file Makefile.in patching file config/autoconf.mk.in patching file configure.in patching file shell/Makefile.in + echo 'Patch #2 (js-force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch):' Patch #2 (js-force-NativeARM.o-to-have-arch-armv4t-in-its-.ARM.at.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file nanojit/NativeARM.cpp + echo 'Patch #3 (js-bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch):' Patch #3 (js-bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file Makefile.in + echo 'Patch #4 (js-bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch):' Patch #4 (js-bug-626035-Modify-the-way-arm-compiler-flags-are-set.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file configure.in + echo 'Patch #5 (js-bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch):' Patch #5 (js-bug-589744-Fallback-to-perf-measurement-stub-when-pe.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file configure.in + echo 'Patch #6 (js-1.8.5-gcc7.patch):' Patch #6 (js-1.8.5-gcc7.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 -b --suffix .gcc7 --fuzz=0 patching file ctypes/CTypes.cpp patching file jsapi.cpp patching file jsfun.cpp patching file jsiter.cpp patching file jsparse.cpp patching file jsstr.cpp patching file jstypedarray.cpp patching file jsxml.cpp patching file methodjit/InvokeHelpers.cpp patching file nanojit/NativeX64.cpp + echo 'Patch #7 (aarch64.patch):' Patch #7 (aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 -b --suffix .aarch64 --fuzz=0 patching file assembler/jit/ExecutableAllocator.h patching file assembler/wtf/Platform.h patching file configure.in + autoconf-2.13 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8k7tEw + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd js-1.8.5/js/src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export MOZILLA_VERSION=1.8.5 + MOZILLA_VERSION=1.8.5 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/autoconf/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./ctypes/libffi/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./ctypes/libffi/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./ctypes/libffi/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./ctypes/libffi/config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 --enable-system-ffi --enable-readline --enable-threadsafe --enable-ctypes --with-system-nspr creating cache ./config.cache checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking build system type... aarch64-mageia-linux-gnu checking for gawk... gawk checking for perl5... /usr/bin/perl5 checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) works... yes checking whether the C++ compiler (c++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking whether 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... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for minimum required perl version >= 5.006... 5.032000 checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 checking for doxygen... : checking for autoconf... /usr/bin/autoconf checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for makedepend... no checking for xargs... /usr/bin/xargs checking for gmake... /usr/bin/gmake checking for X... no checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether the compiler supports -Wno-variadic-macros... yes checking whether the compiler supports -Werror=return-type... yes checking whether ld has archive extraction flags... yes checking that static assertion macros used in autoconf tests work... yes checking for 64-bit OS... yes checking for Python version >= 2.5 but not 3.x... yes checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for __stdcall... no checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for stdint.h... yes checking for the size of void*... 8 checking for the alignment of void*... 8 checking for the size of double... 8 checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64... no checking for uint... yes checking for uint_t... no checking for uint16_t... no checking for uname.domainname... yes checking for uname.__domainname... no checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... yes checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for __force_align_arg_pointer__ attribute... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for io.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for mmintrin.h... no checking for new... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for dladdr... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether mmap() sees write()s... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for fchmod... yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... yes checking for memmove... yes checking for random... yes checking for rint... no checking for sbrk... yes checking for snprintf... yes checking for stat64... yes checking for statvfs... yes checking for statvfs64... yes checking for strerror... yes checking for strtok_r... yes checking for truncate64... yes checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for gnu_get_libc_version()... yes checking for iconv in -lc... yes checking for iconv()... yes checking for iconv() with const input... no checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... yes checking for gcc 3.0 ABI... yes checking for C++ "explicit" keyword... yes checking for C++ "typename" keyword... yes checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes checking whether operators must be re-defined for templates derived from templates... no checking whether we need to cast a derived template to pass as its base class... no checking whether the compiler can resolve const ambiguities for templates... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for "std::" namespace... yes checking whether standard template operator!=() is ambiguous... unambiguous checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for __thread keyword for TLS variables... yes checking for malloc.h... (cached) yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for valloc... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((noreturn))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.7.0... yes checking for pkg-config... /usr/bin/pkg-config checking for libffi... yes checking MOZ_FFI_CFLAGS... checking MOZ_FFI_LIBS... -lffi checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for gcc -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking whether C++ compiler has -pedantic long long bug... no checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking for readline in -lreadline... yes checking for posix_fallocate... yes checking for setlocale... yes checking for localeconv... (cached) yes creating js-confdefs.h ==== js-confdefs.h ================================= /* List of defines generated by configure. Included with preprocessor flag, * -include, to avoid long list of -D defines on the compile command-line. * Do not edit. */ #ifndef _JS_CONFDEFS_H_ #define _JS_CONFDEFS_H_ #define CPP_THROW_NEW throw() #define D_INO d_ino #define EDITLINE 1 #define HAVE_64BIT_OS 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CPP_ACCESS_CHANGING_USING 1 #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1 #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1 #define HAVE_CPP_EXPLICIT 1 #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1 #define HAVE_CPP_NAMESPACE_STD 1 #define HAVE_CPP_NEW_CASTS 1 #define HAVE_CPP_PARTIAL_SPECIALIZATION 1 #define HAVE_CPP_TYPENAME 1 #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1 #define HAVE_DIRENT_H 1 #define HAVE_DLADDR 1 #define HAVE_DLOPEN 1 #define HAVE_FCHMOD 1 #define HAVE_FLOCKFILE 1 #define HAVE_GETC_UNLOCKED 1 #define HAVE_GETOPT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GNU_GET_LIBC_VERSION 1 #define HAVE_GNU_LIBC_VERSION_H 1 #define HAVE_I18N_LC_MESSAGES 1 #define HAVE_ICONV 1 #define HAVE_INT16_T 1 #define HAVE_INT32_T 1 #define HAVE_INT64_T 1 #define HAVE_LCHOWN 1 #define HAVE_LINUX_QUOTA_H 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALECONV 1 #define HAVE_LOCALTIME_R 1 #define HAVE_LSTAT64 1 #define HAVE_MALLOC_H 1 #define HAVE_MBRTOWC 1 #define HAVE_MEMALIGN 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_RANDOM 1 #define HAVE_RES_NINIT 1 #define HAVE_SBRK 1 #define HAVE_SETLOCALE 1 #define HAVE_SIGINFO_T 1 #define HAVE_SNPRINTF 1 #define HAVE_SSIZE_T 1 #define HAVE_STAT64 1 #define HAVE_STATVFS 1 #define HAVE_STATVFS64 1 #define HAVE_STRERROR 1 #define HAVE_STRNDUP 1 #define HAVE_STRTOK_R 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SYS_BITYPES_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUOTA_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_THREAD_TLS_KEYWORD 1 #define HAVE_TM_ZONE_TM_GMTOFF 1 #define HAVE_TRUNCATE64 1 #define HAVE_UINT 1 #define HAVE_UNAME_DOMAINNAME_FIELD 1 #define HAVE_UNISTD_H 1 #define HAVE_VALLOC 1 #define HAVE_VA_COPY 1 #define HAVE_VISIBILITY_ATTRIBUTE 1 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_WCRTOMB 1 #define HAVE__UNWIND_BACKTRACE 1 #define HAVE___CXA_DEMANGLE 1 #define JS_ALIGN_OF_POINTER 8 #define JS_BITS_PER_WORD_LOG2 6 #define JS_BYTES_PER_DOUBLE 8 #define JS_BYTES_PER_WORD 8 #define JS_HAS_CTYPES 1 #define JS_HAVE_STDINT_H 1 #define JS_THREADSAFE 1 #define MALLOC_H #define MOZ_DLL_SUFFIX ".so" #define NEW_H #define NS_ALWAYS_INLINE __attribute__((always_inline)) #define NS_ATTR_MALLOC __attribute__((malloc)) #define NS_NORETURN __attribute__((noreturn)) #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #define STDC_HEADERS 1 #define UNIX_ASYNC_DNS 1 #define VA_COPY va_copy #define XP_UNIX 1 #define X_DISPLAY_MISSING 1 #define _REENTRANT 1 #endif /* _JS_CONFDEFS_H_ */ creating Makefile creating shell/Makefile creating lirasm/Makefile creating jsapi-tests/Makefile creating tests/Makefile creating config/Makefile creating config/mkdepend/Makefile updating cache ./config.cache creating ./config.status creating config/autoconf.mk creating js-config.h invoking make to create js-config script rm -f js-config.tmp sed < js-config.in > js-config.tmp \ -e 's|@prefix@|/usr|' \ -e 's|@exec_prefix@|/usr|' \ -e 's|@includedir@|/usr/include|' \ -e 's|@libdir@|/usr/lib64|' \ -e 's|@MOZILLA_VERSION@|1.8.5|' \ -e 's|@LIBRARY_NAME@|mozjs185|' \ -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr4|' \ -e 's|@JS_CONFIG_LIBS@|-lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl |' \ -e 's|@MOZ_JS_LIBS@|-L/usr/lib64 -lmozjs185|' \ && mv js-config.tmp js-config && chmod +x js-config + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make export /usr/bin/make -C config/ nsinstall make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' pathsub.c gcc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:519, from pathsub.c:49: In function 'strncpy', inlined from 'reversepath' at pathsub.c:242:6: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' nsinstall.c gcc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' gcc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' Creating /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/.deps make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' Creating /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell/.deps make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' Creating /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests/.deps make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Nothing to be done for 'export'. make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux5.7.19-server-3\" -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' ./host_jskwgen /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsautokw.h make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /home/iurt/rpmbuild/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 ./perf/jsperf.h ./dist/include make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' mkdir -p nanojit make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /usr/bin/make libs make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' ./host_jsoplengen /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsautooplen.h make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsarena.cpp c++ -o jsarena.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsarena.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsanalyze.cpp c++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': 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] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here 56 | struct Bytecode | ^~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsbool.cpp c++ -o jsbool.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsbool.cpp:46: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbool.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsbool.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsclone.cpp c++ -o jsclone.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsclone.h:42, from jsclone.cpp:39: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsregexpinlines.h:45, from jsclone.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsclone.h:42, from jsclone.cpp:39: jsclone.cpp: In member function 'bool js::SCInput::readArray(T*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:203:5: note: in expansion of macro 'JS_STATIC_ASSERT' 203 | JS_STATIC_ASSERT(sizeof(uint64_t) % sizeof(T) == 0); | ^~~~~~~~~~~~~~~~ jsclone.cpp: In function 'uint32_t ArrayTypeToTag(uint32_t)': jsutil.h:120:43: warning: typedef 'js_static_assert75' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:408:5: note: in expansion of macro 'JS_STATIC_ASSERT' 408 | JS_STATIC_ASSERT(TypedArray::TYPE_INT8 == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert76' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:409:5: note: in expansion of macro 'JS_STATIC_ASSERT' 409 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8 == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert77' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:410:5: note: in expansion of macro 'JS_STATIC_ASSERT' 410 | JS_STATIC_ASSERT(TypedArray::TYPE_INT16 == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert78' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:411:5: note: in expansion of macro 'JS_STATIC_ASSERT' 411 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT16 == 3); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert79' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:412:5: note: in expansion of macro 'JS_STATIC_ASSERT' 412 | JS_STATIC_ASSERT(TypedArray::TYPE_INT32 == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:413:5: note: in expansion of macro 'JS_STATIC_ASSERT' 413 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT32 == 5); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert81' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:414:5: note: in expansion of macro 'JS_STATIC_ASSERT' 414 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT32 == 6); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert82' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:415:5: note: in expansion of macro 'JS_STATIC_ASSERT' 415 | JS_STATIC_ASSERT(TypedArray::TYPE_FLOAT64 == 7); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:416:5: note: in expansion of macro 'JS_STATIC_ASSERT' 416 | JS_STATIC_ASSERT(TypedArray::TYPE_UINT8_CLAMPED == 8); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.cpp:417:5: note: in expansion of macro 'JS_STATIC_ASSERT' 417 | JS_STATIC_ASSERT(TypedArray::TYPE_MAX == TypedArray::TYPE_UINT8_CLAMPED + 1); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsdhash.cpp c++ -o jsdhash.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsdhash.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsatom.cpp c++ -o jsatom.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.cpp:50: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsatom.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsatom.cpp:65: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsatom.cpp:51: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsatom.cpp:862:9: note: in expansion of macro 'ALE_SET_INDEX' 862 | ALE_SET_INDEX(ale, count++); | ^~~~~~~~~~~~~ jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)': jsatom.cpp:954:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] 954 | uint32 count; | ^~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jscompartment.cpp c++ -o jscompartment.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jscompartment.cpp:41: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jscompartment.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsdbgapi.cpp c++ -o jsdbgapi.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdbgapi.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jsdbgapi.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsdbgapi.cpp:72: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jscntxt.cpp c++ -o jscntxt.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jscntxt.cpp:58: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jscntxt.cpp:58: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jscntxt.cpp:90: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jscntxt.cpp:58: jscntxt.cpp: In function 'JSContext* js_NewContext(JSRuntime*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jscntxt.cpp:746:5: note: in expansion of macro 'JS_STATIC_ASSERT' 746 | JS_STATIC_ASSERT(JSVERSION_DEFAULT == 0); | ^~~~~~~~~~~~~~~~ jscntxt.cpp: At global scope: jscntxt.cpp:2268:1: warning: 'bool IsJITBrokenHere()' defined but not used [-Wunused-function] 2268 | IsJITBrokenHere() | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsexn.cpp c++ -o jsexn.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsexn.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsexn.cpp:51: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsexn.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsexn.cpp:67: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsexn.cpp:48: jsexn.cpp: In function 'JSErrorReport* CopyErrorReport(JSContext*, JSErrorReport*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:146:5: note: in expansion of macro 'JS_STATIC_ASSERT' 146 | JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:147:5: note: in expansion of macro 'JS_STATIC_ASSERT' 147 | JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0); | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'jsval* GetStackTraceValueBuffer(JSExnPrivate*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:257:5: note: in expansion of macro 'JS_STATIC_ASSERT' 257 | JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0); | ^~~~~~~~~~~~~~~~ jsexn.cpp: In function 'JSBool exn_enumerate(JSContext*, JSObject*)': jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsexn.cpp:440:5: note: in expansion of macro 'JS_STATIC_ASSERT' 440 | JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsfriendapi.cpp c++ -o jsfriendapi.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsfriendapi.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsfriendapi.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsdate.cpp c++ -o jsdate.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdate.cpp:64: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsdate.cpp:63: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsdate.cpp:74: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsgcchunk.cpp c++ -o jsgcchunk.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsprvtd.h:57, from jsgcchunk.h:43, from jsgcchunk.cpp:37: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jshash.cpp c++ -o jshash.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jshash.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsgcstats.cpp c++ -o jsgcstats.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jsgcstats.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsgcstats.cpp:40: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsdtoa.cpp c++ -o jsdtoa.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsdtoa.cpp:47: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsdtoa.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsdtoa.cpp:54: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsarray.cpp c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jsarray.cpp:84: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsarray.cpp:85: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsarray.cpp:84: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsarray.cpp:110: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsarray.cpp:84: jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT' 230 | JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~ jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT' 256 | JS_STATIC_ASSERT((jsuint)-1 == 4294967295U); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jslock.cpp c++ -o jslock.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 jslock.cpp:252:3: warning: #warning is a GCC extension 252 | # warning "js_CompareAndSwap is implemented using NSPR lock" | ^~~~~~~ jslock.cpp:252:3: warning: #warning "js_CompareAndSwap is implemented using NSPR lock" [-Wcpp] In file included from jsval.h:48, from jspubtd.h:47, from jslock.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jscntxt.h:59, from jslock.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jslock.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jslog2.cpp c++ -o jslog2.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jslog2.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsinvoke.cpp c++ -o jsinvoke.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsinvoke.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsinterp.cpp:52, from jsinvoke.cpp:42: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85, from jsinvoke.cpp:42: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsinterp.cpp:50, from jsinvoke.cpp:42: jsinterp.cpp: In function 'bool js::Execute(JSContext*, JSObject*, JSScript*, JSStackFrame*, uintN, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.cpp:993:5: note: in expansion of macro 'JS_STATIC_ASSERT' 993 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsnativestack.cpp c++ -o jsnativestack.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsnativestack.h:42, from jsnativestack.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsmath.cpp c++ -o jsmath.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsmath.cpp:48: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsmath.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsapi.cpp c++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 jsapi.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsapi.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsapi.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsclone.h: In member function 'void js::SCInput::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT' 100 | JS_STATIC_ASSERT(sizeof(jschar) == 2); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT' 101 | JS_STATIC_ASSERT(sizeof(uint32_t) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT' 102 | JS_STATIC_ASSERT(sizeof(jsdouble) == 8); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsapi.cpp:94: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ 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] 5182 | memcpy(args.argv(), argv, argc * sizeof(jsval)); | ^ In file included from jsobj.h:64, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsapi.cpp:57: jsvalue.h:331:7: note: 'class js::Value' declared here 331 | class Value | ^~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsnum.cpp c++ -o jsnum.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 jsnum.cpp:56: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsnum.cpp:57: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsnum.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsnum.cpp:75: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsnum.cpp:56: jsnum.cpp: In constructor 'js::ToCStringBuf::ToCStringBuf()': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:594:5: note: in expansion of macro 'JS_STATIC_ASSERT' 594 | JS_STATIC_ASSERT(sbufSize >= DTOSTR_STANDARD_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~ jsnum.cpp: In function 'JSString* js_IntToString(JSContext*, int32)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsnum.cpp:625:5: note: in expansion of macro 'JS_STATIC_ASSERT' 625 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH + 1 >= sizeof("-2147483648")); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsiter.cpp c++ -o jsiter.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsiter.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsiter.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsiter.cpp:80: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsiter.cpp:47: jsiter.cpp: In function 'bool js::VectorToIdArray(JSContext*, js::AutoIdVector&, JSIdArray**)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsiter.cpp:339:5: note: in expansion of macro 'JS_STATIC_ASSERT' 339 | JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid)); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsfun.cpp c++ -o jsfun.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsfun.cpp:47: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsfun.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsfun.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsfun.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsbit.h:44, from jsfun.cpp:47: jsfun.cpp: In function 'JSObject* NewArguments(JSContext*, JSObject*, uint32, JSObject&)': jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.cpp:186:5: note: in expansion of macro 'JS_STATIC_ASSERT' 186 | JS_STATIC_ASSERT(JSObject::ARGS_CLASS_RESERVED_SLOTS == 2); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsgc.cpp c++ -o jsgc.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsgc.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsgc.cpp:56: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsgc.cpp:91: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsgc.cpp:56: jsgc.cpp: In function 'js::gc::ConservativeGCTest js::MarkIfGCThingWord(JSTracer*, jsuword, uint32&)': jsutil.h:120:43: warning: typedef 'js_static_assert83' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.cpp:610:5: note: in expansion of macro 'JS_STATIC_ASSERT' 610 | JS_STATIC_ASSERT(JSID_TYPE_STRING == 0 && JSID_TYPE_OBJECT == 4); | ^~~~~~~~~~~~~~~~ jsgc.cpp: In function 'void FinalizeArenaList(JSCompartment*, JSContext*, unsigned int)': jsutil.h:120:43: warning: typedef 'js_static_assert84' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.cpp:1893:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1893 | JS_STATIC_ASSERT(!(sizeof(T) & Cell::CellMask)); | ^~~~~~~~~~~~~~~~ In file included from jsatom.h:50, from jsgc.cpp:62: jshashtable.h: In function 'void js_FinishGC(JSRuntime*)': jshashtable.h:776:13: warning: '*((void*)& +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ 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] 776 | value = rhs.value; | ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ 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] 776 | value = rhs.value; | ^~~~~ jshashtable.h:776:13: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 776 | value = rhs.value; | ^~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' json.cpp c++ -o json.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from json.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from json.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from json.cpp:66: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsprf.cpp c++ -o jsprf.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsstr.h:52, from jsprf.cpp:53: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsprf.cpp:51: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsprobes.cpp c++ -o jsprobes.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jsprobes.cpp:36: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsprobes.cpp:36: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsprobes.cpp:36: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsemit.cpp c++ -o jsemit.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsemit.cpp:55: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsemit.cpp:52: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:73: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsemit.cpp:52: jsemit.cpp: In member function 'bool JSTreeContext::ensureSharpSlots()': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1318:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1318 | JS_STATIC_ASSERT(SHARP_NSLOTS == 2); | ^~~~~~~~~~~~~~~~ jsemit.cpp: In function 'JSOp EmitBigIndexPrefix(JSContext*, JSCodeGenerator*, uintN)': jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1773:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1773 | JS_STATIC_ASSERT(INDEX_LIMIT <= JS_BIT(24)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert71' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsemit.cpp:1774:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1774 | JS_STATIC_ASSERT(INDEX_LIMIT >= | ^~~~~~~~~~~~~~~~ In file included from jsemit.cpp:56: jsemit.cpp: In member function 'bool JSCodeGenerator::addGlobalUse(JSAtom*, uint32, js::UpvarCookie*)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsemit.cpp:2458:5: note: in expansion of macro 'ALE_SET_INDEX' 2458 | ALE_SET_INDEX(ale, cookie->asInteger()); | ^~~~~~~~~~~~~ jsemit.cpp: In function 'JSBool EmitVariables(JSContext*, JSCodeGenerator*, JSParseNode*, JSBool, ptrdiff_t*)': jsemit.cpp:4100:10: warning: variable 'forInLet' set but not used [-Wunused-but-set-variable] 4100 | bool forInLet, popScope; | ^~~~~~~~ jsemit.cpp: In function 'JSBool js_EmitTree(JSContext*, JSCodeGenerator*, JSParseNode*)': jsemit.cpp:5675:19: warning: variable 'blockObj' set but not used [-Wunused-but-set-variable] 5675 | JSObject *blockObj; | ^~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jspropertycache.cpp c++ -o jspropertycache.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.cpp:41: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jspropertycache.h:44, from jspropertycache.cpp:41: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jspropertycache.h:44, from jspropertycache.cpp:41: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jspropertycache.cpp:44: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jspropertytree.cpp c++ -o jspropertytree.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jspropertytree.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jspropertytree.cpp:45: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jspropertytree.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jspropertytree.cpp:51: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsproxy.cpp c++ -o jsproxy.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsproxy.cpp:43: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jsproxy.cpp:43: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsproxy.cpp:51: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsreflect.cpp c++ -o jsreflect.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsreflect.cpp:45: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, from jsreflect.cpp:46: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsreflect.cpp:45: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsreflect.cpp:63: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsopcode.cpp c++ -o jsopcode.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsopcode.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsopcode.cpp:54: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsopcode.cpp:77: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsopcode.cpp: In function 'jsbytecode* DecompileDestructuring(SprintStack*, jsbytecode*, jsbytecode*)': jsopcode.cpp:1572:14: warning: variable 'saveop' set but not used [-Wunused-but-set-variable] 1572 | JSOp op, saveop; | ^~~~~~ In file included from jsopcode.cpp:54: jsopcode.cpp: In function 'jsbytecode* Decompile(SprintStack*, jsbytecode*, intN, JSOp)': jsutil.h:120:43: warning: typedef 'js_static_assert314' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsopcode.cpp:1891:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1891 | JS_STATIC_ASSERT(ARGNO_LEN == SLOTNO_LEN); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsregexp.cpp c++ -o jsregexp.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsregexp.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsregexp.cpp:48: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsregexp.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsparse.cpp c++ -o jsparse.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsparse.cpp:61: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsparse.cpp:60: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsparse.cpp:93: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsarray.h:47, from jsparse.cpp:62: jsparse.cpp: In member function 'JSParseNode* js::Parser::primaryExpr(js::TokenKind, JSBool)': jsatom.h:158:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) | ^~~~~~~~~~~~~~~ jsparse.cpp:8697:17: note: in expansion of macro 'ALE_SET_INDEX' 8697 | ALE_SET_INDEX(ale, assignType | oldAssignType); | ^~~~~~~~~~~~~ jsparse.cpp:8540:16: warning: variable 'afterComma' set but not used [-Wunused-but-set-variable] 8540 | JSBool afterComma; | ^~~~~~~~~~ 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] 3754 | def = GlobalScope::GlobalDef(shape->slot); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jsparse.cpp:3756:17: warning: '*((void*)& def +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3756 | def = GlobalScope::GlobalDef(atom, funbox); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsutil.cpp c++ -o jsutil.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsscope.cpp c++ -o jsscope.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsscope.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsscope.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsscope.cpp:50: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsscope.cpp:67: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsobj.cpp c++ -o jsobj.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsobj.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsobj.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsobj.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsobj.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsobj.cpp: In function 'JSHashEntry* MarkSharpObjects(JSContext*, JSObject*, JSIdArray**)': jsobj.cpp:221:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | he = JS_HashTableRawAdd(table, hep, hash, obj, (void *) sharpid); | ^~~~~~~~~~~~~~~~ jsobj.cpp:280:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 280 | he->value = (void *) sharpid; | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsinterp.cpp c++ -o jsinterp.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from jsinterp.cpp:50: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsinterp.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsinterp.cpp:50: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsinterp.cpp:85: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsinterp.cpp: In function 'bool js::Interpret(JSContext*, JSStackFrame*, uintN, JSInterpMode)': jsinterp.cpp:2356:10: warning: unused variable 'useMethodJIT' [-Wunused-variable] 2356 | bool useMethodJIT = false; | ^~~~~~~~~~~~ jsinterp.cpp:2910:3: warning: label 'jit_return' defined but not used [-Wunused-label] 2910 | jit_return: | ^~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' prmjtime.cpp c++ -o prmjtime.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 prmjtime.cpp:51: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jslock.h:43, from prmjtime.cpp:54: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' sharkctl.cpp c++ -o sharkctl.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' checks.cc c++ -o checks.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/checks.cc:31: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jswrapper.cpp c++ -o jswrapper.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jswrapper.cpp:42: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsval.h:48, from jspubtd.h:47, from jsapi.h:49, from jswrapper.cpp:42: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jswrapper.cpp:55: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' diy-fp.cc c++ -o diy-fp.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./v8-dtoa/diy-fp.cc:28: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' conversions.cc c++ -o conversions.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./v8-dtoa/conversions.cc:30: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsscan.cpp c++ -o jsscan.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsscan.cpp:57: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsscan.cpp:60: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsscan.cpp:57: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' v8-dtoa.cc c++ -o v8-dtoa.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/v8-dtoa.cc:33: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' utils.cc c++ -o utils.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from ./v8-dtoa/v8.h:45, from ./v8-dtoa/utils.cc:30: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' platform.cc c++ -o platform.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./v8-dtoa/platform.cc:37: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' fast-dtoa.cc c++ -o fast-dtoa.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./v8-dtoa/fast-dtoa.cc:28: ./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] 156 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsxdrapi.cpp c++ -o jsxdrapi.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsxdrapi.cpp:50: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsxdrapi.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsxdrapi.cpp:58: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pcre_tables.cpp c++ -o pcre_tables.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_tables.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pcre_xclass.cpp c++ -o pcre_xclass.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_xclass.cpp:43: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pcre_ucp_searchfuncs.cpp c++ -o pcre_ucp_searchfuncs.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_ucp_searchfuncs.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' Library.cpp c++ -o Library.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./ctypes/Library.cpp:41: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./ctypes/Library.cpp:41: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./ctypes/Library.cpp:41: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsscript.cpp c++ -o jsscript.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsscript.cpp:49: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsscript.cpp:47: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsscript.cpp:70: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsscript.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] 193 | jsuword constFlag = 0; | ^~~~~~~~~ In file included from jsscript.cpp:47: 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:712:9: note: in expansion of macro 'JS_STATIC_ASSERT' 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:713:9: note: in expansion of macro 'JS_STATIC_ASSERT' 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)': jsutil.h:120:43: warning: typedef 'js_static_assert80' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.cpp:1289:5: note: in expansion of macro 'JS_STATIC_ASSERT' 1289 | JS_STATIC_ASSERT(sizeof(JSObjectArray) + | ^~~~~~~~~~~~~~~~ jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = JSScript]': 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] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsfun.h:49, from jscntxt.h:62, from jsscript.cpp:51: jsscript.h:349:8: note: 'struct JSScript' declared here 349 | struct JSScript { | ^~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsperf.cpp c++ -o jsperf.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/jsperf.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pm_linux.cpp c++ -o pm_linux.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./perf/jsperf.h:42, from ./perf/pm_linux.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./perf/jsperf.h:42, from ./perf/pm_linux.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pcre_exec.cpp c++ -o pcre_exec.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_exec.cpp:45: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert51' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert60' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert63' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' pcre_compile.cpp c++ -o pcre_compile.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsapi.h:49, from ./jsstr.h:52, from ./yarr/jswtfbridge.h:48, from ./yarr/pcre/pcre.h:45, from ./yarr/pcre/pcre_internal.h:72, from ./yarr/pcre/pcre_compile.cpp:44: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | 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:572:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] 572 | const UChar* tempptr; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jstypedarray.cpp c++ -o jstypedarray.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jstypedarray.cpp:47: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jstypedarray.cpp:44: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jstypedarray.cpp:64: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jstypedarray.cpp:44: jstypedarray.cpp: In member function 'void TypedArrayTemplate::copyIndexToValue(JSContext*, uint32, js::Value*)': jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT' 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: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: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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here 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: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: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] 1260 | memmove(dest, tarray->data, tarray->byteLength); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jstypedarray.cpp:391:8: note: 'struct uint8_clamped' declared here 391 | struct uint8_clamped { | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsxml.cpp c++ -o jsxml.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from jsxml.cpp:49: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsxml.cpp:52: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsbit.h:44, from jsxml.cpp:49: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsxml.cpp:76: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' CTypes.cpp c++ -o CTypes.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: ./jsutil.h: In function 'T* js_array_new(size_t)': ./jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ./jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ./jsatom.h:47, from ./jscntxt.h:59, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: ./jsapi.h: At global scope: ./jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ./jsval.h:48, from ./jspubtd.h:47, from ./jsprvtd.h:57, from ./jscntxt.h:55, from ./ctypes/CTypes.h:42, from ./ctypes/CTypes.cpp:39: ./jsvalue.h: In member function 'void js::Value::staticAssertions()': ./jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ./jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ./jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ./jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ./jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ./jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ./jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ./jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ./jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ./jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ./jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ./jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ./jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1057 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1066 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1075 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1086 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1156 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1237 | JS_STATIC_ASSERT(!numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1293 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1353 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1415 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1479 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ./jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ./jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 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' 1560 | JS_STATIC_ASSERT(numeric_limits::is_exact); | ^~~~~~~~~~~~~~~~ ./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] 4037 | Array fieldRootsArray; | ^ ./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] 4358 | Array fieldsVec; | ^ ./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] 4809 | Array argTypes; | ^ ./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] 5127 | Array vec; | ^ ./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] 5375 | Array argv; | ^ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' jsstr.cpp c++ -o jsstr.o -c -fvisibility=hidden -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 jsstr.cpp:55: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsstr.cpp:58: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsstr.cpp:55: jsvalue.h: In member function 'void js::Value::staticAssertions()': jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ jsstr.h: In static member function 'static void JSShortString::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from jsstr.cpp:81: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jsstr.cpp:55: 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] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:119:5: note: in expansion of macro 'JS_STATIC_ASSERT' 119 | JS_STATIC_ASSERT(JSString::MAX_LENGTH * sizeof(jschar) < UINT32_MAX); | ^~~~~~~~~~~~~~~~ jsstr.cpp: In member function 'JSFlatString* js::StringBuffer::finishString()': jsutil.h:120:43: warning: typedef 'js_static_assert73' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ jsstr.cpp:3501:5: note: in expansion of macro 'JS_STATIC_ASSERT' 3501 | JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH < CharBuffer::InlineLength); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -lffi -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-soname,libmozjs185.so.1.0 -ldl -lm -ldl chmod +x libmozjs185.so make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 644 libjs_static.a ./dist/lib /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/lib /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so ./dist/bin /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -D ../dist/bin/chrome make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' jsworkers.cpp c++ -o jsworkers.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from jsworkers.cpp:48: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsworkers.cpp:48: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from jsworkers.cpp:48: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ jsworkers.cpp: In member function 'void js::workers::MainQueue::destroy(JSContext*)': jsworkers.cpp:372:9: 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; | ^~~~~~~~~~~ jsworkers.cpp: In member function 'bool js::workers::ThreadPool::start(JSContext*)': jsworkers.cpp:512:13: 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; | ^~~~~~~~~ jsworkers.cpp: In member function 'void js::workers::ThreadPool::shutdown(JSContext*)': jsworkers.cpp:549:9: 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; | ^~~~~~~~~ jsworkers.cpp: In static member function 'static void js::workers::Worker::jsFinalize(JSContext*, JSObject*)': jsworkers.cpp:691:13: 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; | ^~~~~~~~ jsworkers.cpp: In static member function 'static js::workers::Worker* js::workers::Worker::create(JSContext*, js::workers::WorkerParent*, JSString*, JSObject*)': jsworkers.cpp:1076:9: 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; | ^~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' js.cpp c++ -o js.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 In file included from js.cpp:56: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from ../jswrapper.h:45, from js.cpp:58: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from js.cpp:56: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const': ../jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT' 202 | JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH); | ^~~~~~~~~~~~~~~~ ../jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT' 280 | JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999); | ^~~~~~~~~~~~~~~~ ../jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT' 431 | JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0)); | ^~~~~~~~~~~~~~~~ In file included from js.cpp:97: ../jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': ../jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' 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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer js.o jsworkers.o -lpthread -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L../dist/bin -L../dist/lib -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lreadline ../libjs_static.a -ldl -lffi make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js ../dist/bin make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 js .. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/shell' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' tests.cpp c++ -o tests.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/tests.pp tests.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from tests.cpp:41: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from tests.cpp:41: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testClassGetter.cpp c++ -o testClassGetter.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testClassGetter.pp testClassGetter.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testClassGetter.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testClassGetter.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testContexts.cpp c++ -o testContexts.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testContexts.pp testContexts.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testContexts.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testContexts.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testCloneScript.cpp c++ -o testCloneScript.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCloneScript.pp testCloneScript.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCloneScript.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testCloneScript.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testDebugger.cpp c++ -o testDebugger.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDebugger.pp testDebugger.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDebugger.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testDebugger.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDebugger.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' selfTest.cpp c++ -o selfTest.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/selfTest.pp selfTest.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from selfTest.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from selfTest.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testConservativeGC.cpp c++ -o testConservativeGC.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testConservativeGC.pp testConservativeGC.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testConservativeGC.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testConservativeGC.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testConservativeGC.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testDefineProperty.cpp c++ -o testDefineProperty.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineProperty.pp testDefineProperty.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDefineProperty.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testDefineProperty.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testDefineGetterSetterNonEnumerable.cpp c++ -o testDefineGetterSetterNonEnumerable.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDefineGetterSetterNonEnumerable.pp testDefineGetterSetterNonEnumerable.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDefineGetterSetterNonEnumerable.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testDefineGetterSetterNonEnumerable.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testDeepFreeze.cpp c++ -o testDeepFreeze.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testDeepFreeze.pp testDeepFreeze.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testDeepFreeze.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testDeepFreeze.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testBug604087.cpp c++ -o testBug604087.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testBug604087.pp testBug604087.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testBug604087.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testBug604087.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testBug604087.cpp:7: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testExtendedEq.cpp c++ -o testExtendedEq.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testExtendedEq.pp testExtendedEq.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testExtendedEq.cpp:8: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testExtendedEq.cpp:8: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testExtendedEq.cpp:8: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testLookup.cpp c++ -o testLookup.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testLookup.pp testLookup.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testLookup.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testLookup.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testLookup.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testIntString.cpp c++ -o testIntString.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIntString.pp testIntString.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testIntString.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testIntString.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testIntString.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testGetPropertyDefault.cpp c++ -o testGetPropertyDefault.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGetPropertyDefault.pp testGetPropertyDefault.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGetPropertyDefault.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testGetPropertyDefault.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testFuncCallback.cpp c++ -o testFuncCallback.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testFuncCallback.pp testFuncCallback.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testFuncCallback.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testFuncCallback.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testFuncCallback.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testNewObject.cpp c++ -o testNewObject.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testNewObject.pp testNewObject.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testNewObject.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testNewObject.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testGCChunkAlloc.cpp c++ -o testGCChunkAlloc.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testGCChunkAlloc.pp testGCChunkAlloc.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGCChunkAlloc.cpp:9: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testGCChunkAlloc.cpp:9: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testGCChunkAlloc.cpp:9: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testSameValue.cpp c++ -o testSameValue.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSameValue.pp testSameValue.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testSameValue.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testSameValue.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testSetProperty.cpp c++ -o testSetProperty.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testSetProperty.pp testSetProperty.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testSetProperty.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testSetProperty.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testOps.cpp c++ -o testOps.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testOps.pp testOps.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testOps.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testOps.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testPropCache.cpp c++ -o testPropCache.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testPropCache.pp testPropCache.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testPropCache.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testPropCache.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testUTF8.cpp c++ -o testUTF8.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testUTF8.pp testUTF8.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testUTF8.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testUTF8.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testTrap.cpp c++ -o testTrap.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testTrap.pp testTrap.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testTrap.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testTrap.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testTrap.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testScriptObject.cpp c++ -o testScriptObject.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testScriptObject.pp testScriptObject.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testScriptObject.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testScriptObject.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testThreads.cpp c++ -o testThreads.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreads.pp testThreads.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreads.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testThreads.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testCustomIterator.cpp c++ -o testCustomIterator.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testCustomIterator.pp testCustomIterator.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCustomIterator.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testCustomIterator.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testCustomIterator.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testThreadGC.cpp c++ -o testThreadGC.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testThreadGC.pp testThreadGC.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreadGC.cpp:7: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testThreadGC.cpp:7: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testThreadGC.cpp:7: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testXDR.cpp c++ -o testXDR.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testXDR.pp testXDR.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testXDR.cpp:5: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testXDR.cpp:5: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testXDR.cpp:5: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' testVersion.cpp c++ -o testVersion.o -c -fvisibility=hidden -DEXPORT_JS_API -DOSTYPE=\"Linux5.7.19-server-3\" -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testVersion.pp testVersion.cpp In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testVersion.cpp:1: ../jsutil.h: In function 'T* js_array_new(size_t)': ../jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ ../jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from tests.h:41, from testVersion.cpp:1: ../jsapi.h: At global scope: ../jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from ../jsval.h:48, from ../jspubtd.h:47, from ../jsapi.h:49, from tests.h:41, from testVersion.cpp:1: ../jsvalue.h: In member function 'void js::Value::staticAssertions()': ../jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT' 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT' 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT' 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT' 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT' 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT' 459 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^~~~~~~~~~~~~~~~ ../jsstr.h: In static member function 'static void JSShortString::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT' 568 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT' 570 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT' 571 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^~~~~~~~~~~~~~~~ ../jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()': ../jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT' 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT' 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^~~~~~~~~~~~~~~~ ../jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()': ../jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT' 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT' 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)': ../jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT' 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^~~~~~~~~~~~~~~~ ../jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)': ../jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT' 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^~~~~~~~~~~~~~~~ ../jsinterp.h: In member function 'void JSStackFrame::staticAsserts()': ../jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT' 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ ../jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs] 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~ ../jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ ../jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^~~~~~~~~~~~~~~~~~~~~ ../jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT' 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' c++ -o jsapi-tests -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer tests.o selfTest.o testBug604087.o testClassGetter.o testCloneScript.o testConservativeGC.o testContexts.o testDebugger.o testDeepFreeze.o testDefineGetterSetterNonEnumerable.o testDefineProperty.o testExtendedEq.o testFuncCallback.o testGCChunkAlloc.o testGetPropertyDefault.o testIntString.o testLookup.o testNewObject.o testOps.o testPropCache.o testSameValue.o testScriptObject.o testSetProperty.o testThreadGC.o testThreads.o testTrap.o testUTF8.o testVersion.o testXDR.o testCustomIterator.o -lpthread -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -L../dist/bin -L../dist/lib ../libjs_static.a -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 jsapi-tests ../dist/bin make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/jsapi-tests' make[2]: Nothing to be done for 'libs'. make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -D dist/sdk/lib make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -R -m 755 libmozjs185.so dist/sdk/lib make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/js-1.8.5/js/src' /usr/bin/make tools make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. make[2]: Nothing to be done for 'tools'. if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7jOXCw + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 + cd js-1.8.5/js/src + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 'INSTALL=/usr/bin/install -p' cat mozjs185.pc.in | sed \ -e "s|%prefix%|/usr|" \ -e "s|%includedir%|/usr/include|" \ -e "s|%libdir%|/usr/lib64|" \ -e 's|%MOZILLA_VERSION%|1.8.5|' \ > mozjs185.pc && chmod 644 mozjs185.pc pkg_config_file: mozjs185.pc /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -t -m 644 mozjs185.pc /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/pkgconfig /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config.h jsautocfg.h /home/iurt/rpmbuild/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 ./perf/jsperf.h /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/include/js /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -t js-config /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/bin /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -t libjs_static.a /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64 mv -f /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libjs_static.a /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185-1.0.a /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src/config/nsinstall -t libmozjs185.so /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64 mv -f /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so.1.0.0 ln -s /usr/lib64/libmozjs185.so.1.0.0 /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so.1.0 ln -s /usr/lib64/libmozjs185.so.1.0 /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.85-15.mga8 --unique-debug-suffix -1.85-15.mga8.aarch64 --unique-debug-src-base js-1.85-15.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/js-1.8.5/js/src explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so.1.0.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/lib64/libmozjs185.so.1.0.0 original debug info size: 25828kB, size after compression: 23144kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 11130 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/include/js/jsautokw.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprf.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jspubtd.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdtoa.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertytree.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdhash.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobj.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproxy.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jslock.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jswrapper.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycache.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbit.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsval.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscript.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/js-config.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.tbl is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprobes.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypes.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jspropertycacheinlines.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/prmjtime.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfun.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsanalyze.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsutil.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsiter.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsotypes.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdbgapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsversion.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxdrapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompat.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscan.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscope.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvector.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jshash.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclist.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsprvtd.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsmath.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/json.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsproto.tbl is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsparse.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jshotloop.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsbool.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgc.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarena.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcodeinlines.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsperf.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinterp.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsautocfg.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsreflect.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcchunk.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstdint.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstaticcheck.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsvalue.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsarray.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jslong.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jscell.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsinttypes.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsclone.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/js.msg is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsregexp.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsobjinlines.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsdate.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsxml.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jstracer.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsemit.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsstr.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsatom.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsgcstats.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsfriendapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jshashtable.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jstl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsscriptinlines.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jscompartment.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jsopcode.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jstypedarray.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/js/jscntxt.h is executable but has no shebang, removing executable bit mangling shebang in /usr/bin/js-config from /bin/sh to #!/usr/bin/sh Processing files: js-1.85-15.mga8.aarch64 Provides: js = 1:1.85-15.mga8 js(aarch-64) = 1:1.85-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64mozjs185_1.0-1.85-15.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3K8M4w + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd js-1.8.5/js/src + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/share/doc/lib64mozjs185_1.0 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/share/doc/lib64mozjs185_1.0 + cp -pr README.html /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64/usr/share/doc/lib64mozjs185_1.0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64mozjs185_1.0 = 1:1.85-15.mga8 lib64mozjs185_1.0(aarch-64) = 1:1.85-15.mga8 libmozjs185.so.1.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libffi.so.7()(64bit) libffi.so.7(LIBFFI_BASE_7.0)(64bit) libffi.so.7(LIBFFI_CLOSURE_7.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnspr4.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) Processing files: lib64mozjs185-devel-1.85-15.mga8.aarch64 Provides: devel(libmozjs185(64bit)) js-devel = 1:1.85-15.mga8 lib64mozjs185-devel = 1:1.85-15.mga8 lib64mozjs185-devel(aarch-64) = 1:1.85-15.mga8 libjs-devel = 1:1.85-15.mga8 pkgconfig(mozjs185) = 1.8.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libffi(64bit)) devel(libm(64bit)) devel(libstdc++(64bit)) pkgconfig pkgconfig(nspr) >= 4.7 Obsoletes: lib64js1-devel Processing files: js-debugsource-1.85-15.mga8.aarch64 Provides: js-debugsource = 1:1.85-15.mga8 js-debugsource(aarch-64) = 1:1.85-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64mozjs185_1.0-debuginfo-1.85-15.mga8.aarch64 Provides: debuginfo(build-id) = e1b339417d29184f4bcbf6fe0d80756ac019696d lib64mozjs185_1.0-debuginfo = 1:1.85-15.mga8 lib64mozjs185_1.0-debuginfo(aarch-64) = 1:1.85-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: js-debugsource(aarch-64) = 1:1.85-15.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/js-1.85-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64mozjs185_1.0-1.85-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/js-debugsource-1.85-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64mozjs185_1.0-debuginfo-1.85-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64mozjs185-devel-1.85-15.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1bcWqy + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd js-1.8.5/js/src + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/js-1.85-15.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1Xf4Tz + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf js-1.8.5/js/src + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!