Skip to content

Instantly share code, notes, and snippets.

@RobLoach
Created Nov 6, 2021
Embed
What would you like to do?
Scanning dependencies of target wren
[ 3%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_compiler.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/src/vm/wren_compiler.c:7:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘grouping’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2139:47: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2139 | static void grouping(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘list’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2146:43: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2146 | static void list(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘map’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2171:42: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2171 | static void map(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘unaryOp’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2202:46: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2202 | static void unaryOp(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘boolean’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2215:46: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2215 | static void boolean(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘null’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2415:43: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2415 | static void null(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘literal’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2421:46: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2421 | static void literal(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘stringInterpolation’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2436:58: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2436 | static void stringInterpolation(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘this_’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2495:44: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2495 | static void this_(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘and_’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2536:43: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2536 | static void and_(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘or_’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2546:42: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2546 | static void or_(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘conditional’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2556:50: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2556 | static void conditional(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘infixOp’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2583:39: warning: unused parameter ‘canAssign’ [-Wunused-parameter]
2583 | void infixOp(Compiler* compiler, bool canAssign)
| ^
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘unarySignature’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:2612:31: warning: unused parameter ‘compiler’ [-Wunused-parameter]
2612 | void unarySignature(Compiler* compiler, Signature* signature)
| ~~~~~~~~~~^~~~~~~~
/home/rob/Documents/wren/src/vm/wren_compiler.c: In function ‘declareMethod’:
/home/rob/Documents/wren/src/vm/wren_compiler.c:3321:48: warning: unused parameter ‘length’ [-Wunused-parameter]
3321 | const char* name, int length)
| ~~~~^~~~~~
[ 6%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_core.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/src/vm/wren_vm.h:5,
from /home/rob/Documents/wren/src/vm/wren_core.h:4,
from /home/rob/Documents/wren/src/vm/wren_core.c:9:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
In file included from /home/rob/Documents/wren/src/vm/wren_core.c:11:
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_bool_not’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:16:1: note: in expansion of macro ‘DEF_PRIMITIVE’
16 | DEF_PRIMITIVE(bool_not)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_class_name’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:33:1: note: in expansion of macro ‘DEF_PRIMITIVE’
33 | DEF_PRIMITIVE(class_name)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_class_supertype’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:38:1: note: in expansion of macro ‘DEF_PRIMITIVE’
38 | DEF_PRIMITIVE(class_supertype)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_class_toString’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:48:1: note: in expansion of macro ‘DEF_PRIMITIVE’
48 | DEF_PRIMITIVE(class_toString)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_class_attributes’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:53:1: note: in expansion of macro ‘DEF_PRIMITIVE’
53 | DEF_PRIMITIVE(class_attributes)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_fiber_error’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:155:1: note: in expansion of macro ‘DEF_PRIMITIVE’
155 | DEF_PRIMITIVE(fiber_error)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_fiber_isDone’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:160:1: note: in expansion of macro ‘DEF_PRIMITIVE’
160 | DEF_PRIMITIVE(fiber_isDone)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_fiber_suspend’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:48: warning: unused parameter ‘args’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~^~~~
/home/rob/Documents/wren/src/vm/wren_core.c:166:1: note: in expansion of macro ‘DEF_PRIMITIVE’
166 | DEF_PRIMITIVE(fiber_suspend)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_fiber_yield’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:48: warning: unused parameter ‘args’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~^~~~
/home/rob/Documents/wren/src/vm/wren_core.c:209:1: note: in expansion of macro ‘DEF_PRIMITIVE’
209 | DEF_PRIMITIVE(fiber_yield)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_fn_arity’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:259:1: note: in expansion of macro ‘DEF_PRIMITIVE’
259 | DEF_PRIMITIVE(fn_arity)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_list_count’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:345:1: note: in expansion of macro ‘DEF_PRIMITIVE’
345 | DEF_PRIMITIVE(list_count)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_map_count’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:523:1: note: in expansion of macro ‘DEF_PRIMITIVE’
523 | DEF_PRIMITIVE(map_count)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_null_not’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:598:1: note: in expansion of macro ‘DEF_PRIMITIVE’
598 | DEF_PRIMITIVE(null_not)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_infinity’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:640:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
640 | DEF_NUM_CONSTANT(infinity, INFINITY)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_nan’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:641:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
641 | DEF_NUM_CONSTANT(nan, WREN_DOUBLE_NAN)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_pi’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:642:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
642 | DEF_NUM_CONSTANT(pi, 3.14159265358979323846264338327950288)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_tau’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:643:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
643 | DEF_NUM_CONSTANT(tau, 6.28318530717958647692528676655900577)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_largest’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:645:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
645 | DEF_NUM_CONSTANT(largest, DBL_MAX)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_smallest’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:646:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
646 | DEF_NUM_CONSTANT(smallest, DBL_MIN)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_maxSafeInteger’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:648:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
648 | DEF_NUM_CONSTANT(maxSafeInteger, 9007199254740991.0)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_minSafeInteger’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:635:5: note: in expansion of macro ‘DEF_PRIMITIVE’
635 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:649:1: note: in expansion of macro ‘DEF_NUM_CONSTANT’
649 | DEF_NUM_CONSTANT(minSafeInteger, -9007199254740991.0)
| ^~~~~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_abs’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:691:1: note: in expansion of macro ‘DEF_NUM_FN’
691 | DEF_NUM_FN(abs, fabs)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_acos’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:692:1: note: in expansion of macro ‘DEF_NUM_FN’
692 | DEF_NUM_FN(acos, acos)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_asin’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:693:1: note: in expansion of macro ‘DEF_NUM_FN’
693 | DEF_NUM_FN(asin, asin)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_atan’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:694:1: note: in expansion of macro ‘DEF_NUM_FN’
694 | DEF_NUM_FN(atan, atan)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_cbrt’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:695:1: note: in expansion of macro ‘DEF_NUM_FN’
695 | DEF_NUM_FN(cbrt, cbrt)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_ceil’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:696:1: note: in expansion of macro ‘DEF_NUM_FN’
696 | DEF_NUM_FN(ceil, ceil)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_cos’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:697:1: note: in expansion of macro ‘DEF_NUM_FN’
697 | DEF_NUM_FN(cos, cos)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_floor’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:698:1: note: in expansion of macro ‘DEF_NUM_FN’
698 | DEF_NUM_FN(floor, floor)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_negate’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:699:1: note: in expansion of macro ‘DEF_NUM_FN’
699 | DEF_NUM_FN(negate, -)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_round’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:700:1: note: in expansion of macro ‘DEF_NUM_FN’
700 | DEF_NUM_FN(round, round)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_sin’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:701:1: note: in expansion of macro ‘DEF_NUM_FN’
701 | DEF_NUM_FN(sin, sin)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_sqrt’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:702:1: note: in expansion of macro ‘DEF_NUM_FN’
702 | DEF_NUM_FN(sqrt, sqrt)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_tan’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:703:1: note: in expansion of macro ‘DEF_NUM_FN’
703 | DEF_NUM_FN(tan, tan)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_log’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:704:1: note: in expansion of macro ‘DEF_NUM_FN’
704 | DEF_NUM_FN(log, log)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_log2’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:705:1: note: in expansion of macro ‘DEF_NUM_FN’
705 | DEF_NUM_FN(log2, log2)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_exp’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:686:5: note: in expansion of macro ‘DEF_PRIMITIVE’
686 | DEF_PRIMITIVE(num_##name) \
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c:706:1: note: in expansion of macro ‘DEF_NUM_FN’
706 | DEF_NUM_FN(exp, exp)
| ^~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_eqeq’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:714:1: note: in expansion of macro ‘DEF_PRIMITIVE’
714 | DEF_PRIMITIVE(num_eqeq)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_bangeq’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:720:1: note: in expansion of macro ‘DEF_PRIMITIVE’
720 | DEF_PRIMITIVE(num_bangeq)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_bitwiseNot’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:726:1: note: in expansion of macro ‘DEF_PRIMITIVE’
726 | DEF_PRIMITIVE(num_bitwiseNot)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_fraction’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:794:1: note: in expansion of macro ‘DEF_PRIMITIVE’
794 | DEF_PRIMITIVE(num_fraction)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_isInfinity’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:800:1: note: in expansion of macro ‘DEF_PRIMITIVE’
800 | DEF_PRIMITIVE(num_isInfinity)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_isInteger’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:805:1: note: in expansion of macro ‘DEF_PRIMITIVE’
805 | DEF_PRIMITIVE(num_isInteger)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_isNan’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:812:1: note: in expansion of macro ‘DEF_PRIMITIVE’
812 | DEF_PRIMITIVE(num_isNan)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_sign’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:817:1: note: in expansion of macro ‘DEF_PRIMITIVE’
817 | DEF_PRIMITIVE(num_sign)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_num_truncate’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:839:1: note: in expansion of macro ‘DEF_PRIMITIVE’
839 | DEF_PRIMITIVE(num_truncate)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_object_same’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:846:1: note: in expansion of macro ‘DEF_PRIMITIVE’
846 | DEF_PRIMITIVE(object_same)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_object_not’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:851:1: note: in expansion of macro ‘DEF_PRIMITIVE’
851 | DEF_PRIMITIVE(object_not)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_object_eqeq’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:856:1: note: in expansion of macro ‘DEF_PRIMITIVE’
856 | DEF_PRIMITIVE(object_eqeq)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_object_bangeq’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:861:1: note: in expansion of macro ‘DEF_PRIMITIVE’
861 | DEF_PRIMITIVE(object_bangeq)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_from’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:900:1: note: in expansion of macro ‘DEF_PRIMITIVE’
900 | DEF_PRIMITIVE(range_from)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_to’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:905:1: note: in expansion of macro ‘DEF_PRIMITIVE’
905 | DEF_PRIMITIVE(range_to)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_min’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:910:1: note: in expansion of macro ‘DEF_PRIMITIVE’
910 | DEF_PRIMITIVE(range_min)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_max’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:916:1: note: in expansion of macro ‘DEF_PRIMITIVE’
916 | DEF_PRIMITIVE(range_max)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_isInclusive’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:922:1: note: in expansion of macro ‘DEF_PRIMITIVE’
922 | DEF_PRIMITIVE(range_isInclusive)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_range_iteratorValue’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:958:1: note: in expansion of macro ‘DEF_PRIMITIVE’
958 | DEF_PRIMITIVE(range_iteratorValue)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_string_byteCount’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:1024:1: note: in expansion of macro ‘DEF_PRIMITIVE’
1024 | DEF_PRIMITIVE(string_byteCount)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_string_toString’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:1195:1: note: in expansion of macro ‘DEF_PRIMITIVE’
1195 | DEF_PRIMITIVE(string_toString)
| ^~~~~~~~~~~~~
/home/rob/Documents/wren/src/vm/wren_core.c: In function ‘prim_system_clock’:
/home/rob/Documents/wren/src/vm/wren_primitive.h:36:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
36 | static bool prim_##name(WrenVM* vm, Value* args)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_core.c:1200:1: note: in expansion of macro ‘DEF_PRIMITIVE’
1200 | DEF_PRIMITIVE(system_clock)
| ^~~~~~~~~~~~~
[ 10%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_debug.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_debug.h:4,
from /home/rob/Documents/wren/src/vm/wren_debug.c:3:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
[ 13%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_primitive.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/src/vm/wren_vm.h:5,
from /home/rob/Documents/wren/src/vm/wren_primitive.h:4,
from /home/rob/Documents/wren/src/vm/wren_primitive.c:1:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
[ 16%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_utils.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/src/vm/wren_vm.h:5,
from /home/rob/Documents/wren/src/vm/wren_utils.c:4:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
[ 20%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_value.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_value.c:7:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_value.c: In function ‘wrenListIndexOf’:
/home/rob/Documents/wren/src/vm/wren_value.c:323:29: warning: unused parameter ‘vm’ [-Wunused-parameter]
323 | int wrenListIndexOf(WrenVM* vm, ObjList* list, Value value)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_value.c: In function ‘blackenForeign’:
/home/rob/Documents/wren/src/vm/wren_value.c:1102:36: warning: unused parameter ‘vm’ [-Wunused-parameter]
1102 | static void blackenForeign(WrenVM* vm, ObjForeign* foreign)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_value.c:1102:52: warning: unused parameter ‘foreign’ [-Wunused-parameter]
1102 | static void blackenForeign(WrenVM* vm, ObjForeign* foreign)
| ~~~~~~~~~~~~^~~~~~~
/home/rob/Documents/wren/src/vm/wren_value.c: In function ‘blackenRange’:
/home/rob/Documents/wren/src/vm/wren_value.c:1169:48: warning: unused parameter ‘range’ [-Wunused-parameter]
1169 | static void blackenRange(WrenVM* vm, ObjRange* range)
| ~~~~~~~~~~^~~~~
[ 23%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/vm/wren_vm.c.o
In file included from /home/rob/Documents/wren/src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/src/vm/wren_vm.c:6:
/home/rob/Documents/wren/src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_vm.c: In function ‘defaultReallocate’:
/home/rob/Documents/wren/src/vm/wren_vm.c:28:65: warning: unused parameter ‘_’ [-Wunused-parameter]
28 | static void* defaultReallocate(void* ptr, size_t newSize, void* _)
| ~~~~~~^
/home/rob/Documents/wren/src/vm/wren_vm.c: In function ‘createForeign’:
/home/rob/Documents/wren/src/vm/wren_vm.c:658:49: warning: unused parameter ‘fiber’ [-Wunused-parameter]
658 | static void createForeign(WrenVM* vm, ObjFiber* fiber, Value* stack)
| ~~~~~~~~~~^~~~~
/home/rob/Documents/wren/src/vm/wren_vm.c: In function ‘importModule’:
/home/rob/Documents/wren/src/vm/wren_vm.c:742:15: warning: unused variable ‘source’ [-Wunused-variable]
742 | const char* source = NULL;
| ^~~~~~
/home/rob/Documents/wren/src/vm/wren_vm.c: In function ‘wrenFindVariable’:
/home/rob/Documents/wren/src/vm/wren_vm.c:1557:32: warning: unused parameter ‘vm’ [-Wunused-parameter]
1557 | Value wrenFindVariable(WrenVM* vm, ObjModule* module, const char* name)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_vm.c: In function ‘validateApiSlot’:
/home/rob/Documents/wren/src/vm/wren_vm.c:1655:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
1655 | static void validateApiSlot(WrenVM* vm, int slot)
| ~~~~~~~~^~
/home/rob/Documents/wren/src/vm/wren_vm.c:1655:45: warning: unused parameter ‘slot’ [-Wunused-parameter]
1655 | static void validateApiSlot(WrenVM* vm, int slot)
| ~~~~^~~~
[ 26%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/optional/wren_opt_meta.c.o
In file included from /home/rob/Documents/wren/projects/cmake/../../src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/projects/cmake/../../src/vm/wren_vm.h:5,
from /home/rob/Documents/wren/src/optional/wren_opt_meta.c:7:
/home/rob/Documents/wren/projects/cmake/../../src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/projects/cmake/../../src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/optional/wren_opt_meta.c: In function ‘wrenMetaBindForeignMethod’:
/home/rob/Documents/wren/src/optional/wren_opt_meta.c:73:55: warning: unused parameter ‘vm’ [-Wunused-parameter]
73 | WrenForeignMethodFn wrenMetaBindForeignMethod(WrenVM* vm,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/optional/wren_opt_meta.c:74:59: warning: unused parameter ‘className’ [-Wunused-parameter]
74 | const char* className,
| ~~~~~~~~~~~~^~~~~~~~~
/home/rob/Documents/wren/src/optional/wren_opt_meta.c:75:52: warning: unused parameter ‘isStatic’ [-Wunused-parameter]
75 | bool isStatic,
| ^
[ 30%] Building C object CMakeFiles/wren.dir/home/rob/Documents/wren/src/optional/wren_opt_random.c.o
In file included from /home/rob/Documents/wren/projects/cmake/../../src/vm/wren_compiler.h:5,
from /home/rob/Documents/wren/projects/cmake/../../src/vm/wren_vm.h:5,
from /home/rob/Documents/wren/src/optional/wren_opt_random.c:9:
/home/rob/Documents/wren/projects/cmake/../../src/vm/wren_value.h: In function ‘wrenAppendCallFrame’:
/home/rob/Documents/wren/projects/cmake/../../src/vm/wren_value.h:645:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
645 | static inline void wrenAppendCallFrame(WrenVM* vm, ObjFiber* fiber,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/optional/wren_opt_random.c: In function ‘wrenRandomBindForeignClass’:
/home/rob/Documents/wren/src/optional/wren_opt_random.c:110:60: warning: unused parameter ‘vm’ [-Wunused-parameter]
110 | WrenForeignClassMethods wrenRandomBindForeignClass(WrenVM* vm,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/optional/wren_opt_random.c:111:64: warning: unused parameter ‘module’ [-Wunused-parameter]
111 | const char* module,
| ~~~~~~~~~~~~^~~~~~
/home/rob/Documents/wren/src/optional/wren_opt_random.c:112:64: warning: unused parameter ‘className’ [-Wunused-parameter]
112 | const char* className)
| ~~~~~~~~~~~~^~~~~~~~~
/home/rob/Documents/wren/src/optional/wren_opt_random.c: In function ‘wrenRandomBindForeignMethod’:
/home/rob/Documents/wren/src/optional/wren_opt_random.c:121:57: warning: unused parameter ‘vm’ [-Wunused-parameter]
121 | WrenForeignMethodFn wrenRandomBindForeignMethod(WrenVM* vm,
| ~~~~~~~~^~
/home/rob/Documents/wren/src/optional/wren_opt_random.c:122:61: warning: unused parameter ‘className’ [-Wunused-parameter]
122 | const char* className,
| ~~~~~~~~~~~~^~~~~~~~~
/home/rob/Documents/wren/src/optional/wren_opt_random.c:123:54: warning: unused parameter ‘isStatic’ [-Wunused-parameter]
123 | bool isStatic,
| ^
[ 33%] Linking C static library libwren.a
[ 33%] Built target wren
Scanning dependencies of target wren_test
[ 36%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/api_tests.c.o
/home/rob/Documents/wren/test/api/api_tests.c: In function ‘APITest_bindForeignMethod’:
/home/rob/Documents/wren/test/api/api_tests.c:6:13: warning: unused parameter ‘vm’ [-Wunused-parameter]
6 | WrenVM* vm, const char* module, const char* className,
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/api_tests.c: In function ‘APITest_bindForeignClass’:
/home/rob/Documents/wren/test/api/api_tests.c:65:13: warning: unused parameter ‘vm’ [-Wunused-parameter]
65 | WrenVM* vm, const char* module, const char* className)
| ~~~~~~~~^~
[ 40%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/benchmark.c.o
[ 43%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/call.c.o
[ 46%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/call_calls_foreign.c.o
[ 50%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/call_wren_call_root.c.o
[ 53%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/error.c.o
[ 56%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/foreign_class.c.o
[ 60%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/get_variable.c.o
[ 63%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/handle.c.o
[ 66%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/lists.c.o
[ 70%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/maps.c.o
[ 73%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/new_vm.c.o
[ 76%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/reset_stack_after_call_abort.c.o
[ 80%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/reset_stack_after_foreign_construct.c.o
[ 83%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/resolution.c.o
/home/rob/Documents/wren/test/api/resolution.c: In function ‘writeFn’:
/home/rob/Documents/wren/test/api/resolution.c:6:29: warning: unused parameter ‘vm’ [-Wunused-parameter]
6 | static void writeFn(WrenVM* vm, const char* text)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘reportError’:
/home/rob/Documents/wren/test/api/resolution.c:11:33: warning: unused parameter ‘vm’ [-Wunused-parameter]
11 | static void reportError(WrenVM* vm, WrenErrorType type,
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c:12:37: warning: unused parameter ‘module’ [-Wunused-parameter]
12 | const char* module, int line, const char* message)
| ~~~~~~~~~~~~^~~~~~
/home/rob/Documents/wren/test/api/resolution.c:12:49: warning: unused parameter ‘line’ [-Wunused-parameter]
12 | const char* module, int line, const char* message)
| ~~~~^~~~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘loadModuleComplete’:
/home/rob/Documents/wren/test/api/resolution.c:17:40: warning: unused parameter ‘vm’ [-Wunused-parameter]
17 | static void loadModuleComplete(WrenVM* vm, const char* module, WrenLoadModuleResult result)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c:17:56: warning: unused parameter ‘module’ [-Wunused-parameter]
17 | static void loadModuleComplete(WrenVM* vm, const char* module, WrenLoadModuleResult result)
| ~~~~~~~~~~~~^~~~~~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘loadModule’:
/home/rob/Documents/wren/test/api/resolution.c:22:48: warning: unused parameter ‘vm’ [-Wunused-parameter]
22 | static WrenLoadModuleResult loadModule(WrenVM* vm, const char* module)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘resolveToNull’:
/home/rob/Documents/wren/test/api/resolution.c:83:42: warning: unused parameter ‘vm’ [-Wunused-parameter]
83 | static const char* resolveToNull(WrenVM* vm, const char* importer,
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c:83:58: warning: unused parameter ‘importer’ [-Wunused-parameter]
83 | static const char* resolveToNull(WrenVM* vm, const char* importer,
| ~~~~~~~~~~~~^~~~~~~~
/home/rob/Documents/wren/test/api/resolution.c:84:46: warning: unused parameter ‘name’ [-Wunused-parameter]
84 | const char* name)
| ~~~~~~~~~~~~^~~~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘resolveChange’:
/home/rob/Documents/wren/test/api/resolution.c:98:42: warning: unused parameter ‘vm’ [-Wunused-parameter]
98 | static const char* resolveChange(WrenVM* vm, const char* importer,
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/resolution.c: In function ‘resolutionBindClass’:
/home/rob/Documents/wren/test/api/resolution.c:155:38: warning: unused parameter ‘className’ [-Wunused-parameter]
155 | void resolutionBindClass(const char* className, WrenForeignClassMethods* methods)
| ~~~~~~~~~~~~^~~~~~~~~
/home/rob/Documents/wren/test/api/resolution.c:155:74: warning: unused parameter ‘methods’ [-Wunused-parameter]
155 | void resolutionBindClass(const char* className, WrenForeignClassMethods* methods)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[ 86%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/slots.c.o
/home/rob/Documents/wren/test/api/slots.c: In function ‘noSet’:
/home/rob/Documents/wren/test/api/slots.c:6:27: warning: unused parameter ‘vm’ [-Wunused-parameter]
6 | static void noSet(WrenVM* vm)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/api/slots.c: In function ‘slotsBindClass’:
/home/rob/Documents/wren/test/api/slots.c:190:33: warning: unused parameter ‘className’ [-Wunused-parameter]
190 | void slotsBindClass(const char* className, WrenForeignClassMethods* methods)
| ~~~~~~~~~~~~^~~~~~~~~
[ 90%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/api/user_data.c.o
[ 93%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/main.c.o
[ 96%] Building C object CMakeFiles/wren_test.dir/home/rob/Documents/wren/test/test.c.o
/home/rob/Documents/wren/test/test.c: In function ‘vm_write’:
/home/rob/Documents/wren/test/test.c:343:25: warning: unused parameter ‘vm’ [-Wunused-parameter]
343 | void vm_write(WrenVM* vm, const char* text)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/test.c: In function ‘reportError’:
/home/rob/Documents/wren/test/test.c:348:28: warning: unused parameter ‘vm’ [-Wunused-parameter]
348 | void reportError(WrenVM* vm, WrenErrorType type,
| ~~~~~~~~^~
/home/rob/Documents/wren/test/test.c: In function ‘readModuleComplete’:
/home/rob/Documents/wren/test/test.c:367:35: warning: unused parameter ‘vm’ [-Wunused-parameter]
367 | void readModuleComplete(WrenVM* vm, const char* module, WrenLoadModuleResult result)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/test.c:367:51: warning: unused parameter ‘module’ [-Wunused-parameter]
367 | void readModuleComplete(WrenVM* vm, const char* module, WrenLoadModuleResult result)
| ~~~~~~~~~~~~^~~~~~
/home/rob/Documents/wren/test/test.c: In function ‘readModule’:
/home/rob/Documents/wren/test/test.c:375:43: warning: unused parameter ‘vm’ [-Wunused-parameter]
375 | WrenLoadModuleResult readModule(WrenVM* vm, const char* module)
| ~~~~~~~~^~
/home/rob/Documents/wren/test/test.c: In function ‘resolveModule’:
/home/rob/Documents/wren/test/test.c:405:37: warning: unused parameter ‘vm’ [-Wunused-parameter]
405 | const char* resolveModule(WrenVM* vm, const char* importer, const char* module)
| ~~~~~~~~^~
[100%] Linking C executable wren_test
[100%] Built target wren_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment