Guest User

Untitled

a guest
Jul 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.31 KB | None | 0 0
  1. Would you like to build the JavaScriptCore engine? This is optional but will
  2. make building and running Cappuccino and Objective-J much faster.
  3. Enter "yes" or "no":
  4. yes
  5. libtoolize: putting auxiliary files in '.'.
  6. libtoolize: copying file './ltmain.sh'
  7. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
  8. libtoolize: and rerunning libtoolize and aclocal.
  9. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  10. configure.ac:18: installing './compile'
  11. configure.ac:20: installing './missing'
  12. examples/Makefile.am: installing './depcomp'
  13. sh configure
  14. Detected <JavaScriptCore/JavaScript.h>
  15. clang -o lib/libnarwhal.dylib narwhal.c -dynamiclib -Os -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -Iinclude -framework JavaScriptCore
  16. In file included from narwhal.c:3:
  17. include/narwhal.h:148:9: warning: data argument not used by format string [-Wformat-extra-args]
  18. THROW("NULL toString!");
  19. ^ ~~~~~~~~~~~~~~~~
  20. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  21. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  22. ~~~~~~ ^
  23. <scratch space>:10:1: note: expanded from here
  24. "include/narwhal.h"
  25. ^
  26. narwhal.c:69:19: warning: data argument not used by format string [-Wformat-extra-args]
  27. FUNCTION(NW_read, ARG_UTF8(path))
  28. ^~~~~~~~~~~~~~
  29. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  30. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  31. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  32. include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
  33. if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
  34. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  35. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  36. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  37. ~~~~~~ ^
  38. <scratch space>:12:1: note: expanded from here
  39. "narwhal.c"
  40. ^
  41. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  42. __VA_ARGS__; \
  43. ^~~~~~~~~~~
  44. narwhal.c:69:19: warning: data argument not used by format string [-Wformat-extra-args]
  45. FUNCTION(NW_read, ARG_UTF8(path))
  46. ^~~~~~~~~~~~~~
  47. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  48. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  49. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  50. include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
  51. ARGN_UTF8_CAST(variable, index)
  52. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  53. include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
  54. if (index >= ARGC) THROW("Argument %d must be a string.", index) \
  55. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  57. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  58. ~~~~~~ ^
  59. <scratch space>:14:1: note: expanded from here
  60. "narwhal.c"
  61. ^
  62. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  63. __VA_ARGS__; \
  64. ^~~~~~~~~~~
  65. narwhal.c:71:5: warning: data argument not used by format string [-Wformat-extra-args]
  66. ARG_COUNT(1);
  67. ^~~~~~~~~~~~
  68. include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
  69. #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
  70. ^ ~~~~~~~~~~~~~~~~~~~~~~~~
  71. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  72. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  73. ~~~~~~ ^
  74. <scratch space>:16:1: note: expanded from here
  75. "narwhal.c"
  76. ^
  77. narwhal.c:69:19: warning: expression result unused [-Wunused-value]
  78. FUNCTION(NW_read, ARG_UTF8(path))
  79. ^~~~~~~~~~~~~~
  80. include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
  81. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  82. ^
  83. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  84. __VA_ARGS__; \
  85. ^~~~~~~~~~~
  86. narwhal.c:69:19: warning: expression result unused [-Wunused-value]
  87. FUNCTION(NW_read, ARG_UTF8(path))
  88. ^~~~~~~~~~~~~~
  89. include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
  90. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  91. ^
  92. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  93. __VA_ARGS__; \
  94. ^~~~~~~~~~~
  95. narwhal.c:89:21: warning: data argument not used by format string [-Wformat-extra-args]
  96. FUNCTION(NW_isFile, ARG_UTF8(path))
  97. ^~~~~~~~~~~~~~
  98. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  99. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  100. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  101. include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
  102. if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
  103. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  105. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  106. ~~~~~~ ^
  107. <scratch space>:18:1: note: expanded from here
  108. "narwhal.c"
  109. ^
  110. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  111. __VA_ARGS__; \
  112. ^~~~~~~~~~~
  113. narwhal.c:89:21: warning: data argument not used by format string [-Wformat-extra-args]
  114. FUNCTION(NW_isFile, ARG_UTF8(path))
  115. ^~~~~~~~~~~~~~
  116. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  117. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  118. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  119. include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
  120. ARGN_UTF8_CAST(variable, index)
  121. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  122. include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
  123. if (index >= ARGC) THROW("Argument %d must be a string.", index) \
  124. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  126. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  127. ~~~~~~ ^
  128. <scratch space>:20:1: note: expanded from here
  129. "narwhal.c"
  130. ^
  131. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  132. __VA_ARGS__; \
  133. ^~~~~~~~~~~
  134. narwhal.c:91:5: warning: data argument not used by format string [-Wformat-extra-args]
  135. ARG_COUNT(1);
  136. ^~~~~~~~~~~~
  137. include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
  138. #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
  139. ^ ~~~~~~~~~~~~~~~~~~~~~~~~
  140. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  141. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  142. ~~~~~~ ^
  143. <scratch space>:22:1: note: expanded from here
  144. "narwhal.c"
  145. ^
  146. narwhal.c:89:21: warning: expression result unused [-Wunused-value]
  147. FUNCTION(NW_isFile, ARG_UTF8(path))
  148. ^~~~~~~~~~~~~~
  149. include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
  150. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  151. ^
  152. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  153. __VA_ARGS__; \
  154. ^~~~~~~~~~~
  155. narwhal.c:89:21: warning: expression result unused [-Wunused-value]
  156. FUNCTION(NW_isFile, ARG_UTF8(path))
  157. ^~~~~~~~~~~~~~
  158. include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
  159. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  160. ^
  161. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  162. __VA_ARGS__; \
  163. ^~~~~~~~~~~
  164. narwhal.c:103:28: warning: data argument not used by format string [-Wformat-extra-args]
  165. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  166. ^~~~~~~~~~~~~~~
  167. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  168. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  169. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  170. include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
  171. if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
  172. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  173. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  174. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  175. ~~~~~~ ^
  176. <scratch space>:24:1: note: expanded from here
  177. "narwhal.c"
  178. ^
  179. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  180. __VA_ARGS__; \
  181. ^~~~~~~~~~~
  182. narwhal.c:103:28: warning: data argument not used by format string [-Wformat-extra-args]
  183. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  184. ^~~~~~~~~~~~~~~
  185. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  186. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  187. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  188. include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
  189. ARGN_UTF8_CAST(variable, index)
  190. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191. include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
  192. if (index >= ARGC) THROW("Argument %d must be a string.", index) \
  193. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  194. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  195. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  196. ~~~~~~ ^
  197. <scratch space>:26:1: note: expanded from here
  198. "narwhal.c"
  199. ^
  200. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  201. __VA_ARGS__; \
  202. ^~~~~~~~~~~
  203. narwhal.c:103:28: warning: expression result unused [-Wunused-value]
  204. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  205. ^~~~~~~~~~~~~~~
  206. include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
  207. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  208. ^
  209. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  210. __VA_ARGS__; \
  211. ^~~~~~~~~~~
  212. narwhal.c:103:45: warning: data argument not used by format string [-Wformat-extra-args]
  213. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  214. ^~~~~~~~~~~~~~
  215. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  216. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  217. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  218. include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
  219. if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
  220. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  222. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  223. ~~~~~~ ^
  224. <scratch space>:28:1: note: expanded from here
  225. "narwhal.c"
  226. ^
  227. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  228. __VA_ARGS__; \
  229. ^~~~~~~~~~~
  230. narwhal.c:103:45: warning: data argument not used by format string [-Wformat-extra-args]
  231. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  232. ^~~~~~~~~~~~~~
  233. include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
  234. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  235. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  236. include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
  237. ARGN_UTF8_CAST(variable, index)
  238. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  239. include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
  240. if (index >= ARGC) THROW("Argument %d must be a string.", index) \
  241. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  242. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  243. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  244. ~~~~~~ ^
  245. <scratch space>:30:1: note: expanded from here
  246. "narwhal.c"
  247. ^
  248. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  249. __VA_ARGS__; \
  250. ^~~~~~~~~~~
  251. narwhal.c:105:5: warning: data argument not used by format string [-Wformat-extra-args]
  252. ARG_COUNT(2)
  253. ^~~~~~~~~~~~
  254. include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
  255. #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
  256. ^ ~~~~~~~~~~~~~~~~~~~~~~~~
  257. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  258. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  259. ~~~~~~ ^
  260. <scratch space>:32:1: note: expanded from here
  261. "narwhal.c"
  262. ^
  263. narwhal.c:103:28: warning: expression result unused [-Wunused-value]
  264. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  265. ^~~~~~~~~~~~~~~
  266. include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
  267. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  268. ^
  269. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  270. __VA_ARGS__; \
  271. ^~~~~~~~~~~
  272. narwhal.c:103:45: warning: expression result unused [-Wunused-value]
  273. FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
  274. ^~~~~~~~~~~~~~
  275. include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
  276. #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
  277. ^
  278. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  279. __VA_ARGS__; \
  280. ^~~~~~~~~~~
  281. narwhal.c:138:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  282. while (key = *(envp++)) {
  283. ~~~~^~~~~~~~~~~
  284. narwhal.c:138:16: note: place parentheses around the assignment to silence this warning
  285. while (key = *(envp++)) {
  286. ^
  287. ( )
  288. narwhal.c:138:16: note: use '==' to turn this assignment into an equality comparison
  289. while (key = *(envp++)) {
  290. ^
  291. ==
  292. narwhal.c:143:9: warning: format string is empty [-Wformat-zero-length]
  293. HANDLE_EXCEPTION(true, true);
  294. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  295. include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
  296. if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
  297. ^~
  298. include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
  299. #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
  300. ^~~~~
  301. narwhal.c:160:5: warning: format string is empty [-Wformat-zero-length]
  302. HANDLE_EXCEPTION(true, true);
  303. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  304. include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
  305. if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
  306. ^~
  307. include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
  308. #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
  309. ^~~~~
  310. narwhal.c:176:9: warning: format string is empty [-Wformat-zero-length]
  311. HANDLE_EXCEPTION(true, false);
  312. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  313. include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
  314. if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
  315. ^~
  316. include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
  317. #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
  318. ^~~~~
  319. narwhal.c:180:13: warning: format string is empty [-Wformat-zero-length]
  320. HANDLE_EXCEPTION(true, false);
  321. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  322. include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
  323. if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
  324. ^~
  325. include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
  326. #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
  327. ^~~~~
  328. narwhal.c:185:9: warning: format string is empty [-Wformat-zero-length]
  329. HANDLE_EXCEPTION(true, false);
  330. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  331. include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
  332. if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
  333. ^~
  334. include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
  335. #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
  336. ^~~~~
  337. narwhal.c:187:1: warning: control reaches end of non-void function [-Wreturn-type]
  338. }
  339. ^
  340. narwhal.c:222:27: warning: data argument not used by format string [-Wformat-extra-args]
  341. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  342. ^~~~~~~~~~~~~~~~
  343. include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
  344. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  345. ^~~~~~~~~~~~~~~~~~~~~~~~~
  346. include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
  347. if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
  348. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  350. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  351. ~~~~~~ ^
  352. <scratch space>:45:1: note: expanded from here
  353. "narwhal.c"
  354. ^
  355. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  356. __VA_ARGS__; \
  357. ^~~~~~~~~~~
  358. narwhal.c:222:27: warning: expression result unused [-Wunused-value]
  359. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  360. ^~~~~~~~~~~~~~~~
  361. include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
  362. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  363. ^
  364. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  365. __VA_ARGS__; \
  366. ^~~~~~~~~~~
  367. narwhal.c:222:45: warning: data argument not used by format string [-Wformat-extra-args]
  368. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  369. ^~~~~~~~~~~~~
  370. include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
  371. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  372. ^~~~~~~~~~~~~~~~~~~~~~~~~
  373. include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
  374. if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
  375. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  376. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  377. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  378. ~~~~~~ ^
  379. <scratch space>:47:1: note: expanded from here
  380. "narwhal.c"
  381. ^
  382. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  383. __VA_ARGS__; \
  384. ^~~~~~~~~~~
  385. narwhal.c:222:45: warning: expression result unused [-Wunused-value]
  386. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  387. ^~~~~~~~~~~~~
  388. include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
  389. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  390. ^
  391. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  392. __VA_ARGS__; \
  393. ^~~~~~~~~~~
  394. narwhal.c:222:60: warning: data argument not used by format string [-Wformat-extra-args]
  395. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  396. ^~~~~~~~~~~~
  397. include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
  398. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  399. ^~~~~~~~~~~~~~~~~~~~~~~~~
  400. include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
  401. if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
  402. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  403. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  404. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  405. ~~~~~~ ^
  406. <scratch space>:49:1: note: expanded from here
  407. "narwhal.c"
  408. ^
  409. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  410. __VA_ARGS__; \
  411. ^~~~~~~~~~~
  412. narwhal.c:270:9: warning: data argument not used by format string [-Wformat-extra-args]
  413. THROW("Error reading %s\n", bootstrapPathFull);
  414. ^ ~~~~~~~~~~~~~~~~~~~~
  415. include/narwhal.h:62:78: note: expanded from macro 'THROW'
  416. { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
  417. ~~~~~~ ^
  418. <scratch space>:55:1: note: expanded from here
  419. "narwhal.c"
  420. ^
  421. narwhal.c:222:27: warning: expression result unused [-Wunused-value]
  422. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  423. ^~~~~~~~~~~~~~~~
  424. include/narwhal.h:210:33: note: expanded from macro 'ARG_OBJ'
  425. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  426. ^
  427. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  428. __VA_ARGS__; \
  429. ^~~~~~~~~~~
  430. narwhal.c:222:60: warning: expression result unused [-Wunused-value]
  431. FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
  432. ^~~~~~~~~~~~
  433. include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
  434. #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
  435. ^
  436. include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
  437. __VA_ARGS__; \
  438. ^~~~~~~~~~~
  439. narwhal.c:283:1: warning: control may reach end of non-void function [-Wreturn-type]
  440. END
  441. ^
  442. include/narwhal.h:313:5: note: expanded from macro 'END'
  443. }
  444. ^
  445. narwhal.c:355:1: warning: control may reach end of non-void function [-Wreturn-type]
  446. }
  447. ^
  448. 36 warnings generated.
  449. ld: warning: The i386 architecture is deprecated for macOS (remove from Xcode build setting: ARCHS)
  450. ld: warning: ignoring file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
  451. ld: warning: ignoring file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore.tbd, missing required architecture i386 in file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore.tbd
  452. ld: in '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/system/libcache.tbd', missing required architecture i386 in file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/system/libcache.tbd for architecture i386
  453. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  454. make: *** [lib/libnarwhal.dylib] Error 1
  455. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  456. WARNING: building narwhal-jsc failed. Hit enter to continue.
  457. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  458. ================================================================================
Add Comment
Please, Sign In to add comment