=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libyang", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. ===> Building for libyang-1.0.240 [ 1%] Building C object CMakeFiles/yangobj.dir/src/common.c.o [ 2%] Building C object CMakeFiles/compat.dir/compat/compat.c.o [ 3%] Building C object CMakeFiles/yangobj_tests.dir/src/common.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/compat/compat.c:64:13: warning: call to undeclared library function 'vsnprintf' with type 'int (char *restrict, unsigned long, const char *restrict, __builtin_va_list)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | int l = vsnprintf(0, 0, fmt, ap2); | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/compat/compat.c:64:13: note: include the header or explicitly provide a declaration for 'vsnprintf' /var/tmp/work/devel/libyang/work/libyang-1.0.240/compat/compat.c:145:18: warning: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | retval = strdup(tmp); | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/compat/compat.c:145:18: note: include the header or explicitly provide a declaration for 'strdup' 2 warnings generated. [ 3%] Built target compat [ 4%] Building C object CMakeFiles/yang2yin.dir/tools/yang2yin/main.c.o [ 6%] Building C object CMakeFiles/yangobj.dir/src/context.c.o [ 7%] Building C object CMakeFiles/yangobj_tests.dir/src/context.c.o [ 8%] Linking C executable yang2yin [ 8%] Built target yang2yin [ 9%] Building C object CMakeFiles/yangobj.dir/src/log.c.o [ 11%] Building C object CMakeFiles/yangobj.dir/src/hash_table.c.o [ 12%] Building C object CMakeFiles/yangobj_tests.dir/src/log.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/hash_table.c:26:47: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 26 | lydict_val_eq(void *val1_p, void *val2_p, int UNUSED(mod), void *cb_data) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :140:1: note: expanded from here 140 | UNUSED_mod | ^ 1 warning generated. [ 13%] Building C object CMakeFiles/yangobj.dir/src/resolve.c.o [ 14%] Building C object CMakeFiles/yangobj.dir/src/validation.c.o [ 16%] Building C object CMakeFiles/yangobj_tests.dir/src/hash_table.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:147:53: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 147 | lyv_list_uniq_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *cb_data) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:376:48: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 376 | lyv_list_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :110:1: note: expanded from here 110 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:376:67: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 376 | lyv_list_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :111:1: note: expanded from here 111 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/hash_table.c:26:47: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 26 | lydict_val_eq(void *val1_p, void *val2_p, int UNUSED(mod), void *cb_data) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :140:1: note: expanded from here 140 | UNUSED_mod | ^ 3 warnings generated. 1 warning generated. [ 17%] Building C object CMakeFiles/yangobj.dir/src/xml.c.o [ 18%] Building C object CMakeFiles/yangobj_tests.dir/src/resolve.c.o [ 19%] Building C object CMakeFiles/yangobj.dir/src/parser.c.o [ 20%] Building C object CMakeFiles/yangobj.dir/src/parser_yin.c.o [ 22%] Building C object CMakeFiles/yangobj.dir/src/parser_xml.c.o [ 23%] Building C object CMakeFiles/yangobj_tests.dir/src/validation.c.o [ 24%] Building C object CMakeFiles/yangobj.dir/src/parser_json.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:147:53: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 147 | lyv_list_uniq_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *cb_data) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:376:48: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 376 | lyv_list_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :110:1: note: expanded from here 110 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/validation.c:376:67: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 376 | lyv_list_equal(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :111:1: note: expanded from here 111 | UNUSED_cb_data | ^ 3 warnings generated. [ 25%] Building C object CMakeFiles/yangobj_tests.dir/src/xml.c.o [ 27%] Building C object CMakeFiles/yangobj.dir/src/parser_lyb.c.o [ 28%] Building C object CMakeFiles/yangobj_tests.dir/src/parser.c.o [ 29%] Building C object CMakeFiles/yangobj.dir/src/parser_yang_bis.c.o [ 30%] Building C object CMakeFiles/yangobj.dir/src/parser_yang_lex.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/parser_yang_bis.c:2888:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] 2888 | int yynerrs; | ^ [ 32%] Building C object CMakeFiles/yangobj.dir/src/parser_yang.c.o [ 33%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_yin.c.o 1 warning generated. [ 34%] Building C object CMakeFiles/yangobj.dir/src/tree_schema.c.o [ 35%] Building C object CMakeFiles/yangobj.dir/src/tree_data.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/tree_data.c:285:69: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 285 | lyd_hash_table_val_equal(void *val1_p, void *val2_p, int mod, void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :51:1: note: expanded from here 51 | UNUSED_cb_data | ^ [ 37%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_xml.c.o [ 38%] Building C object CMakeFiles/yangobj.dir/src/plugins.c.o [ 39%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_json.c.o [ 40%] Building C object CMakeFiles/yangobj.dir/src/printer.c.o 1 warning generated. [ 41%] Building C object CMakeFiles/yangobj.dir/src/xpath.c.o [ 43%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_lyb.c.o [ 44%] Building C object CMakeFiles/yangobj.dir/src/printer_yang.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:613:53: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 613 | set_values_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :66:1: note: expanded from here 66 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:613:72: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 613 | set_values_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :67:1: note: expanded from here 67 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3290:51: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3290 | xpath_bit_is_set(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :88:1: note: expanded from here 88 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3361:48: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3361 | xpath_boolean(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :90:1: note: expanded from here 90 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3388:48: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3388 | xpath_ceiling(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :91:1: note: expanded from here 91 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3494:49: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3494 | xpath_contains(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :92:1: note: expanded from here 92 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3553:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3553 | xpath_count(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :93:1: note: expanded from here 93 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3553:82: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3553 | xpath_count(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :94:1: note: expanded from here 94 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3630:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3630 | xpath_deref(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :95:1: note: expanded from here 95 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3750:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3750 | xpath_derived_from(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :96:1: note: expanded from here 96 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3833:61: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3833 | xpath_derived_from_or_self(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :97:1: note: expanded from here 97 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3920:51: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3920 | xpath_enum_value(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :98:1: note: expanded from here 98 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3920:87: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3920 | xpath_enum_value(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :99:1: note: expanded from here 99 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:31: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :100:1: note: expanded from here 100 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:54: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :101:1: note: expanded from here 101 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:90: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :102:1: note: expanded from here 102 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3973:32: warning: unused parameter 'UNUSED_local_mod' [-Wunused-parameter] 3973 | struct lys_module *UNUSED(local_mod), struct lyxp_set *set, int options) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_local_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3997:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3997 | xpath_floor(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4023:45: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4023 | xpath_lang(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :107:1: note: expanded from here 107 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :108:1: note: expanded from here 108 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4336:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4336 | xpath_node(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :113:1: note: expanded from here 113 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4336:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4336 | xpath_node(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :114:1: note: expanded from here 114 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4459:44: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4459 | xpath_not(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :115:1: note: expanded from here 115 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:34: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :116:1: note: expanded from here 116 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:57: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :117:1: note: expanded from here 117 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:93: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :118:1: note: expanded from here 118 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4563:49: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4563 | xpath_re_match(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :119:1: note: expanded from here 119 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4628:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4628 | xpath_round(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :120:1: note: expanded from here 120 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4681:52: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4681 | xpath_starts_with(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :121:1: note: expanded from here 121 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4939:56: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4939 | xpath_substring_after(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :122:1: note: expanded from here 122 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5001:57: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5001 | xpath_substring_before(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :123:1: note: expanded from here 123 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5062:44: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5062 | xpath_sum(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :124:1: note: expanded from here 124 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :125:1: note: expanded from here 125 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :126:1: note: expanded from here 126 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :127:1: note: expanded from here 127 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5200:50: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5200 | xpath_translate(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :130:1: note: expanded from here 130 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :131:1: note: expanded from here 131 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :132:1: note: expanded from here 132 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :133:1: note: expanded from here 133 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5311:31: warning: unused parameter 'UNUSED_local_mod' [-Wunused-parameter] 5311 | struct lys_module *UNUSED(local_mod), struct lyxp_set *set, int options) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :134:1: note: expanded from here 134 | UNUSED_local_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:6137:105: warning: unused parameter 'UNUSED_options' [-Wunused-parameter] 6137 | moveto_attr(struct lyxp_set *set, struct lyd_node *cur_node, const char *qname, uint16_t qname_len, int UNUSED(options)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :139:1: note: expanded from here 139 | UNUSED_options | ^ [ 45%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_yang_bis.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/parser_yang_bis.c:2888:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] 2888 | int yynerrs; | ^ [ 46%] Building C object CMakeFiles/yangobj.dir/src/printer_yin.c.o 43 warnings generated. [ 48%] Building C object CMakeFiles/yangobj.dir/src/printer_json_schema.c.o 1 warning generated. [ 49%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_yang_lex.c.o [ 50%] Building C object CMakeFiles/yangobj.dir/src/printer_xml.c.o [ 51%] Building C object CMakeFiles/yangobj.dir/src/printer_tree.c.o [ 53%] Building C object CMakeFiles/yangobj.dir/src/printer_info.c.o [ 54%] Building C object CMakeFiles/yangobj_tests.dir/src/parser_yang.c.o [ 55%] Building C object CMakeFiles/yangobj.dir/src/printer_json.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:415:78: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 415 | info_print_type_detail(struct lyout *out, const struct lys_type *type, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:686:82: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 686 | info_print_typedef_detail(struct lyout *outf, const struct lys_tpdf *tpdf, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:699:81: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 699 | info_print_ident_detail(struct lyout *out, const struct lys_ident *ident, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:729:84: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 729 | info_print_feature_detail(struct lyout *out, const struct lys_feature *feat, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:796:75: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 796 | info_print_container(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :107:1: note: expanded from here 107 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:815:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 815 | info_print_choice(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :108:1: note: expanded from here 108 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:837:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 837 | info_print_leaf(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :109:1: note: expanded from here 109 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:855:74: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 855 | info_print_leaflist(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :110:1: note: expanded from here 110 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:873:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 873 | info_print_list(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :111:1: note: expanded from here 111 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:894:73: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 894 | info_print_anydata(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :112:1: note: expanded from here 112 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:909:75: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 909 | info_print_grouping(struct lyout *out, const struct lys_node *node, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :113:1: note: expanded from here 113 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:924:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 924 | info_print_case(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :114:1: note: expanded from here 114 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:940:71: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 940 | info_print_input(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :115:1: note: expanded from here 115 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:954:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 954 | info_print_output(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :116:1: note: expanded from here 116 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:968:71: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 968 | info_print_notif(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :117:1: note: expanded from here 117 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:985:69: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 985 | info_print_rpc(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :118:1: note: expanded from here 118 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:1001:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 1001 | info_print_action(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :119:1: note: expanded from here 119 | UNUSED_first | ^ 17 warnings generated. [ 56%] Building C object CMakeFiles/yangobj.dir/src/printer_lyb.c.o [ 58%] Building C object CMakeFiles/yangobj.dir/src/yang_types.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:25: warning: unused parameter 'UNUSED_val1_p' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :101:1: note: expanded from here 101 | UNUSED_val1_p | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:47: warning: unused parameter 'UNUSED_val2_p' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :102:1: note: expanded from here 102 | UNUSED_val2_p | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:67: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:86: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:37:50: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 37 | lyb_ptr_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:37:69: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 37 | lyb_ptr_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:1062:12: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1062 | int r, ret = 0, rc = EXIT_SUCCESS; | ^ [ 59%] Building C object CMakeFiles/yangobj_tests.dir/src/tree_schema.c.o 7 warnings generated. [ 59%] Built target yangobj [ 60%] Linking C shared library libyang.dylib [ 61%] Building C object CMakeFiles/yangobj_tests.dir/src/tree_data.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/tree_data.c:285:69: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 285 | lyd_hash_table_val_equal(void *val1_p, void *val2_p, int mod, void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :51:1: note: expanded from here 51 | UNUSED_cb_data | ^ [ 61%] Built target yang [ 62%] Building C object CMakeFiles/yanglint.dir/tools/lint/main.c.o [ 64%] Building C object CMakeFiles/yanglint.dir/tools/lint/main_ni.c.o [ 65%] Building C object CMakeFiles/yangobj_tests.dir/src/plugins.c.o [ 66%] Building C object CMakeFiles/yanglint.dir/tools/lint/commands.c.o [ 67%] Building C object CMakeFiles/yangobj_tests.dir/src/printer.c.o 1 warning generated. [ 69%] Building C object CMakeFiles/yangobj_tests.dir/src/xpath.c.o [ 70%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_yang.c.o [ 71%] Building C object CMakeFiles/yanglint.dir/tools/lint/completion.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:613:53: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 613 | set_values_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :66:1: note: expanded from here 66 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:613:72: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 613 | set_values_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :67:1: note: expanded from here 67 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3290:51: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3290 | xpath_bit_is_set(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :88:1: note: expanded from here 88 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3361:48: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3361 | xpath_boolean(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :90:1: note: expanded from here 90 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3388:48: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3388 | xpath_ceiling(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :91:1: note: expanded from here 91 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3494:49: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3494 | xpath_contains(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :92:1: note: expanded from here 92 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3553:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3553 | xpath_count(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :93:1: note: expanded from here 93 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3553:82: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3553 | xpath_count(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :94:1: note: expanded from here 94 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3630:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3630 | xpath_deref(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :95:1: note: expanded from here 95 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3750:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3750 | xpath_derived_from(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :96:1: note: expanded from here 96 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3833:61: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3833 | xpath_derived_from_or_self(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :97:1: note: expanded from here 97 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3920:51: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3920 | xpath_enum_value(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :98:1: note: expanded from here 98 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3920:87: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3920 | xpath_enum_value(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :99:1: note: expanded from here 99 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:31: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :100:1: note: expanded from here 100 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:54: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :101:1: note: expanded from here 101 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3972:90: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 3972 | xpath_false(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :102:1: note: expanded from here 102 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3973:32: warning: unused parameter 'UNUSED_local_mod' [-Wunused-parameter] 3973 | struct lys_module *UNUSED(local_mod), struct lyxp_set *set, int options) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_local_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:3997:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 3997 | xpath_floor(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4023:45: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4023 | xpath_lang(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :107:1: note: expanded from here 107 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4121:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 4121 | xpath_last(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :108:1: note: expanded from here 108 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4336:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4336 | xpath_node(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :113:1: note: expanded from here 113 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4336:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4336 | xpath_node(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :114:1: note: expanded from here 114 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4459:44: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4459 | xpath_not(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :115:1: note: expanded from here 115 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:34: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :116:1: note: expanded from here 116 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:57: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :117:1: note: expanded from here 117 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4525:93: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 4525 | xpath_position(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :118:1: note: expanded from here 118 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4563:49: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4563 | xpath_re_match(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :119:1: note: expanded from here 119 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4628:46: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4628 | xpath_round(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :120:1: note: expanded from here 120 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4681:52: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4681 | xpath_starts_with(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :121:1: note: expanded from here 121 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:4939:56: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 4939 | xpath_substring_after(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :122:1: note: expanded from here 122 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5001:57: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5001 | xpath_substring_before(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :123:1: note: expanded from here 123 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5062:44: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5062 | xpath_sum(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, struct lys_module *local_mod, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :124:1: note: expanded from here 124 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :125:1: note: expanded from here 125 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :126:1: note: expanded from here 126 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5138:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 5138 | xpath_text(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :127:1: note: expanded from here 127 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5200:50: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5200 | xpath_translate(struct lyxp_set **args, uint16_t UNUSED(arg_count), struct lyd_node *cur_node, | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :130:1: note: expanded from here 130 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:30: warning: unused parameter 'UNUSED_args' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :131:1: note: expanded from here 131 | UNUSED_args | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:53: warning: unused parameter 'UNUSED_arg_count' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :132:1: note: expanded from here 132 | UNUSED_arg_count | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5310:89: warning: unused parameter 'UNUSED_cur_node' [-Wunused-parameter] 5310 | xpath_true(struct lyxp_set **UNUSED(args), uint16_t UNUSED(arg_count), struct lyd_node *UNUSED(cur_node), | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :133:1: note: expanded from here 133 | UNUSED_cur_node | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:5311:31: warning: unused parameter 'UNUSED_local_mod' [-Wunused-parameter] 5311 | struct lys_module *UNUSED(local_mod), struct lyxp_set *set, int options) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :134:1: note: expanded from here 134 | UNUSED_local_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/xpath.c:6137:105: warning: unused parameter 'UNUSED_options' [-Wunused-parameter] 6137 | moveto_attr(struct lyxp_set *set, struct lyd_node *cur_node, const char *qname, uint16_t qname_len, int UNUSED(options)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :139:1: note: expanded from here 139 | UNUSED_options | ^ [ 72%] Building C object CMakeFiles/yanglint.dir/tools/lint/configuration.c.o [ 74%] Building C object CMakeFiles/yanglint.dir/linenoise/linenoise.c.o [ 75%] Linking C executable yanglint [ 76%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_yin.c.o [ 76%] Built target yanglint [ 77%] Building C object CMakeFiles/yangre.dir/tools/re/main.c.o 43 warnings generated. [ 79%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_json_schema.c.o [ 80%] Linking C executable yangre [ 81%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_xml.c.o [ 81%] Built target yangre [ 82%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_tree.c.o [ 83%] Building C object src/extensions/CMakeFiles/nacm.dir/nacm.c.o [ 85%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_info.c.o /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:415:78: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 415 | info_print_type_detail(struct lyout *out, const struct lys_type *type, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:686:82: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 686 | info_print_typedef_detail(struct lyout *outf, const struct lys_tpdf *tpdf, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:699:81: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 699 | info_print_ident_detail(struct lyout *out, const struct lys_ident *ident, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:729:84: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 729 | info_print_feature_detail(struct lyout *out, const struct lys_feature *feat, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:796:75: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 796 | info_print_container(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :107:1: note: expanded from here 107 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:815:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 815 | info_print_choice(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :108:1: note: expanded from here 108 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:837:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 837 | info_print_leaf(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :109:1: note: expanded from here 109 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:855:74: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 855 | info_print_leaflist(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :110:1: note: expanded from here 110 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:873:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 873 | info_print_list(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :111:1: note: expanded from here 111 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:894:73: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 894 | info_print_anydata(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :112:1: note: expanded from here 112 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:909:75: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 909 | info_print_grouping(struct lyout *out, const struct lys_node *node, int * UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :113:1: note: expanded from here 113 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:924:70: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 924 | info_print_case(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :114:1: note: expanded from here 114 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:940:71: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 940 | info_print_input(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :115:1: note: expanded from here 115 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:954:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 954 | info_print_output(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :116:1: note: expanded from here 116 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:968:71: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 968 | info_print_notif(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :117:1: note: expanded from here 117 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:985:69: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 985 | info_print_rpc(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :118:1: note: expanded from here 118 | UNUSED_first | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_info.c:1001:72: warning: unused parameter 'UNUSED_first' [-Wunused-parameter] 1001 | info_print_action(struct lyout *out, const struct lys_node *node, int *UNUSED(first)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :119:1: note: expanded from here 119 | UNUSED_first | ^ [ 86%] Linking C shared library nacm.dylib [ 87%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_json.c.o 17 warnings generated. [ 88%] Building C object CMakeFiles/yangobj_tests.dir/src/printer_lyb.c.o [ 88%] Built target nacm /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:25: warning: unused parameter 'UNUSED_val1_p' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :101:1: note: expanded from here 101 | UNUSED_val1_p | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:47: warning: unused parameter 'UNUSED_val2_p' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :102:1: note: expanded from here 102 | UNUSED_val2_p | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:67: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :103:1: note: expanded from here 103 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:30:86: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 30 | lyb_hash_equal_cb(void *UNUSED(val1_p), void *UNUSED(val2_p), int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :104:1: note: expanded from here 104 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:37:50: warning: unused parameter 'UNUSED_mod' [-Wunused-parameter] 37 | lyb_ptr_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :105:1: note: expanded from here 105 | UNUSED_mod | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:37:69: warning: unused parameter 'UNUSED_cb_data' [-Wunused-parameter] 37 | lyb_ptr_equal_cb(void *val1_p, void *val2_p, int UNUSED(mod), void *UNUSED(cb_data)) | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/_build/src/common.h:39:19: note: expanded from macro 'UNUSED' 39 | #define UNUSED(x) UNUSED_ ## x | ^ :106:1: note: expanded from here 106 | UNUSED_cb_data | ^ /var/tmp/work/devel/libyang/work/libyang-1.0.240/src/printer_lyb.c:1062:12: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1062 | int r, ret = 0, rc = EXIT_SUCCESS; | ^ [ 90%] Building C object src/extensions/CMakeFiles/metadata.dir/metadata.c.o [ 91%] Building C object CMakeFiles/yangobj_tests.dir/src/yang_types.c.o 7 warnings generated. [ 91%] Built target yangobj_tests [ 92%] Linking C shared library metadata.dylib [ 93%] Building C object src/extensions/CMakeFiles/yangdata.dir/yangdata.c.o [ 95%] Building C object src/user_types/CMakeFiles/user_yang_types.dir/user_yang_types.c.o [ 95%] Built target metadata [ 96%] Linking C shared library yangdata.dylib [ 97%] Linking C shared library user_yang_types.dylib [ 98%] Building C object src/user_types/CMakeFiles/user_inet_types.dir/user_inet_types.c.o [ 98%] Built target yangdata [ 98%] Built target user_yang_types [100%] Linking C shared library user_inet_types.dylib [100%] Built target user_inet_types *** Please use pkgtools/verifypc to sanity check dependencies.