Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Would you like to build the JavaScriptCore engine? This is optional but will
- make building and running Cappuccino and Objective-J much faster.
- Enter "yes" or "no":
- yes
- libtoolize: putting auxiliary files in '.'.
- libtoolize: copying file './ltmain.sh'
- libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
- libtoolize: and rerunning libtoolize and aclocal.
- libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
- configure.ac:18: installing './compile'
- configure.ac:20: installing './missing'
- examples/Makefile.am: installing './depcomp'
- sh configure
- Detected <JavaScriptCore/JavaScript.h>
- clang -o lib/libnarwhal.dylib narwhal.c -dynamiclib -Os -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -Iinclude -framework JavaScriptCore
- In file included from narwhal.c:3:
- include/narwhal.h:148:9: warning: data argument not used by format string [-Wformat-extra-args]
- THROW("NULL toString!");
- ^ ~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:10:1: note: expanded from here
- "include/narwhal.h"
- ^
- narwhal.c:69:19: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_read, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
- if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:12:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:69:19: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_read, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
- ARGN_UTF8_CAST(variable, index)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
- if (index >= ARGC) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:14:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:71:5: warning: data argument not used by format string [-Wformat-extra-args]
- ARG_COUNT(1);
- ^~~~~~~~~~~~
- include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
- #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:16:1: note: expanded from here
- "narwhal.c"
- ^
- narwhal.c:69:19: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_read, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:69:19: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_read, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:89:21: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_isFile, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
- if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:18:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:89:21: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_isFile, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
- ARGN_UTF8_CAST(variable, index)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
- if (index >= ARGC) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:20:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:91:5: warning: data argument not used by format string [-Wformat-extra-args]
- ARG_COUNT(1);
- ^~~~~~~~~~~~
- include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
- #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:22:1: note: expanded from here
- "narwhal.c"
- ^
- narwhal.c:89:21: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_isFile, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:89:21: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_isFile, ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:28: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
- if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:24:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:28: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
- ARGN_UTF8_CAST(variable, index)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
- if (index >= ARGC) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:26:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:28: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~~
- include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:45: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:205:51: note: expanded from macro 'ARGN_UTF8'
- if (index >= ARGC && !IS_STRING(ARGV(index))) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:28:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:45: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:36: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:206:5: note: expanded from macro 'ARGN_UTF8'
- ARGN_UTF8_CAST(variable, index)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:201:24: note: expanded from macro 'ARGN_UTF8_CAST'
- if (index >= ARGC) THROW("Argument %d must be a string.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:30:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:105:5: warning: data argument not used by format string [-Wformat-extra-args]
- ARG_COUNT(2)
- ^~~~~~~~~~~~
- include/narwhal.h:134:41: note: expanded from macro 'ARG_COUNT'
- #define ARG_COUNT(c) if ( ARGC != c ) { THROW("Insufficient arguments"); }
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:32:1: note: expanded from here
- "narwhal.c"
- ^
- narwhal.c:103:28: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~~
- include/narwhal.h:213:33: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:103:45: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_requireNative, ARG_UTF8(topId), ARG_UTF8(path))
- ^~~~~~~~~~~~~~
- include/narwhal.h:213:73: note: expanded from macro 'ARG_UTF8'
- #define ARG_UTF8(variable) 0; ARGN_UTF8(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:138:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- while (key = *(envp++)) {
- ~~~~^~~~~~~~~~~
- narwhal.c:138:16: note: place parentheses around the assignment to silence this warning
- while (key = *(envp++)) {
- ^
- ( )
- narwhal.c:138:16: note: use '==' to turn this assignment into an equality comparison
- while (key = *(envp++)) {
- ^
- ==
- narwhal.c:143:9: warning: format string is empty [-Wformat-zero-length]
- HANDLE_EXCEPTION(true, true);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
- if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
- ^~
- include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
- #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
- ^~~~~
- narwhal.c:160:5: warning: format string is empty [-Wformat-zero-length]
- HANDLE_EXCEPTION(true, true);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
- if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
- ^~
- include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
- #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
- ^~~~~
- narwhal.c:176:9: warning: format string is empty [-Wformat-zero-length]
- HANDLE_EXCEPTION(true, false);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
- if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
- ^~
- include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
- #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
- ^~~~~
- narwhal.c:180:13: warning: format string is empty [-Wformat-zero-length]
- HANDLE_EXCEPTION(true, false);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
- if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
- ^~
- include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
- #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
- ^~~~~
- narwhal.c:185:9: warning: format string is empty [-Wformat-zero-length]
- HANDLE_EXCEPTION(true, false);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:73:43: note: expanded from macro 'HANDLE_EXCEPTION'
- if (shouldPrint) {fprintf(stderr, "" THROW_DEBUG, __FILE__, __LINE__); JS_Print(*_exception);} \
- ^~
- include/narwhal.h:67:56: note: expanded from macro 'HANDLE_EXCEPTION_BLOCK'
- #define HANDLE_EXCEPTION_BLOCK(block) if (*_exception) block;
- ^~~~~
- narwhal.c:187:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- narwhal.c:222:27: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~~~~~
- include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
- if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:45:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:222:27: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~~~~~
- include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:222:45: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~~
- include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
- if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:47:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:222:45: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~~
- include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:222:60: warning: data argument not used by format string [-Wformat-extra-args]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~
- include/narwhal.h:210:36: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:176:51: note: expanded from macro 'ARGN_OBJ'
- if (index >= ARGC || !IS_OBJECT(ARGV(index))) THROW("Argument %d must be an object.", index) \
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:49:1: note: expanded from here
- "narwhal.c"
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:270:9: warning: data argument not used by format string [-Wformat-extra-args]
- THROW("Error reading %s\n", bootstrapPathFull);
- ^ ~~~~~~~~~~~~~~~~~~~~
- include/narwhal.h:62:78: note: expanded from macro 'THROW'
- { char msg[1024]; snprintf(msg, 1024, format THROW_DEBUG, ##__VA_ARGS__, __FILE__, __LINE__); \
- ~~~~~~ ^
- <scratch space>:55:1: note: expanded from here
- "narwhal.c"
- ^
- narwhal.c:222:27: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~~~~~
- include/narwhal.h:210:33: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:222:60: warning: expression result unused [-Wunused-value]
- FUNCTION(NW_inititialize, ARG_OBJ(context), ARG_OBJ(ARGS), ARG_OBJ(ENV))
- ^~~~~~~~~~~~
- include/narwhal.h:210:72: note: expanded from macro 'ARG_OBJ'
- #define ARG_OBJ(variable) 0; ARGN_OBJ(variable, _argn); _argn++; 0
- ^
- include/narwhal.h:296:9: note: expanded from macro 'FUNCTION'
- __VA_ARGS__; \
- ^~~~~~~~~~~
- narwhal.c:283:1: warning: control may reach end of non-void function [-Wreturn-type]
- END
- ^
- include/narwhal.h:313:5: note: expanded from macro 'END'
- }
- ^
- narwhal.c:355:1: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- 36 warnings generated.
- ld: warning: The i386 architecture is deprecated for macOS (remove from Xcode build setting: ARCHS)
- 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
- 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
- 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
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make: *** [lib/libnarwhal.dylib] Error 1
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- WARNING: building narwhal-jsc failed. Hit enter to continue.
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- ================================================================================
Add Comment
Please, Sign In to add comment