spacepaste

  1.  
  2. # prt-get depinst js185
  3. prt-get: installing /usr/ports/mate/js185
  4. =======> WARNING: Signature file not found, falling back to old md5sum checking.
  5. =======> Building '/usr/ports/mate/js185/js185#1.0.0-1.pkg.tar.gz'.
  6. bsdtar -p -o -C /usr/ports/mate/js185/work/src -xf /usr/ports/mate/js185/js185-1.0.0.tar.gz
  7. + build
  8. + cd js-1.8.5/js/src
  9. + sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' Makefile.in
  10. + ./configure --prefix=/usr --enable-threadsafe --with-system-nspr
  11. creating cache ./config.cache
  12. checking host system type... x86_64-unknown-linux-gnu
  13. checking target system type... x86_64-unknown-linux-gnu
  14. checking build system type... x86_64-unknown-linux-gnu
  15. checking for mawk... no
  16. checking for gawk... gawk
  17. checking for perl5... no
  18. checking for perl... /usr/bin/perl
  19. checking for gcc... gcc
  20. checking whether the C compiler (gcc -O2 -march=x86-64 -pipe ) works... yes
  21. checking whether the C compiler (gcc -O2 -march=x86-64 -pipe ) is a cross-compiler... no
  22. checking whether we are using GNU C... yes
  23. checking whether gcc accepts -g... yes
  24. checking for c++... c++
  25. checking whether the C++ compiler (c++ -O2 -march=x86-64 -pipe ) works... yes
  26. checking whether the C++ compiler (c++ -O2 -march=x86-64 -pipe ) is a cross-compiler... no
  27. checking whether we are using GNU C++... yes
  28. checking whether c++ accepts -g... yes
  29. checking for ranlib... ranlib
  30. checking for as... /usr/bin/as
  31. checking for ar... ar
  32. checking for ld... ld
  33. checking for strip... strip
  34. checking for windres... no
  35. checking whether gcc and cc understand -c and -o together... yes
  36. checking how to run the C preprocessor... gcc -E
  37. checking how to run the C++ preprocessor... c++ -E
  38. checking for sb-conf... no
  39. checking for ve... no
  40. checking for a BSD compatible install... /usr/bin/install -c
  41. checking whether ln -s works... yes
  42. checking for minimum required perl version >= 5.006... 5.024001
  43. checking for full perl installation... yes
  44. checking for python2.7... /usr/bin/python2.7
  45. checking for doxygen... :
  46. checking for autoconf... /usr/bin/autoconf
  47. checking for unzip... /usr/bin/unzip
  48. checking for zip... /usr/bin/zip
  49. checking for makedepend... no
  50. checking for xargs... /usr/bin/xargs
  51. checking for gmake... no
  52. checking for make... /usr/bin/make
  53. checking for X... libraries , headers
  54. checking for dnet_ntoa in -ldnet... no
  55. checking for dnet_ntoa in -ldnet_stub... no
  56. checking for gethostbyname... yes
  57. checking for connect... yes
  58. checking for remove... yes
  59. checking for shmat... yes
  60. checking for IceConnectionNumber in -lICE... yes
  61. checking whether the compiler supports -Wno-invalid-offsetof... yes
  62. checking whether the compiler supports -Wno-variadic-macros... yes
  63. checking whether the compiler supports -Werror=return-type... yes
  64. checking whether ld has archive extraction flags... yes
  65. checking that static assertion macros used in autoconf tests work... yes
  66. checking for 64-bit OS... yes
  67. checking for Python version >= 2.5 but not 3.x... yes
  68. checking for ANSI C header files... yes
  69. checking for working const... yes
  70. checking for mode_t... yes
  71. checking for off_t... yes
  72. checking for pid_t... yes
  73. checking for size_t... yes
  74. checking for __stdcall... no
  75. checking for ssize_t... yes
  76. checking for st_blksize in struct stat... yes
  77. checking for siginfo_t... yes
  78. checking for stdint.h... yes
  79. checking for the size of void*... 8
  80. checking for the alignment of void*... 8
  81. checking for the size of double... 8
  82. checking for int16_t... yes
  83. checking for int32_t... yes
  84. checking for int64_t... yes
  85. checking for int64... no
  86. checking for uint... yes
  87. checking for uint_t... no
  88. checking for uint16_t... no
  89. checking for uname.domainname... yes
  90. checking for uname.__domainname... no
  91. checking for visibility(hidden) attribute... yes
  92. checking for visibility(default) attribute... yes
  93. checking for visibility pragma support... yes
  94. checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no
  95. checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
  96. checking for __force_align_arg_pointer__ attribute... yes
  97. checking for dirent.h that defines DIR... yes
  98. checking for opendir in -ldir... no
  99. checking for sys/byteorder.h... no
  100. checking for compat.h... no
  101. checking for getopt.h... yes
  102. checking for sys/bitypes.h... yes
  103. checking for memory.h... yes
  104. checking for unistd.h... yes
  105. checking for gnu/libc-version.h... yes
  106. checking for nl_types.h... yes
  107. checking for malloc.h... yes
  108. checking for X11/XKBlib.h... yes
  109. checking for io.h... no
  110. checking for sys/statvfs.h... yes
  111. checking for sys/statfs.h... yes
  112. checking for sys/vfs.h... yes
  113. checking for sys/mount.h... yes
  114. checking for sys/quota.h... yes
  115. checking for linux/quota.h... yes
  116. checking for mmintrin.h... yes
  117. checking for new... yes
  118. checking for sys/cdefs.h... yes
  119. checking for linux/perf_event.h... yes
  120. checking for gethostbyname_r in -lc_r... no
  121. checking for library containing dlopen... -ldl
  122. checking for dlfcn.h... yes
  123. checking for dladdr... yes
  124. checking for socket in -lsocket... no
  125. checking for ARM SIMD support in compiler... no
  126. checking for ARM NEON support in compiler... no
  127. checking for pthread_create in -lpthreads... no
  128. checking for pthread_create in -lpthread... yes
  129. checking whether gcc accepts -pthread... yes
  130. checking whether mmap() sees write()s... yes
  131. checking whether gcc needs -traditional... no
  132. checking for 8-bit clean memcmp... yes
  133. checking for fchmod... yes
  134. checking for flockfile... yes
  135. checking for getc_unlocked... yes
  136. checking for _getc_nolock... no
  137. checking for getpagesize... yes
  138. checking for lchown... yes
  139. checking for localtime_r... yes
  140. checking for lstat64... yes
  141. checking for memmove... yes
  142. checking for random... yes
  143. checking for rint... no
  144. checking for sbrk... yes
  145. checking for snprintf... yes
  146. checking for stat64... yes
  147. checking for statvfs... yes
  148. checking for statvfs64... yes
  149. checking for strerror... yes
  150. checking for strtok_r... yes
  151. checking for truncate64... yes
  152. checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... yes
  153. checking for wcrtomb... yes
  154. checking for mbrtowc... yes
  155. checking for res_ninit()... yes
  156. checking for gnu_get_libc_version()... yes
  157. checking for iconv in -lc... yes
  158. checking for iconv()... yes
  159. checking for iconv() with const input... no
  160. checking for an implementation of va_copy()... yes
  161. checking for an implementation of __va_copy()... yes
  162. checking whether va_lists can be copied by value... no
  163. checking for gcc 3.0 ABI... yes
  164. checking for C++ "explicit" keyword... yes
  165. checking for C++ "typename" keyword... yes
  166. checking for modern C++ template specialization syntax support... yes
  167. checking whether partial template specialization works... yes
  168. checking whether operators must be re-defined for templates derived from templates... no
  169. checking whether we need to cast a derived template to pass as its base class... no
  170. checking whether the compiler can resolve const ambiguities for templates... yes
  171. checking whether the C++ "using" keyword can change access... yes
  172. checking whether the C++ "using" keyword resolves ambiguity... yes
  173. checking for "std::" namespace... yes
  174. checking whether standard template operator!=() is ambiguous... unambiguous
  175. checking for C++ reinterpret_cast... yes
  176. checking for C++ dynamic_cast to void*... yes
  177. checking whether C++ requires implementation of unused virtual methods... no
  178. checking for trouble comparing to zero near std::operator!=()... no
  179. checking for __thread keyword for TLS variables... yes
  180. checking for malloc.h... (cached) yes
  181. checking for strndup... yes
  182. checking for posix_memalign... yes
  183. checking for memalign... yes
  184. checking for valloc... yes
  185. checking for __attribute__((always_inline))... yes
  186. checking for __attribute__((malloc))... yes
  187. checking for __attribute__((warn_unused_result))... yes
  188. checking for __attribute__((noreturn))... yes
  189. checking for LC_MESSAGES... yes
  190. checking for localeconv... yes
  191. checking for nspr-config... /usr/bin/nspr-config
  192. checking for NSPR - version >= 4.7.0... yes
  193. checking for valid optimization flags... yes
  194. checking for __cxa_demangle... yes
  195. checking for unwind.h... yes
  196. checking for _Unwind_Backtrace... yes
  197. checking for gcc -pipe support... yes
  198. checking whether C compiler supports -fprofile-generate... yes
  199. checking whether C++ compiler has -pedantic long long bug... no
  200. checking for correct temporary object destruction order... yes
  201. checking for correct overload resolution with const and templates... no
  202. checking for tm_zone tm_gmtoff in struct tm... yes
  203. checking for posix_fallocate... yes
  204. checking for setlocale... yes
  205. checking for localeconv... (cached) yes
  206. creating js-confdefs.h
  207. ==== js-confdefs.h =================================
  208. /* List of defines generated by configure. Included with preprocessor flag,
  209. * -include, to avoid long list of -D defines on the compile command-line.
  210. * Do not edit.
  211. */
  212. #ifndef _JS_CONFDEFS_H_
  213. #define _JS_CONFDEFS_H_
  214. #define AVMPLUS_64BIT 1
  215. #define AVMPLUS_AMD64 1
  216. #define AVMPLUS_LINUX 1
  217. #define AVMPLUS_UNIX 1
  218. #define CPP_THROW_NEW throw()
  219. #define D_INO d_ino
  220. #define EDITLINE 1
  221. #define FEATURE_NANOJIT 1
  222. #define HAVE_64BIT_OS 1
  223. #define HAVE_CLOCK_MONOTONIC 1
  224. #define HAVE_CPP_ACCESS_CHANGING_USING 1
  225. #define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1
  226. #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1
  227. #define HAVE_CPP_EXPLICIT 1
  228. #define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1
  229. #define HAVE_CPP_NAMESPACE_STD 1
  230. #define HAVE_CPP_NEW_CASTS 1
  231. #define HAVE_CPP_PARTIAL_SPECIALIZATION 1
  232. #define HAVE_CPP_TYPENAME 1
  233. #define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1
  234. #define HAVE_DIRENT_H 1
  235. #define HAVE_DLADDR 1
  236. #define HAVE_DLOPEN 1
  237. #define HAVE_FCHMOD 1
  238. #define HAVE_FLOCKFILE 1
  239. #define HAVE_GETC_UNLOCKED 1
  240. #define HAVE_GETOPT_H 1
  241. #define HAVE_GETPAGESIZE 1
  242. #define HAVE_GNU_GET_LIBC_VERSION 1
  243. #define HAVE_GNU_LIBC_VERSION_H 1
  244. #define HAVE_I18N_LC_MESSAGES 1
  245. #define HAVE_ICONV 1
  246. #define HAVE_INT16_T 1
  247. #define HAVE_INT32_T 1
  248. #define HAVE_INT64_T 1
  249. #define HAVE_LCHOWN 1
  250. #define HAVE_LINUX_QUOTA_H 1
  251. #define HAVE_LOCALECONV 1
  252. #define HAVE_LOCALECONV 1
  253. #define HAVE_LOCALTIME_R 1
  254. #define HAVE_LSTAT64 1
  255. #define HAVE_MALLOC_H 1
  256. #define HAVE_MBRTOWC 1
  257. #define HAVE_MEMALIGN 1
  258. #define HAVE_MEMMOVE 1
  259. #define HAVE_MEMORY_H 1
  260. #define HAVE_MMINTRIN_H 1
  261. #define HAVE_NL_TYPES_H 1
  262. #define HAVE_POSIX_FALLOCATE 1
  263. #define HAVE_POSIX_MEMALIGN 1
  264. #define HAVE_RANDOM 1
  265. #define HAVE_RES_NINIT 1
  266. #define HAVE_SBRK 1
  267. #define HAVE_SETLOCALE 1
  268. #define HAVE_SIGINFO_T 1
  269. #define HAVE_SNPRINTF 1
  270. #define HAVE_SSIZE_T 1
  271. #define HAVE_STAT64 1
  272. #define HAVE_STATVFS 1
  273. #define HAVE_STATVFS64 1
  274. #define HAVE_STRERROR 1
  275. #define HAVE_STRNDUP 1
  276. #define HAVE_STRTOK_R 1
  277. #define HAVE_ST_BLKSIZE 1
  278. #define HAVE_SYS_BITYPES_H 1
  279. #define HAVE_SYS_CDEFS_H 1
  280. #define HAVE_SYS_MOUNT_H 1
  281. #define HAVE_SYS_QUOTA_H 1
  282. #define HAVE_SYS_STATFS_H 1
  283. #define HAVE_SYS_STATVFS_H 1
  284. #define HAVE_SYS_VFS_H 1
  285. #define HAVE_THREAD_TLS_KEYWORD 1
  286. #define HAVE_TM_ZONE_TM_GMTOFF 1
  287. #define HAVE_TRUNCATE64 1
  288. #define HAVE_UINT 1
  289. #define HAVE_UNAME_DOMAINNAME_FIELD 1
  290. #define HAVE_UNISTD_H 1
  291. #define HAVE_VALLOC 1
  292. #define HAVE_VA_COPY 1
  293. #define HAVE_VA_LIST_AS_ARRAY 1
  294. #define HAVE_VISIBILITY_ATTRIBUTE 1
  295. #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
  296. #define HAVE_WCRTOMB 1
  297. #define HAVE_X11_XKBLIB_H 1
  298. #define HAVE__UNWIND_BACKTRACE 1
  299. #define HAVE___CXA_DEMANGLE 1
  300. #define JS_ALIGN_OF_POINTER 8
  301. #define JS_BITS_PER_WORD_LOG2 6
  302. #define JS_BYTES_PER_DOUBLE 8
  303. #define JS_BYTES_PER_WORD 8
  304. #define JS_CPU_X64 1
  305. #define JS_HAVE_STDINT_H 1
  306. #define JS_METHODJIT 1
  307. #define JS_MONOIC 1
  308. #define JS_POLYIC 1
  309. #define JS_POLYIC_TYPED_ARRAY 1
  310. #define JS_PUNBOX64 1
  311. #define JS_THREADSAFE 1
  312. #define JS_TRACER 1
  313. #define MALLOC_H <malloc.h>
  314. #define MOZ_DLL_SUFFIX ".so"
  315. #define NEW_H <new>
  316. #define NS_ALWAYS_INLINE __attribute__((always_inline))
  317. #define NS_ATTR_MALLOC __attribute__((malloc))
  318. #define NS_NORETURN __attribute__((noreturn))
  319. #define NS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  320. #define STDC_HEADERS 1
  321. #define UNIX_ASYNC_DNS 1
  322. #define VA_COPY va_copy
  323. #define XP_UNIX 1
  324. #define _REENTRANT 1
  325. #endif /* _JS_CONFDEFS_H_ */
  326. creating Makefile
  327. creating shell/Makefile
  328. creating lirasm/Makefile
  329. creating jsapi-tests/Makefile
  330. creating tests/Makefile
  331. creating config/Makefile
  332. creating config/mkdepend/Makefile
  333. creating editline/Makefile
  334. updating cache ./config.cache
  335. creating ./config.status
  336. creating config/autoconf.mk
  337. creating js-config.h
  338. invoking make to create js-config script
  339. rm -f js-config.tmp
  340. sed < js-config.in > js-config.tmp \
  341. -e 's|@prefix@|/usr|' \
  342. -e 's|@exec_prefix@|/usr|' \
  343. -e 's|@includedir@|/usr/include|' \
  344. -e 's|@libdir@|/usr/lib|' \
  345. -e 's|@MOZILLA_VERSION@||' \
  346. -e 's|@LIBRARY_NAME@|mozjs185|' \
  347. -e 's|@NSPR_CFLAGS@|-I/usr/include/nspr|' \
  348. -e 's|@JS_CONFIG_LIBS@|-L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm -ldl |' \
  349. -e 's|@MOZ_JS_LIBS@|-L/usr/lib -lmozjs185|' \
  350. && mv js-config.tmp js-config && chmod +x js-config
  351. + make
  352. make export
  353. make[1]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src'
  354. make -C config/ nsinstall
  355. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/config'
  356. nsinstall.c
  357. gcc -o host_nsinstall.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -march=x86-64 -pipe -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/nspr -I/usr/include/nspr nsinstall.c
  358. pathsub.c
  359. gcc -o host_pathsub.o -c -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -march=x86-64 -pipe -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/nspr -I/usr/include/nspr pathsub.c
  360. gcc -o nsinstall -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long -O2 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o
  361. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/config'
  362. Creating /usr/ports/mate/js185/work/src/js-1.8.5/js/src/.deps
  363. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/config'
  364. rm -f nfspwd
  365. cp nfspwd.pl nfspwd
  366. chmod +x nfspwd
  367. /usr/ports/mate/js185/work/src/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin
  368. if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi
  369. /usr/bin/perl ./preprocessor.pl -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_METHODJIT=1 -DJS_MONOIC=1 -DJS_POLYIC=1 -DJS_POLYIC_TYPED_ARRAY=1 -DFEATURE_NANOJIT=1 -DJS_TRACER=1 -DAVMPLUS_AMD64=1 -DAVMPLUS_64BIT=1 -DAVMPLUS_UNIX=1 -DAVMPLUS_LINUX=1 -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_HAVE_STDINT_H=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DJS_ALIGN_OF_POINTER=8 -DJS_BYTES_PER_DOUBLE=8 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_MMINTRIN_H=1 -DNEW_H=\<new\> -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_ICONV=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\<malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \
  370. -DBUILD_STATIC_LIBS= \
  371. ./system-headers | /usr/bin/perl ./make-system-wrappers.pl system_wrappers_js
  372. /usr/ports/mate/js185/work/src/js-1.8.5/js/src/config/nsinstall -R system_wrappers_js ../dist
  373. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/config'
  374. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/editline'
  375. Creating /usr/ports/mate/js185/work/src/js-1.8.5/js/src/editline/.deps
  376. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/editline'
  377. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/shell'
  378. Creating /usr/ports/mate/js185/work/src/js-1.8.5/js/src/shell/.deps
  379. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/shell'
  380. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsapi-tests'
  381. Creating /usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsapi-tests/.deps
  382. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsapi-tests'
  383. make[2]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/tests'
  384. make[2]: Nothing to be done for 'export'.
  385. make[2]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src/tests'
  386. 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 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/include/nspr -o jscpucfg jscpucfg.cpp
  387. jskwgen.cpp
  388. 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 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jskwgen.cpp
  389. ./jscpucfg > jsautocfg.tmp
  390. mv jsautocfg.tmp jsautocfg.h
  391. 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 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o
  392. ./host_jskwgen /usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsautokw.h
  393. /usr/ports/mate/js185/work/src/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h jsbuiltins.h ./nanojit/Assembler.h ./nanojit/Allocator.h ./nanojit/CodeAlloc.h ./nanojit/Containers.h ./nanojit/LIR.h ./nanojit/LIRopcode.tbl ./nanojit/avmplus.h ./nanojit/Fragmento.h ./nanojit/Native.h ./nanojit/NativeCommon.h ./nanojit/NativeX64.h ./nanojit/njconfig.h ./nanojit/njcpudetect.h ./nanojit/RegAlloc.h ./nanojit/nanojit.h ./nanojit/VMPI.h ./tracejit/Writer.h ./perf/jsperf.h ./dist/include
  394. mkdir -p nanojit
  395. make[1]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src'
  396. make libs
  397. make[1]: Entering directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src'
  398. jsoplengen.cpp
  399. 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 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr jsoplengen.cpp
  400. /usr/bin/python2.7 imacro_asm.py ./imacros.jsasm /usr/ports/mate/js185/work/src/js-1.8.5/js/src/imacros.c.out
  401. 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 -march=x86-64 -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o
  402. ./host_jsoplengen /usr/ports/mate/js185/work/src/js-1.8.5/js/src/jsautooplen.h
  403. jsanalyze.cpp
  404. c++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  405. jsapi.cpp
  406. c++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  407. jsarena.cpp
  408. c++ -o jsarena.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  409. jsarray.cpp
  410. c++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  411. In file included from jsbit.h:44:0,
  412. from jsarena.cpp:49:
  413. jsutil.h: In function 'T* js_array_new(size_t)':
  414. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  415. if (!memory)
  416. ^~
  417. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  418. *(size_t *)memory = n;
  419. ^
  420. In file included from jsval.h:48:0,
  421. from jspubtd.h:47,
  422. from jsprvtd.h:57,
  423. from jscntxt.h:55,
  424. from jsanalyze.h:45,
  425. from jsanalyze.cpp:40:
  426. jsutil.h: In function 'T* js_array_new(size_t)':
  427. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  428. if (!memory)
  429. ^~
  430. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  431. *(size_t *)memory = n;
  432. ^
  433. In file included from jsatom.h:47:0,
  434. from jscntxt.h:59,
  435. from jsanalyze.h:45,
  436. from jsanalyze.cpp:40:
  437. jsapi.h: At global scope:
  438. jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes]
  439. template<> class AnchorPermitted<jsval> { };
  440. ^
  441. jsatom.cpp
  442. c++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  443. In file included from jsarray.cpp:84:0:
  444. jsutil.h: In function 'T* js_array_new(size_t)':
  445. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  446. if (!memory)
  447. ^~
  448. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  449. *(size_t *)memory = n;
  450. ^
  451. In file included from jsarray.cpp:85:0:
  452. jsapi.h: At global scope:
  453. jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes]
  454. template<> class AnchorPermitted<jsval> { };
  455. ^
  456. In file included from jsapi.cpp:52:0:
  457. jsutil.h: In function 'T* js_array_new(size_t)':
  458. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  459. if (!memory)
  460. ^~
  461. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  462. *(size_t *)memory = n;
  463. ^
  464. In file included from jsapi.cpp:56:0:
  465. jsapi.h: At global scope:
  466. jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes]
  467. template<> class AnchorPermitted<jsval> { };
  468. ^
  469. In file included from jsval.h:48:0,
  470. from jspubtd.h:47,
  471. from jsprvtd.h:57,
  472. from jscntxt.h:55,
  473. from jsanalyze.h:45,
  474. from jsanalyze.cpp:40:
  475. jsvalue.h: In member function 'void js::Value::staticAssertions()':
  476. jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs]
  477. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  478. ^
  479. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  480. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  481. ^
  482. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  483. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  484. ^~~~~~~~~~~~~~~~~~~~~
  485. jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  486. JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
  487. ^~~~~~~~~~~~~~~~
  488. jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs]
  489. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  490. ^
  491. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  492. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  493. ^
  494. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  495. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  496. ^~~~~~~~~~~~~~~~~~~~~
  497. jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  498. JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
  499. ^~~~~~~~~~~~~~~~
  500. jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs]
  501. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  502. ^
  503. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  504. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  505. ^
  506. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  507. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  508. ^~~~~~~~~~~~~~~~~~~~~
  509. jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  510. JS_STATIC_ASSERT(sizeof(JSBool) == 4);
  511. ^~~~~~~~~~~~~~~~
  512. jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs]
  513. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  514. ^
  515. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  516. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  517. ^
  518. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  519. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  520. ^~~~~~~~~~~~~~~~~~~~~
  521. jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  522. JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
  523. ^~~~~~~~~~~~~~~~
  524. jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs]
  525. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  526. ^
  527. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  528. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  529. ^
  530. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  531. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  532. ^~~~~~~~~~~~~~~~~~~~~
  533. jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  534. JS_STATIC_ASSERT(sizeof(jsval) == 8);
  535. ^~~~~~~~~~~~~~~~
  536. jsstr.h: In static member function 'static void JSString::staticAsserts()':
  537. jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs]
  538. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  539. ^
  540. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  541. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  542. ^
  543. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  544. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  545. ^~~~~~~~~~~~~~~~~~~~~
  546. jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  547. JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
  548. ^~~~~~~~~~~~~~~~
  549. jsstr.h: In static member function 'static void JSShortString::staticAsserts()':
  550. jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs]
  551. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  552. ^
  553. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  554. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  555. ^
  556. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  557. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  558. ^~~~~~~~~~~~~~~~~~~~~
  559. jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  560. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
  561. ^~~~~~~~~~~~~~~~
  562. jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs]
  563. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  564. ^
  565. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  566. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  567. ^
  568. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  569. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  570. ^~~~~~~~~~~~~~~~~~~~~
  571. jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  572. JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString));
  573. ^~~~~~~~~~~~~~~~
  574. jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs]
  575. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  576. ^
  577. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  578. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  579. ^
  580. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  581. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  582. ^~~~~~~~~~~~~~~~~~~~~
  583. jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  584. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
  585. ^~~~~~~~~~~~~~~~
  586. In file included from jsatom.cpp:47:0:
  587. jsutil.h: In function 'T* js_array_new(size_t)':
  588. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  589. if (!memory)
  590. ^~
  591. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  592. *(size_t *)memory = n;
  593. ^
  594. In file included from jsarray.cpp:84:0:
  595. jsvalue.h: In member function 'void js::Value::staticAssertions()':
  596. jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs]
  597. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  598. ^
  599. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  600. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  601. ^
  602. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  603. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  604. ^~~~~~~~~~~~~~~~~~~~~
  605. jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  606. JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
  607. ^~~~~~~~~~~~~~~~
  608. jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs]
  609. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  610. ^
  611. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  612. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  613. ^
  614. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  615. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  616. ^~~~~~~~~~~~~~~~~~~~~
  617. jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  618. JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
  619. ^~~~~~~~~~~~~~~~
  620. jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs]
  621. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  622. ^
  623. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  624. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  625. ^
  626. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  627. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  628. ^~~~~~~~~~~~~~~~~~~~~
  629. jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  630. JS_STATIC_ASSERT(sizeof(JSBool) == 4);
  631. ^~~~~~~~~~~~~~~~
  632. jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs]
  633. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  634. ^
  635. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  636. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  637. ^
  638. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  639. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  640. ^~~~~~~~~~~~~~~~~~~~~
  641. jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  642. JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
  643. ^~~~~~~~~~~~~~~~
  644. jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs]
  645. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  646. ^
  647. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  648. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  649. ^
  650. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  651. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  652. ^~~~~~~~~~~~~~~~~~~~~
  653. jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  654. JS_STATIC_ASSERT(sizeof(jsval) == 8);
  655. ^~~~~~~~~~~~~~~~
  656. jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
  657. jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs]
  658. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  659. ^
  660. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  661. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  662. ^
  663. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  664. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  665. ^~~~~~~~~~~~~~~~~~~~~
  666. jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  667. JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
  668. ^~~~~~~~~~~~~~~~
  669. jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs]
  670. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  671. ^
  672. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  673. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  674. ^
  675. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  676. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  677. ^~~~~~~~~~~~~~~~~~~~~
  678. jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  679. JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
  680. ^~~~~~~~~~~~~~~~
  681. In file included from jsatom.cpp:50:0:
  682. jsapi.h: At global scope:
  683. jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes]
  684. template<> class AnchorPermitted<jsval> { };
  685. ^
  686. jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
  687. jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs]
  688. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  689. ^
  690. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  691. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  692. ^
  693. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  694. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  695. ^~~~~~~~~~~~~~~~~~~~~
  696. jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  697. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
  698. ^~~~~~~~~~~~~~~~
  699. jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs]
  700. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  701. ^
  702. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  703. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  704. ^
  705. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  706. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  707. ^~~~~~~~~~~~~~~~~~~~~
  708. jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  709. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
  710. ^~~~~~~~~~~~~~~~
  711. jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
  712. jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs]
  713. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  714. ^
  715. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  716. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  717. ^
  718. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  719. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  720. ^~~~~~~~~~~~~~~~~~~~~
  721. jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  722. JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
  723. ^~~~~~~~~~~~~~~~
  724. jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
  725. jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs]
  726. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  727. ^
  728. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  729. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  730. ^
  731. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  732. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  733. ^~~~~~~~~~~~~~~~~~~~~
  734. jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  735. JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
  736. ^~~~~~~~~~~~~~~~
  737. In file included from jsapi.cpp:52:0:
  738. jsvalue.h: In member function 'void js::Value::staticAssertions()':
  739. jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs]
  740. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  741. ^
  742. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  743. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  744. ^
  745. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  746. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  747. ^~~~~~~~~~~~~~~~~~~~~
  748. jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  749. JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
  750. ^~~~~~~~~~~~~~~~
  751. jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs]
  752. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  753. ^
  754. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  755. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  756. ^
  757. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  758. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  759. ^~~~~~~~~~~~~~~~~~~~~
  760. jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  761. JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
  762. ^~~~~~~~~~~~~~~~
  763. jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs]
  764. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  765. ^
  766. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  767. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  768. ^
  769. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  770. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  771. ^~~~~~~~~~~~~~~~~~~~~
  772. jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  773. JS_STATIC_ASSERT(sizeof(JSBool) == 4);
  774. ^~~~~~~~~~~~~~~~
  775. jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs]
  776. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  777. ^
  778. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  779. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  780. ^
  781. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  782. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  783. ^~~~~~~~~~~~~~~~~~~~~
  784. jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  785. JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
  786. ^~~~~~~~~~~~~~~~
  787. jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs]
  788. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  789. ^
  790. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  791. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  792. ^
  793. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  794. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  795. ^~~~~~~~~~~~~~~~~~~~~
  796. jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  797. JS_STATIC_ASSERT(sizeof(jsval) == 8);
  798. ^~~~~~~~~~~~~~~~
  799. jsstr.h: In static member function 'static void JSString::staticAsserts()':
  800. jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs]
  801. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  802. ^
  803. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  804. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  805. ^
  806. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  807. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  808. ^~~~~~~~~~~~~~~~~~~~~
  809. jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  810. JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
  811. ^~~~~~~~~~~~~~~~
  812. jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
  813. jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs]
  814. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  815. ^
  816. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  817. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  818. ^
  819. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  820. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  821. ^~~~~~~~~~~~~~~~~~~~~
  822. jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  823. JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0);
  824. ^~~~~~~~~~~~~~~~
  825. jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs]
  826. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  827. ^
  828. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  829. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  830. ^
  831. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  832. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  833. ^~~~~~~~~~~~~~~~~~~~~
  834. jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  835. JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
  836. ^~~~~~~~~~~~~~~~
  837. jsstr.h: In static member function 'static void JSShortString::staticAsserts()':
  838. jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs]
  839. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  840. ^
  841. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  842. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  843. ^
  844. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  845. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  846. ^~~~~~~~~~~~~~~~~~~~~
  847. jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  848. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
  849. ^~~~~~~~~~~~~~~~
  850. jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs]
  851. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  852. ^
  853. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  854. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  855. ^
  856. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  857. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  858. ^~~~~~~~~~~~~~~~~~~~~
  859. jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  860. JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString));
  861. ^~~~~~~~~~~~~~~~
  862. jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs]
  863. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  864. ^
  865. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  866. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  867. ^
  868. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  869. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  870. ^~~~~~~~~~~~~~~~~~~~~
  871. jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  872. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
  873. ^~~~~~~~~~~~~~~~
  874. jsstr.h: In static member function 'static void JSString::staticAsserts()':
  875. jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs]
  876. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  877. ^
  878. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  879. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  880. ^
  881. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  882. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  883. ^~~~~~~~~~~~~~~~~~~~~
  884. jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  885. JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
  886. ^~~~~~~~~~~~~~~~
  887. jsstr.h: In static member function 'static void JSShortString::staticAsserts()':
  888. jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs]
  889. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  890. ^
  891. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  892. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  893. ^
  894. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  895. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  896. ^~~~~~~~~~~~~~~~~~~~~
  897. jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  898. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
  899. ^~~~~~~~~~~~~~~~
  900. jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs]
  901. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  902. ^
  903. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  904. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  905. ^
  906. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  907. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  908. ^~~~~~~~~~~~~~~~~~~~~
  909. jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  910. JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString));
  911. ^~~~~~~~~~~~~~~~
  912. jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs]
  913. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  914. ^
  915. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  916. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  917. ^
  918. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  919. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  920. ^~~~~~~~~~~~~~~~~~~~~
  921. jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  922. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
  923. ^~~~~~~~~~~~~~~~
  924. In file included from nanojit/nanojit.h:377:0,
  925. from jsbuiltins.h:45,
  926. from jstracer.h:48,
  927. from jsarray.cpp:90:
  928. nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)':
  929. nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } [-Wnarrowing]
  930. Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
  931. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  932. nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)':
  933. nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } [-Wnarrowing]
  934. Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
  935. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  936. In file included from jsatom.cpp:47:0:
  937. jsvalue.h: In member function 'void js::Value::staticAssertions()':
  938. jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs]
  939. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  940. ^
  941. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  942. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  943. ^
  944. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  945. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  946. ^~~~~~~~~~~~~~~~~~~~~
  947. jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  948. JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
  949. ^~~~~~~~~~~~~~~~
  950. jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs]
  951. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  952. ^
  953. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  954. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  955. ^
  956. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  957. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  958. ^~~~~~~~~~~~~~~~~~~~~
  959. jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  960. JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
  961. ^~~~~~~~~~~~~~~~
  962. jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs]
  963. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  964. ^
  965. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  966. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  967. ^
  968. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  969. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  970. ^~~~~~~~~~~~~~~~~~~~~
  971. jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  972. JS_STATIC_ASSERT(sizeof(JSBool) == 4);
  973. ^~~~~~~~~~~~~~~~
  974. jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs]
  975. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  976. ^
  977. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  978. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  979. ^
  980. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  981. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  982. ^~~~~~~~~~~~~~~~~~~~~
  983. jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  984. JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
  985. ^~~~~~~~~~~~~~~~
  986. jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs]
  987. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  988. ^
  989. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  990. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  991. ^
  992. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  993. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  994. ^~~~~~~~~~~~~~~~~~~~~
  995. jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  996. JS_STATIC_ASSERT(sizeof(jsval) == 8);
  997. ^~~~~~~~~~~~~~~~
  998. In file included from jsarray.cpp:84:0:
  999. jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
  1000. jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs]
  1001. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1002. ^
  1003. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1004. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1005. ^
  1006. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1007. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1008. ^~~~~~~~~~~~~~~~~~~~~
  1009. jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1010. JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
  1011. ^~~~~~~~~~~~~~~~
  1012. jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs]
  1013. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1014. ^
  1015. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1016. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1017. ^
  1018. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1019. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1020. ^~~~~~~~~~~~~~~~~~~~~
  1021. jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1022. JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
  1023. ^~~~~~~~~~~~~~~~
  1024. In file included from nanojit/nanojit.h:377:0,
  1025. from jsbuiltins.h:45,
  1026. from jsapi.cpp:60:
  1027. nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::lsReg(nanojit::RegisterMask)':
  1028. nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } [-Wnarrowing]
  1029. Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
  1030. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1031. nanojit/RegAlloc.h: In function 'nanojit::Register nanojit::msReg(nanojit::RegisterMask)':
  1032. nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka unsigned int}' inside { } [-Wnarrowing]
  1033. Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
  1034. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1035. jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
  1036. jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs]
  1037. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1038. ^
  1039. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1040. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1041. ^
  1042. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1043. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1044. ^~~~~~~~~~~~~~~~~~~~~
  1045. jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1046. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
  1047. ^~~~~~~~~~~~~~~~
  1048. jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs]
  1049. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1050. ^
  1051. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1052. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1053. ^
  1054. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1055. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1056. ^~~~~~~~~~~~~~~~~~~~~
  1057. jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1058. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
  1059. ^~~~~~~~~~~~~~~~
  1060. jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
  1061. jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs]
  1062. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1063. ^
  1064. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1065. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1066. ^
  1067. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1068. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1069. ^~~~~~~~~~~~~~~~~~~~~
  1070. jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1071. JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
  1072. ^~~~~~~~~~~~~~~~
  1073. jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
  1074. jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs]
  1075. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1076. ^
  1077. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1078. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1079. ^
  1080. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1081. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1082. ^~~~~~~~~~~~~~~~~~~~~
  1083. jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1084. JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
  1085. ^~~~~~~~~~~~~~~~
  1086. jsstr.h: In static member function 'static void JSString::staticAsserts()':
  1087. jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs]
  1088. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1089. ^
  1090. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1091. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1092. ^
  1093. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1094. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1095. ^~~~~~~~~~~~~~~~~~~~~
  1096. jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1097. JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
  1098. ^~~~~~~~~~~~~~~~
  1099. jsstr.h: In static member function 'static void JSShortString::staticAsserts()':
  1100. jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs]
  1101. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1102. ^
  1103. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1104. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1105. ^
  1106. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1107. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1108. ^~~~~~~~~~~~~~~~~~~~~
  1109. jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1110. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
  1111. ^~~~~~~~~~~~~~~~
  1112. jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs]
  1113. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1114. ^
  1115. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1116. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1117. ^
  1118. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1119. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1120. ^~~~~~~~~~~~~~~~~~~~~
  1121. jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1122. JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString));
  1123. ^~~~~~~~~~~~~~~~
  1124. jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs]
  1125. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1126. ^
  1127. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1128. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1129. ^
  1130. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1131. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1132. ^~~~~~~~~~~~~~~~~~~~~
  1133. jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1134. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
  1135. ^~~~~~~~~~~~~~~~
  1136. In file included from jsapi.cpp:52:0:
  1137. jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
  1138. jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs]
  1139. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1140. ^
  1141. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1142. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1143. ^
  1144. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1145. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1146. ^~~~~~~~~~~~~~~~~~~~~
  1147. jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1148. JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
  1149. ^~~~~~~~~~~~~~~~
  1150. jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs]
  1151. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1152. ^
  1153. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1154. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1155. ^
  1156. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1157. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1158. ^~~~~~~~~~~~~~~~~~~~~
  1159. jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1160. JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
  1161. ^~~~~~~~~~~~~~~~
  1162. jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
  1163. jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs]
  1164. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1165. ^
  1166. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1167. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1168. ^
  1169. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1170. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1171. ^~~~~~~~~~~~~~~~~~~~~
  1172. jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1173. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
  1174. ^~~~~~~~~~~~~~~~
  1175. jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs]
  1176. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1177. ^
  1178. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1179. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1180. ^
  1181. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1182. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1183. ^~~~~~~~~~~~~~~~~~~~~
  1184. jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1185. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
  1186. ^~~~~~~~~~~~~~~~
  1187. jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
  1188. jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs]
  1189. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1190. ^
  1191. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1192. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1193. ^
  1194. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1195. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1196. ^~~~~~~~~~~~~~~~~~~~~
  1197. jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1198. JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0);
  1199. ^~~~~~~~~~~~~~~~
  1200. jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs]
  1201. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1202. ^
  1203. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1204. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1205. ^
  1206. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1207. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1208. ^~~~~~~~~~~~~~~~~~~~~
  1209. jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1210. JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
  1211. ^~~~~~~~~~~~~~~~
  1212. jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
  1213. jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs]
  1214. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1215. ^
  1216. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1217. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1218. ^
  1219. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1220. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1221. ^~~~~~~~~~~~~~~~~~~~~
  1222. jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1223. JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
  1224. ^~~~~~~~~~~~~~~~
  1225. jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs]
  1226. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1227. ^
  1228. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1229. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1230. ^
  1231. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1232. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1233. ^~~~~~~~~~~~~~~~~~~~~
  1234. jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1235. JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
  1236. ^~~~~~~~~~~~~~~~
  1237. jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
  1238. jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs]
  1239. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1240. ^
  1241. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1242. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1243. ^
  1244. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1245. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1246. ^~~~~~~~~~~~~~~~~~~~~
  1247. jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1248. JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
  1249. ^~~~~~~~~~~~~~~~
  1250. jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
  1251. jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs]
  1252. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1253. ^
  1254. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1255. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1256. ^
  1257. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1258. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1259. ^~~~~~~~~~~~~~~~~~~~~
  1260. jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1261. JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
  1262. ^~~~~~~~~~~~~~~~
  1263. jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
  1264. jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs]
  1265. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1266. ^
  1267. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1268. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1269. ^
  1270. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1271. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1272. ^~~~~~~~~~~~~~~~~~~~~
  1273. jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1274. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
  1275. ^~~~~~~~~~~~~~~~
  1276. jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs]
  1277. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1278. ^
  1279. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1280. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1281. ^
  1282. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1283. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1284. ^~~~~~~~~~~~~~~~~~~~~
  1285. jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1286. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
  1287. ^~~~~~~~~~~~~~~~
  1288. jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
  1289. jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs]
  1290. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1291. ^
  1292. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1293. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1294. ^
  1295. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1296. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1297. ^~~~~~~~~~~~~~~~~~~~~
  1298. jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1299. JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
  1300. ^~~~~~~~~~~~~~~~
  1301. jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
  1302. jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs]
  1303. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1304. ^
  1305. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1306. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1307. ^
  1308. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1309. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1310. ^~~~~~~~~~~~~~~~~~~~~
  1311. jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1312. JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
  1313. ^~~~~~~~~~~~~~~~
  1314. jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
  1315. jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs]
  1316. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1317. ^
  1318. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1319. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1320. ^
  1321. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1322. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1323. ^~~~~~~~~~~~~~~~~~~~~
  1324. jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1325. JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0);
  1326. ^~~~~~~~~~~~~~~~
  1327. jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs]
  1328. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1329. ^
  1330. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1331. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1332. ^
  1333. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1334. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1335. ^~~~~~~~~~~~~~~~~~~~~
  1336. jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1337. JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
  1338. ^~~~~~~~~~~~~~~~
  1339. jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
  1340. jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs]
  1341. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1342. ^
  1343. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1344. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1345. ^
  1346. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1347. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1348. ^~~~~~~~~~~~~~~~~~~~~
  1349. jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1350. JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0);
  1351. ^~~~~~~~~~~~~~~~
  1352. jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs]
  1353. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1354. ^
  1355. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1356. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1357. ^
  1358. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1359. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1360. ^~~~~~~~~~~~~~~~~~~~~
  1361. jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1362. JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
  1363. ^~~~~~~~~~~~~~~~
  1364. jsclone.h: In member function 'void js::SCInput::staticAssertions()':
  1365. jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs]
  1366. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1367. ^
  1368. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1369. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1370. ^
  1371. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1372. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1373. ^~~~~~~~~~~~~~~~~~~~~
  1374. jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1375. JS_STATIC_ASSERT(sizeof(jschar) == 2);
  1376. ^~~~~~~~~~~~~~~~
  1377. jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs]
  1378. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1379. ^
  1380. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1381. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1382. ^
  1383. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1384. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1385. ^~~~~~~~~~~~~~~~~~~~~
  1386. jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1387. JS_STATIC_ASSERT(sizeof(uint32_t) == 4);
  1388. ^~~~~~~~~~~~~~~~
  1389. jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs]
  1390. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1391. ^
  1392. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1393. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1394. ^
  1395. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1396. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1397. ^~~~~~~~~~~~~~~~~~~~~
  1398. jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1399. JS_STATIC_ASSERT(sizeof(jsdouble) == 8);
  1400. ^~~~~~~~~~~~~~~~
  1401. jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const':
  1402. jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs]
  1403. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1404. ^
  1405. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1406. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1407. ^
  1408. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1409. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1410. ^~~~~~~~~~~~~~~~~~~~~
  1411. jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1412. JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH);
  1413. ^~~~~~~~~~~~~~~~
  1414. jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)':
  1415. jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs]
  1416. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1417. ^
  1418. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1419. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1420. ^
  1421. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1422. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1423. ^~~~~~~~~~~~~~~~~~~~~
  1424. jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1425. JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999);
  1426. ^~~~~~~~~~~~~~~~
  1427. jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const':
  1428. jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs]
  1429. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1430. ^
  1431. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1432. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1433. ^
  1434. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1435. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1436. ^~~~~~~~~~~~~~~~~~~~~
  1437. jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1438. JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH);
  1439. ^~~~~~~~~~~~~~~~
  1440. jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)':
  1441. jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs]
  1442. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1443. ^
  1444. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1445. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1446. ^
  1447. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1448. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1449. ^~~~~~~~~~~~~~~~~~~~~
  1450. jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1451. JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999);
  1452. ^~~~~~~~~~~~~~~~
  1453. jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)':
  1454. jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but not used [-Wunused-local-typedefs]
  1455. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1456. ^
  1457. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1458. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1459. ^
  1460. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1461. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1462. ^~~~~~~~~~~~~~~~~~~~~
  1463. jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1464. JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
  1465. ^~~~~~~~~~~~~~~~
  1466. jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const':
  1467. jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs]
  1468. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1469. ^
  1470. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1471. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1472. ^
  1473. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1474. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1475. ^~~~~~~~~~~~~~~~~~~~~
  1476. jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1477. JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH);
  1478. ^~~~~~~~~~~~~~~~
  1479. jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)':
  1480. jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs]
  1481. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1482. ^
  1483. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1484. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1485. ^
  1486. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1487. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1488. ^~~~~~~~~~~~~~~~~~~~~
  1489. jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1490. JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
  1491. ^~~~~~~~~~~~~~~~
  1492. jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)':
  1493. jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs]
  1494. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1495. ^
  1496. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1497. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1498. ^
  1499. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1500. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1501. ^~~~~~~~~~~~~~~~~~~~~
  1502. jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1503. JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999);
  1504. ^~~~~~~~~~~~~~~~
  1505. jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)':
  1506. jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs]
  1507. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1508. ^
  1509. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1510. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1511. ^
  1512. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1513. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1514. ^~~~~~~~~~~~~~~~~~~~~
  1515. jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1516. JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
  1517. ^~~~~~~~~~~~~~~~
  1518. In file included from jsatom.cpp:65:0:
  1519. jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
  1520. jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1521. setPrivate((void*) length);
  1522. ^~~~~~
  1523. In file included from jsatom.cpp:51:0:
  1524. jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)':
  1525. jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1526. #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index))
  1527. ^
  1528. jsatom.cpp:862:9: note: in expansion of macro 'ALE_SET_INDEX'
  1529. ALE_SET_INDEX(ale, count++);
  1530. ^~~~~~~~~~~~~
  1531. jsatom.cpp: In function 'void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)':
  1532. jsatom.cpp:954:12: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  1533. uint32 count;
  1534. ^~~~~
  1535. In file included from jsarray.cpp:110:0:
  1536. jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
  1537. jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1538. setPrivate((void*) length);
  1539. ^~~~~~
  1540. In file included from jsarray.cpp:84:0:
  1541. jsarray.cpp: In function 'JSBool js_GetLengthProperty(JSContext*, JSObject*, jsuint*)':
  1542. jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but not used [-Wunused-local-typedefs]
  1543. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1544. ^
  1545. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1546. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1547. ^
  1548. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1549. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1550. ^~~~~~~~~~~~~~~~~~~~~
  1551. jsarray.cpp:230:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1552. JS_STATIC_ASSERT(sizeof(jsuint) == sizeof(uint32_t));
  1553. ^~~~~~~~~~~~~~~~
  1554. jsarray.cpp: In function 'JSBool BigIndexToId(JSContext*, JSObject*, jsuint, JSBool, jsid*)':
  1555. jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but not used [-Wunused-local-typedefs]
  1556. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1557. ^
  1558. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1559. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1560. ^
  1561. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1562. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1563. ^~~~~~~~~~~~~~~~~~~~~
  1564. jsarray.cpp:256:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1565. JS_STATIC_ASSERT((jsuint)-1 == 4294967295U);
  1566. ^~~~~~~~~~~~~~~~
  1567. In file included from jstracer.h:48:0,
  1568. from jsarray.cpp:90:
  1569. jsarray.cpp: At global scope:
  1570. jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_EnsureDenseArrayCapacity' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } [-Wnarrowing]
  1571. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  1572. jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO'
  1573. _JS_DEFINE_CALLINFO(linkage, op, \
  1574. ^~~~~~~~~~~~~~~~~~~
  1575. jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3'
  1576. JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32,
  1577. ^~~~~~~~~~~~~~~~~~~~
  1578. In file included from jsapi.cpp:94:0:
  1579. jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
  1580. jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1581. setPrivate((void*) length);
  1582. ^~~~~~
  1583. jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_ArrayCompPush_tn' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } [-Wnarrowing]
  1584. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  1585. jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO'
  1586. _JS_DEFINE_CALLINFO(linkage, op, \
  1587. ^~~~~~~~~~~~~~~~~~~
  1588. jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3'
  1589. JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT,
  1590. ^~~~~~~~~~~~~~~~~~~~
  1591. jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseEmptyArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } [-Wnarrowing]
  1592. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  1593. jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO'
  1594. _JS_DEFINE_CALLINFO(linkage, op, \
  1595. ^~~~~~~~~~~~~~~~~~~
  1596. jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2'
  1597. JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0,
  1598. ^~~~~~~~~~~~~~~~~~~~
  1599. jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseAllocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } [-Wnarrowing]
  1600. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  1601. jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO'
  1602. _JS_DEFINE_CALLINFO(linkage, op, \
  1603. ^~~~~~~~~~~~~~~~~~~
  1604. jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3'
  1605. JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0,
  1606. ^~~~~~~~~~~~~~~~~~~~
  1607. jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseUnallocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } [-Wnarrowing]
  1608. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  1609. jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO'
  1610. _JS_DEFINE_CALLINFO(linkage, op, \
  1611. ^~~~~~~~~~~~~~~~~~~
  1612. jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3'
  1613. JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0,
  1614. ^~~~~~~~~~~~~~~~~~~~
  1615. In file included from ./assembler/assembler/MacroAssembler.h:54:0,
  1616. from yarr/yarr/RegexJIT.h:31,
  1617. from jsregexpinlines.h:49,
  1618. from jsapi.cpp:97:
  1619. ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::call()':
  1620. ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 'label' set but not used [-Wunused-but-set-variable]
  1621. DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
  1622. ^~~~~
  1623. ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()':
  1624. ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 'label' set but not used [-Wunused-but-set-variable]
  1625. DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
  1626. ^~~~~
  1627. ./assembler/assembler/MacroAssemblerX86_64.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)':
  1628. ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 'label' set but not used [-Wunused-but-set-variable]
  1629. DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
  1630. ^~~~~
  1631. jsbool.cpp
  1632. c++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Linux4.9\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -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 -march=x86-64 -pipe -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
  1633. jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)':
  1634. jsapi.cpp:3988:16: error: cannot convert 'bool' to 'JSIdArray*' in return
  1635. return false;
  1636. ^~~~~
  1637. In file included from jsbool.cpp:45:0:
  1638. jsutil.h: In function 'T* js_array_new(size_t)':
  1639. jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  1640. if (!memory)
  1641. ^~
  1642. jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  1643. *(size_t *)memory = n;
  1644. ^
  1645. In file included from jsbool.cpp:46:0:
  1646. jsapi.h: At global scope:
  1647. jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes]
  1648. template<> class AnchorPermitted<jsval> { };
  1649. ^
  1650. In file included from jsbool.cpp:45:0:
  1651. jsvalue.h: In member function 'void js::Value::staticAssertions()':
  1652. jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not used [-Wunused-local-typedefs]
  1653. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1654. ^
  1655. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1656. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1657. ^
  1658. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1659. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1660. ^~~~~~~~~~~~~~~~~~~~~
  1661. jsvalue.h:737:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1662. JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
  1663. ^~~~~~~~~~~~~~~~
  1664. jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not used [-Wunused-local-typedefs]
  1665. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1666. ^
  1667. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1668. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1669. ^
  1670. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1671. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1672. ^~~~~~~~~~~~~~~~~~~~~
  1673. jsvalue.h:738:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1674. JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
  1675. ^~~~~~~~~~~~~~~~
  1676. jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not used [-Wunused-local-typedefs]
  1677. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1678. ^
  1679. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1680. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1681. ^
  1682. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1683. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1684. ^~~~~~~~~~~~~~~~~~~~~
  1685. jsvalue.h:739:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1686. JS_STATIC_ASSERT(sizeof(JSBool) == 4);
  1687. ^~~~~~~~~~~~~~~~
  1688. jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not used [-Wunused-local-typedefs]
  1689. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1690. ^
  1691. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1692. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1693. ^
  1694. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1695. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1696. ^~~~~~~~~~~~~~~~~~~~~
  1697. jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1698. JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
  1699. ^~~~~~~~~~~~~~~~
  1700. jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but not used [-Wunused-local-typedefs]
  1701. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1702. ^
  1703. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1704. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1705. ^
  1706. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1707. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1708. ^~~~~~~~~~~~~~~~~~~~~
  1709. jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1710. JS_STATIC_ASSERT(sizeof(jsval) == 8);
  1711. ^~~~~~~~~~~~~~~~
  1712. jsstr.h: In static member function 'static void JSString::staticAsserts()':
  1713. jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but not used [-Wunused-local-typedefs]
  1714. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1715. ^
  1716. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1717. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1718. ^
  1719. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1720. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1721. ^~~~~~~~~~~~~~~~~~~~~
  1722. jsstr.h:459:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1723. JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
  1724. ^~~~~~~~~~~~~~~~
  1725. jsstr.h: In static member function 'static void JSShortString::staticAsserts()':
  1726. jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but not used [-Wunused-local-typedefs]
  1727. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1728. ^
  1729. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1730. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1731. ^
  1732. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1733. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1734. ^~~~~~~~~~~~~~~~~~~~~
  1735. jsstr.h:568:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1736. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
  1737. ^~~~~~~~~~~~~~~~
  1738. jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but not used [-Wunused-local-typedefs]
  1739. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1740. ^
  1741. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1742. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1743. ^
  1744. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1745. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1746. ^~~~~~~~~~~~~~~~~~~~~
  1747. jsstr.h:570:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1748. JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString));
  1749. ^~~~~~~~~~~~~~~~
  1750. jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but not used [-Wunused-local-typedefs]
  1751. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1752. ^
  1753. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1754. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1755. ^
  1756. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1757. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1758. ^~~~~~~~~~~~~~~~~~~~~
  1759. jsstr.h:571:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1760. JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
  1761. ^~~~~~~~~~~~~~~~
  1762. jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
  1763. jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but not used [-Wunused-local-typedefs]
  1764. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1765. ^
  1766. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1767. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1768. ^
  1769. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1770. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1771. ^~~~~~~~~~~~~~~~~~~~~
  1772. jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1773. JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
  1774. ^~~~~~~~~~~~~~~~
  1775. jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but not used [-Wunused-local-typedefs]
  1776. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1777. ^
  1778. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1779. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1780. ^
  1781. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1782. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1783. ^~~~~~~~~~~~~~~~~~~~~
  1784. jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1785. JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
  1786. ^~~~~~~~~~~~~~~~
  1787. jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
  1788. jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but not used [-Wunused-local-typedefs]
  1789. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1790. ^
  1791. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1792. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1793. ^
  1794. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1795. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1796. ^~~~~~~~~~~~~~~~~~~~~
  1797. jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1798. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
  1799. ^~~~~~~~~~~~~~~~
  1800. jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but not used [-Wunused-local-typedefs]
  1801. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1802. ^
  1803. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1804. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1805. ^
  1806. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1807. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1808. ^~~~~~~~~~~~~~~~~~~~~
  1809. jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1810. JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript));
  1811. ^~~~~~~~~~~~~~~~
  1812. jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
  1813. jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but not used [-Wunused-local-typedefs]
  1814. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1815. ^
  1816. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1817. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1818. ^
  1819. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1820. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1821. ^~~~~~~~~~~~~~~~~~~~~
  1822. jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1823. JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
  1824. ^~~~~~~~~~~~~~~~
  1825. jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
  1826. jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but not used [-Wunused-local-typedefs]
  1827. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1828. ^
  1829. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1830. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1831. ^
  1832. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1833. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1834. ^~~~~~~~~~~~~~~~~~~~~
  1835. jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1836. JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
  1837. ^~~~~~~~~~~~~~~~
  1838. jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
  1839. jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but not used [-Wunused-local-typedefs]
  1840. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1841. ^
  1842. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1843. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1844. ^
  1845. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1846. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1847. ^~~~~~~~~~~~~~~~~~~~~
  1848. jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1849. JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0);
  1850. ^~~~~~~~~~~~~~~~
  1851. jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but not used [-Wunused-local-typedefs]
  1852. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1853. ^
  1854. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1855. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1856. ^
  1857. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1858. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1859. ^~~~~~~~~~~~~~~~~~~~~
  1860. jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1861. JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
  1862. ^~~~~~~~~~~~~~~~
  1863. make[1]: *** [config/rules.mk:1477: jsapi.o] Error 1
  1864. make[1]: *** Waiting for unfinished jobs....
  1865. jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const':
  1866. jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but not used [-Wunused-local-typedefs]
  1867. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1868. ^
  1869. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1870. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1871. ^
  1872. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1873. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1874. ^~~~~~~~~~~~~~~~~~~~~
  1875. jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1876. JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH);
  1877. ^~~~~~~~~~~~~~~~
  1878. jsstrinlines.h: In static member function 'static JSFlatString* JSString::lookupStaticString(const jschar*, size_t)':
  1879. jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but not used [-Wunused-local-typedefs]
  1880. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1881. ^
  1882. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1883. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1884. ^
  1885. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1886. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1887. ^~~~~~~~~~~~~~~~~~~~~
  1888. jsstrinlines.h:280:5: note: in expansion of macro 'JS_STATIC_ASSERT'
  1889. JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999);
  1890. ^~~~~~~~~~~~~~~~
  1891. jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)':
  1892. jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but not used [-Wunused-local-typedefs]
  1893. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1894. ^
  1895. jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
  1896. #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
  1897. ^
  1898. jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
  1899. typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
  1900. ^~~~~~~~~~~~~~~~~~~~~
  1901. jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT'
  1902. JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
  1903. ^~~~~~~~~~~~~~~~
  1904. In file included from jsbool.cpp:58:0:
  1905. jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
  1906. jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1907. setPrivate((void*) length);
  1908. ^~~~~~
  1909. make[1]: Leaving directory '/usr/ports/mate/js185/work/src/js-1.8.5/js/src'
  1910. make: *** [config/rules.mk:754: default] Error 2
  1911. =======> ERROR: Building '/usr/ports/mate/js185/js185#1.0.0-1.pkg.tar.gz' failed.
  1912. prt-get: error while install
  1913. -- Packages where install failed
  1914. js185
  1915.