+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/notion-3.2017050501nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/notion-3.2017050501nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for notion-3.2017050501nb1 set -e; for i in libmainloop libtu libextl mod_tiling mod_query mod_menu mod_dock mod_sp mod_sm mod_statusbar de mod_xinerama mod_xrandr mod_xkbevents mod_notionflux ioncore notion etc utils man po contrib/scripts; do /usr/pkg/bin/gmake -C $i; done gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libmainloop' cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c select.c -o select.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c defer.c -o defer.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c signal.c -o signal.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c hooks.c -o hooks.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c exec.c -o exec.o exec.c: In function 'duppipe': exec.c:75:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fds[idx]); ^~~~~~~~~~~~~ ar -rv libmainloop.a select.o defer.o signal.o hooks.o exec.o ar: creating libmainloop.a a - select.o a - defer.o a - signal.o a - hooks.o a - exec.o ranlib libmainloop.a gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libmainloop' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libtu' cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c iterable.c -o iterable.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c map.c -o map.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c misc.c -o misc.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c obj.c -o obj.o obj.c: In function 'comp_fun': obj.c:130:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] void *af=(void*)((DynFunTab*)a)->func; ^ obj.c:131:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] void *bf=(void*)((DynFunTab*)b)->func; ^ obj.c: In function 'lookup_dynfun': obj.c:192:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] if((void*)df[ndx].func==(void*)func){ ^ obj.c:192:41: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] if((void*)df[ndx].func==(void*)func){ ^ obj.c:196:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] if((void*)df[ndx].func<(void*)func) ^ obj.c:196:40: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] if((void*)df[ndx].func<(void*)func) ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c objlist.c -o objlist.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c optparser.c -o optparser.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c output.c -o output.o output.c: In function 'libtu_asprintf': output.c:133:12: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] CALL_V(vasprintf, (ret, p, args)); ^~~~~~~~~ output.c:116:43: note: in definition of macro 'CALL_V' do { va_list args; va_start(args, p); NAME ARGS; va_end(args); } while(0) ^~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c parser.c -o parser.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c prefix.c -o prefix.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c ptrlist.c -o ptrlist.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c rb.c -o rb.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c setparam.c -o setparam.o rb.c: In function 'rb_inserti': rb.c:612:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return rb_insert_b(rb_find_ikey(tree, ikey), (void *) ikey, val); ^ At top level: rb.c:520:6: warning: 'rb_iprint_tree' defined but not used [-Wunused-function] void rb_iprint_tree(Rb_node t, int level) ^~~~~~~~~~~~~~ rb.c:493:6: warning: 'rb_print_tree' defined but not used [-Wunused-function] void rb_print_tree(Rb_node t, int level) ^~~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c stringstore.c -o stringstore.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c tokenizer.c -o tokenizer.o In file included from tokenizer.c:424: np/np-conv.h:15:13: warning: 'num_to_char' defined but not used [-Wunused-function] static int num_to_##T(T *ret, const NPNum *num, bool allow_uns_big) \ ^~~~~~~ np/np-conv.h:118:1: note: in expansion of macro 'FN_NUM_TO_SIGNED' FN_NUM_TO_SIGNED(char, UCHAR_MAX, CHAR_MAX, CHAR_MIN) ^~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c util.c -o util.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c errorlog.c -o errorlog.o ar -rv libtu.a iterable.o map.o misc.o obj.o objlist.o optparser.o output.o parser.o prefix.o ptrlist.o rb.o setparam.o stringstore.o tokenizer.o util.o errorlog.o ar: creating libtu.a a - iterable.o a - map.o a - misc.o a - obj.o a - objlist.o a - optparser.o a - output.o a - parser.o a - prefix.o a - ptrlist.o a - rb.o a - setparam.o a - stringstore.o a - tokenizer.o a - util.o a - errorlog.o ranlib libtu.a gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libtu' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libextl' cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/usr/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c readconfig.c -o readconfig.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/usr/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c luaextl.c -o luaextl.o luaextl.c: In function 'extl_uncache': luaextl.c:236:23: warning: cast between incompatible function types from 'void (*)(lua_State *, Obj *)' {aka 'void (*)(struct lua_State *, struct Obj_struct *)'} to 'int (*)(lua_State *, void *)' {aka 'int (*)(struct lua_State *, void *)'} [-Wcast-function-type] extl_cpcall(l_st, (ExtlCPCallFn*)extl_uncache_, obj); ^ luaextl.c: In function 'extl_l1_call_handler': luaextl.c:1920:19: warning: missing braces around initializer [-Wmissing-braces] L1Param param={{NULL, }, {NULL, }, NULL, 0, 0, 0}; ^ luaextl.c: In function 'extl_unregister_class': luaextl.c:2348:27: warning: cast between incompatible function types from 'void (*)(lua_State *, ClassData *)' {aka 'void (*)(struct lua_State *, struct *)'} to 'int (*)(lua_State *, void *)' {aka 'int (*)(struct lua_State *, void *)'} [-Wcast-function-type] if(!extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_unregister_class, ^ At top level: luaextl.c:95:13: warning: 'lua_rawgeti_check' defined but not used [-Wunused-function] static void lua_rawgeti_check(lua_State *st, int index, int n) ^~~~~~~~~~~~~~~~~ luaextl.c:88:13: warning: 'lua_rawget_check' defined but not used [-Wunused-function] static void lua_rawget_check(lua_State *st, int index) ^~~~~~~~~~~~~~~~ luaextl.c:81:13: warning: 'lua_rawseti_check' defined but not used [-Wunused-function] static void lua_rawseti_check(lua_State *st, int index, int n) ^~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/usr/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c misc.c -o misc.o sed "1s:LUA50:/usr/pkg/bin/lua5.2:" libextl-mkexports.in > libextl-mkexports ar -rv libextl.a readconfig.o luaextl.o misc.o ar: creating libextl.a a - readconfig.o a - luaextl.o a - misc.o ranlib libextl.a gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libextl' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_tiling' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_tiling -o exports.c -h exports.h \ main.c tiling.c placement.c split.c split-stdisp.c splitfloat.c panehandle.c ops.c Scanning main.c for exports. Scanning tiling.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c tiling.c -o tiling.o Scanning placement.c for exports. Scanning split.c for exports. In file included from tiling.c:13: tiling.c: In function 'tiling_managed_add': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ tiling.c:511:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ tiling.c:511:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); ^~~~~~~~~~~~ tiling.c: In function 'tiling_init': tiling.c:575:21: warning: cast between incompatible function types from 'WRegion * (*)(WWindow *, const WFitParams *)' {aka 'struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *)'} to 'WRegion * (*)(WWindow *, const WFitParams *, void *)' {aka 'struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, void *)'} [-Wcast-function-type] data.u.n.fn=(WRegionCreateFn*)ws->create_frame_fn; ^ tiling.c:579:34: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'int (*)(WRegion *, WRegion *, void *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, void *)'} [-Wcast-function-type] (WRegionDoAttachFn*)tiling_do_attach_initial, ^ tiling.c: In function 'load_splitst': tiling.c:1442:67: warning: unused parameter 'tab' [-Wunused-parameter] WSplit *load_splitst(WTiling *ws, const WRectangle *geom, ExtlTab tab) ~~~~~~~~^~~ In file included from tiling.c:13: tiling.c: In function 'tiling_load_node': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WSplit * (*)(WTiling *, const WRectangle *, ExtlTab)' {aka 'struct WSplit_struct * (*)(struct WTiling_struct *, const struct WRectangle_struct *, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ tiling.c:1628:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WSplit * (*)()' {aka 'struct WSplit_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ tiling.c:1628:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); ^~~~~~~~~~~~ tiling.c: At top level: tiling.c:1685:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ tiling.c:1686:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WTiling_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_fitrep}, ^ tiling.c:1691:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, int)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_maximize, ^ tiling.c:1692:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *, int, int)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *, int, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_managed_maximize}, ^ tiling.c:1697:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_prepare_focus, ^ tiling.c:1698:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_managed_prepare_focus}, ^ tiling.c:1700:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ tiling.c:1701:6: warning: cast between incompatible function types from 'WPHolder * (*)(WTiling *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WTiling_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_prepare_manage}, ^ tiling.c:1703:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ tiling.c:1704:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WRescueInfo *)' {aka 'int (*)(struct WTiling_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_rescue_clientwins}, ^ tiling.c:1706:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_rescue_pholder_for, ^ tiling.c:1707:6: warning: cast between incompatible function types from 'WPHolder * (*)(WTiling *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_get_rescue_pholder_for}, ^ tiling.c:1709:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ tiling.c:1710:6: warning: cast between incompatible function types from 'ExtlTab (*)(WTiling *)' {aka 'int (*)(struct WTiling_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_get_configuration}, ^ tiling.c:1712:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ tiling.c:1713:6: warning: cast between incompatible function types from 'WRegion * (*)(WTiling *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_managed_disposeroot}, ^ tiling.c:1715:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_current, ^ tiling.c:1716:6: warning: cast between incompatible function types from 'WRegion * (*)(WTiling *)' {aka 'struct WRegion_struct * (*)(struct WTiling_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_current}, ^ tiling.c:1718:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)tiling_managed_add, ^ tiling.c:1719:6: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_managed_add_default}, ^ tiling.c:1727:6: warning: cast between incompatible function types from 'WSplit * (*)(WTiling *, const WRectangle *, ExtlTab)' {aka 'struct WSplit_struct * (*)(struct WTiling_struct *, const struct WRectangle_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)tiling_load_node, ^ tiling.c:1728:6: warning: cast between incompatible function types from 'WSplit * (*)(WTiling *, const WRectangle *, ExtlTab)' {aka 'struct WSplit_struct * (*)(struct WTiling_struct *, const struct WRectangle_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_load_node_default}, ^ tiling.c:1736:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_first, ^ tiling.c:1737:6: warning: cast between incompatible function types from 'WRegion * (*)(WTiling *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WTiling_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_navi_first}, ^ tiling.c:1739:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_next, ^ tiling.c:1740:6: warning: cast between incompatible function types from 'WRegion * (*)(WTiling *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WTiling_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_navi_next}, ^ tiling.c:1742:6: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, ^ tiling.c:1743:6: warning: cast between incompatible function types from 'Window (*)(const WTiling *)' {aka 'long unsigned int (*)(const struct WTiling_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)tiling_xwindow}, ^ tiling.c:83:13: warning: 'reparent_mgd' defined but not used [-Wunused-function] static void reparent_mgd(WRegion *sub, WWindow *par) ^~~~~~~~~~~~ Scanning split-stdisp.c for exports. Scanning splitfloat.c for exports. Scanning panehandle.c for exports. Scanning ops.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c placement.c -o placement.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c split.c -o split.o In file included from split.c:15: split.c: In function 'split_do_restore': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1058:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1058:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); ^~~~~~~~~~~~ split.c: In function 'split_do_verify': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1168:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1168:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); ^~~~~~~~~~~~ split.c: In function 'split_current_todir': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WSplit * (*)(WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1806:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, split_current_todir, node, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WSplit * (*)()' {aka 'struct WSplit_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1806:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, split_current_todir, node, ^~~~~~~~~~~~ split.c: In function 'splitinner_nextto': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WSplit * (*)(WSplitInner *, WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplitInner_struct *, struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1848:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WSplit * (*)()' {aka 'struct WSplit_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1848:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, ^~~~~~~~~~~~ split.c: In function 'splitinner_current': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WSplit * (*)(WSplitInner *)' {aka 'struct WSplit_struct * (*)(struct WSplitInner_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1918:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WSplit * (*)()' {aka 'struct WSplit_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:1918:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); ^~~~~~~~~~~~ split.c: In function 'split_get_config': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WSplit *, ExtlTab *)' {aka 'int (*)(struct WSplit_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:2395:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ split.c:2395:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); ^~~~~~~~~~~~ split.c: At top level: split.c:2408:6: warning: cast between incompatible function types from 'WSplit * (*)(WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, ^ split.c:2408:36: warning: cast between incompatible function types from 'WSplit * (*)(WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, ^ split.c:2423:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, ^ split.c:2423:33: warning: cast between incompatible function types from 'int (*)(WSplitSplit *, int)' {aka 'int (*)(struct WSplitSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, ^ split.c:2424:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, ^ split.c:2424:32: warning: cast between incompatible function types from 'int (*)(WSplitSplit *, int)' {aka 'int (*)(struct WSplitSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, ^ split.c:2428:6: warning: cast between incompatible function types from 'WSplit * (*)(WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, ^ split.c:2428:36: warning: cast between incompatible function types from 'WSplit * (*)(WSplitSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplitSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, ^ split.c:2429:6: warning: cast between incompatible function types from 'WSplit * (*)(WSplitInner *)' {aka 'struct WSplit_struct * (*)(struct WSplitInner_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, ^ split.c:2429:35: warning: cast between incompatible function types from 'WSplit * (*)(WSplitSplit *)' {aka 'struct WSplit_struct * (*)(struct WSplitSplit_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, ^ split.c:2430:6: warning: cast between incompatible function types from 'WSplit * (*)(WSplitInner *, WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplitInner_struct *, struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, ^ split.c:2430:34: warning: cast between incompatible function types from 'WSplit * (*)(WSplitSplit *, WSplit *, WPrimn, WPrimn, int (*)(WSplit *))' {aka 'struct WSplit_struct * (*)(struct WSplitSplit_struct *, struct WSplit_struct *, enum , enum , int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, ^ split.c:2432:6: warning: cast between incompatible function types from 'int (*)(WSplit *, ExtlTab *)' {aka 'int (*)(struct WSplit_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, ^ split.c:2432:33: warning: cast between incompatible function types from 'int (*)(WSplitSplit *, ExtlTab *)' {aka 'int (*)(struct WSplitSplit_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, ^ split.c:2445:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, ^ split.c:2445:33: warning: cast between incompatible function types from 'int (*)(WSplitRegion *, int)' {aka 'int (*)(struct WSplitRegion_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, ^ split.c:2446:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, ^ split.c:2446:32: warning: cast between incompatible function types from 'int (*)(WSplitRegion *, int)' {aka 'int (*)(struct WSplitRegion_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, ^ split.c:2447:6: warning: cast between incompatible function types from 'int (*)(WSplit *, ExtlTab *)' {aka 'int (*)(struct WSplit_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, ^ split.c:2447:33: warning: cast between incompatible function types from 'int (*)(WSplitRegion *, ExtlTab *)' {aka 'int (*)(struct WSplitRegion_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, ^ split.c:2460:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, ^ split.c:2460:33: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, ^ split.c:2461:6: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, ^ split.c:2461:32: warning: cast between incompatible function types from 'int (*)(WSplit *, int)' {aka 'int (*)(struct WSplit_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, ^ split.c:2462:6: warning: cast between incompatible function types from 'int (*)(WSplit *, ExtlTab *)' {aka 'int (*)(struct WSplit_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, ^ split.c:2462:33: warning: cast between incompatible function types from 'int (*)(WSplitST *, ExtlTab *)' {aka 'int (*)(struct WSplitST_struct *, int *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c split-stdisp.c -o split-stdisp.o In file included from split-stdisp.c:9: split-stdisp.c: In function 'stdisp_recommended_w': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ split-stdisp.c:65:12: note: in expansion of macro 'MAXOF' return MAXOF(CF_STDISP_MIN_SZ, region_min_w(stdisp->regnode.reg)); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ split-stdisp.c:65:12: note: in expansion of macro 'MAXOF' return MAXOF(CF_STDISP_MIN_SZ, region_min_w(stdisp->regnode.reg)); ^~~~~ split-stdisp.c: In function 'stdisp_recommended_h': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ split-stdisp.c:80:12: note: in expansion of macro 'MAXOF' return MAXOF(CF_STDISP_MIN_SZ, region_min_h(stdisp->regnode.reg)); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ split-stdisp.c:80:12: note: in expansion of macro 'MAXOF' return MAXOF(CF_STDISP_MIN_SZ, region_min_h(stdisp->regnode.reg)); ^~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c splitfloat.c -o splitfloat.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c panehandle.c -o panehandle.o In file included from splitfloat.c:12: splitfloat.c: In function 'splitfloat_tl_pwin_to_cnt': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ splitfloat.c:276:14: note: in expansion of macro 'MAXOF' g->w=MAXOF(1, g->w-split->tlpwin->bdw.right); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ splitfloat.c:276:14: note: in expansion of macro 'MAXOF' g->w=MAXOF(1, g->w-split->tlpwin->bdw.right); ^~~~~ ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ splitfloat.c:278:14: note: in expansion of macro 'MAXOF' g->h=MAXOF(1, g->h-split->tlpwin->bdw.bottom); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ splitfloat.c:278:14: note: in expansion of macro 'MAXOF' g->h=MAXOF(1, g->h-split->tlpwin->bdw.bottom); ^~~~~ splitfloat.c: In function 'splitfloat_tl_cnt_to_pwin': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ splitfloat.c:299:14: note: in expansion of macro 'MAXOF' g->w=MAXOF(1, g->w+split->tlpwin->bdw.right); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ splitfloat.c:299:14: note: in expansion of macro 'MAXOF' g->w=MAXOF(1, g->w+split->tlpwin->bdw.right); ^~~~~ ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ splitfloat.c:301:14: note: in expansion of macro 'MAXOF' g->h=MAXOF(1, g->h+split->tlpwin->bdw.bottom); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ splitfloat.c:301:14: note: in expansion of macro 'MAXOF' g->h=MAXOF(1, g->h+split->tlpwin->bdw.bottom); ^~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c ops.c -o ops.o ops.c: In function 'mkbottom_fn': ops.c:45:30: warning: cast between incompatible function types from 'int (*)(WTiling *, WRegion *)' {aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)'} to 'int (*)(WRegion *, WRegion *, void *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, void *)'} [-Wcast-function-type] (WRegionDoAttachFn*)tiling_do_attach_initial, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o /usr/pkg/bin/luac5.2 -o mod_tiling.lc mod_tiling.lua cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt main.o tiling.o placement.o split.o split-stdisp.o splitfloat.o panehandle.o ops.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_tiling.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_tiling' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_query' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_query -o exports.c -h exports.h \ complete.c edln.c input.c listing.c main.c wedln.c wedln-wrappers.c wmessage.c query.c fwarn.c history.c Scanning complete.c for exports. Scanning edln.c for exports. Scanning input.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c complete.c -o complete.o Scanning listing.c for exports. Scanning main.c for exports. Scanning wedln.c for exports. Scanning wedln-wrappers.c for exports. Scanning wmessage.c for exports. Scanning query.c for exports. Scanning fwarn.c for exports. Scanning history.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c edln.c -o edln.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c input.c -o input.o In file included from inputp.h:13, from input.c:16: input.c: In function 'input_style': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'const char * (*)(WInput *)' {aka 'const char * (*)(struct WInput_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ input.c:54:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, const char*, input_style, input, (input)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'const char * (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ input.c:54:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, const char*, input_style, input, (input)); ^~~~~~~~~~~~ input.c: At top level: input.c:217:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)input_fitrep}, ^ input.c:217:30: warning: cast between incompatible function types from 'int (*)(WInput *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WInput_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)input_fitrep}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c listing.c -o listing.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c wedln.c -o wedln.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c wedln-wrappers.c -o wedln-wrappers.o wedln.c:1089:6: warning: cast between incompatible function types from 'const char * (*)(WInput *)' {aka 'const char * (*)(struct WInput_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)input_style, (DynFun*)wedln_style}, ^ wedln.c:1089:28: warning: cast between incompatible function types from 'const char * (*)(WEdln *)' {aka 'const char * (*)(struct WEdln_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)input_style, (DynFun*)wedln_style}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c wmessage.c -o wmessage.o wmessage.c:254:6: warning: cast between incompatible function types from 'const char * (*)(WInput *)' {aka 'const char * (*)(struct WInput_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)input_style, (DynFun*)wmsg_style}, ^ wmessage.c:254:28: warning: cast between incompatible function types from 'const char * (*)(WMessage *)' {aka 'const char * (*)(struct WMessage_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)input_style, (DynFun*)wmsg_style}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c query.c -o query.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c fwarn.c -o fwarn.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c history.c -o history.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o /usr/pkg/bin/luac5.2 -o mod_query.lc mod_query.lua /usr/pkg/bin/luac5.2 -o mod_query_chdir.lc mod_query_chdir.lua cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt complete.o edln.o input.o listing.o main.o wedln.o wedln-wrappers.o wmessage.o query.o fwarn.o history.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_query.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_query' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_menu' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_menu -o exports.c -h exports.h \ main.c menu.c mkmenu.c grabmenu.c Scanning main.c for exports. Scanning menu.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c menu.c -o menu.o Scanning mkmenu.c for exports. Scanning grabmenu.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c mkmenu.c -o mkmenu.o menu.c: In function 'end_scroll': menu.c:1193:31: warning: unused parameter 'menu' [-Wunused-parameter] static void end_scroll(WMenu *menu) ~~~~~~~^~~~ menu.c: At top level: menu.c:1428:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)menu_fitrep}, ^ menu.c:1428:30: warning: cast between incompatible function types from 'int (*)(WMenu *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WMenu_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)menu_fitrep}, ^ menu.c:1431:6: warning: cast between incompatible function types from 'int (*)(WWindow *, XButtonEvent *, WRegion **)' {aka 'int (*)(struct WWindow_struct *, struct *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)window_press, (DynFun*)menu_press}, ^ menu.c:1431:29: warning: cast between incompatible function types from 'int (*)(WMenu *, XButtonEvent *, WRegion **)' {aka 'int (*)(struct WMenu_struct *, struct *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)window_press, (DynFun*)menu_press}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c grabmenu.c -o grabmenu.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o /usr/pkg/bin/luac5.2 -o mod_menu.lc mod_menu.lua cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt main.o menu.o mkmenu.o grabmenu.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_menu.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_menu' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_dock' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_dock -o exports.c -h exports.h \ dock.c echo "ioncore.load_module('mod_dock') package.loaded['mod_dock']=true" | /usr/pkg/bin/luac5.2 -o mod_dock.lc - Scanning dock.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c dock.c -o dock.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o dock.c: In function 'dockapp_calc_preferred_size': dock.c:611:48: warning: unused parameter 'dock' [-Wunused-parameter] static void dockapp_calc_preferred_size(WDock *dock, int grow, ~~~~~~~^~~~ dock.c: In function 'dock_find_suitable_dock': dock.c:1516:60: warning: unused parameter 'param' [-Wunused-parameter] const WManageParams *param) ~~~~~~~~~~~~~~~~~~~~~^~~~~ dock.c: In function 'mod_dock_init': dock.c:1579:14: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (WHookDummy*)clientwin_do_manage_hook); ^ dock.c: In function 'mod_dock_deinit': dock.c:1593:17: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (WHookDummy*)clientwin_do_manage_hook); ^ dock.c: At top level: dock.c:1621:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, (DynFun*)dock_prepare_manage}, ^ dock.c:1621:38: warning: cast between incompatible function types from 'WPHolder * (*)(WDock *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WDock_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, (DynFun*)dock_prepare_manage}, ^ dock.c:1623:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, (DynFun*)dock_get_configuration}, ^ dock.c:1623:41: warning: cast between incompatible function types from 'ExtlTab (*)(WDock *)' {aka 'int (*)(struct WDock_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, (DynFun*)dock_get_configuration}, ^ dock.c:1625:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)dock_fitrep}, ^ dock.c:1625:30: warning: cast between incompatible function types from 'int (*)(WDock *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WDock_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)dock_fitrep}, ^ dock.c:1626:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_orientation, (DynFun*)dock_orientation}, ^ dock.c:1626:35: warning: cast between incompatible function types from 'int (*)(WDock *)' {aka 'int (*)(struct WDock_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_orientation, (DynFun*)dock_orientation}, ^ dock.c:1627:6: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_handle_drop, (DynFun*)dock_handle_drop}, ^ dock.c:1627:35: warning: cast between incompatible function types from 'int (*)(WDock *, int, int, WRegion *)' {aka 'int (*)(struct WDock_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_handle_drop, (DynFun*)dock_handle_drop}, ^ dock.c:1629:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_get_pholder, ^ dock.c:1630:6: warning: cast between incompatible function types from 'WPHolder * (*)(WDock *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WDock_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)dock_managed_get_pholder}, ^ cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt dock.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_dock.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_dock' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_sp' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_sp -o exports.c -h exports.h \ main.c echo "ioncore.load_module('mod_sp') package.loaded['mod_sp']=true" | /usr/pkg/bin/luac5.2 -o mod_sp.lc - Scanning main.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt main.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_sp.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_sp' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_sm' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_sm -o exports.c -h exports.h \ sm.c sm_matchwin.c sm_session.c Scanning sm.c for exports. Scanning sm_matchwin.c for exports. Scanning sm_session.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c sm_matchwin.c -o sm_matchwin.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c sm_session.c -o sm_session.o sm_matchwin.c: In function 'mod_sm_start_purge_timer': sm_matchwin.c:156:19: warning: cast between incompatible function types from 'void (*)(WTimer *)' {aka 'void (*)(struct WTimer_struct *)'} to 'void (*)(WTimer *, Obj *)' {aka 'void (*)(struct WTimer_struct *, struct Obj_struct *)'} [-Wcast-function-type] (WTimerHandler*)mod_sm_purge_matches, NULL); ^ sm_session.c: In function 'sm_set_other_properties': sm_session.c:148:12: warning: variable 'discard_prop' set but not used [-Wunused-but-set-variable] SmProp discard_prop={ SmDiscardCommand, SmLISTofARRAY8, 3, NULL }; ^~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o echo "ioncore.load_module('mod_sm') package.loaded['mod_sm']=true" | /usr/pkg/bin/luac5.2 -o mod_sm.lc - cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c sm.c -o sm.o sm.c: In function 'mod_sm_deinit': sm.c:116:42: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] hook_remove(clientwin_do_manage_alt, (WHookDummy*)sm_do_manage); ^ sm.c: In function 'mod_sm_init': sm.c:142:39: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] hook_add(clientwin_do_manage_alt, (WHookDummy*)sm_do_manage); ^ cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lSM -lICE -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt sm.o sm_matchwin.o sm_session.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -lSM -lICE -Wl,-R/lib -L/lib -lX11 -lXext -o mod_sm.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_sm' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_statusbar' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_statusbar -o exports.c -h exports.h \ main.c statusbar.c draw.c statusd-launch.c Scanning main.c for exports. Scanning statusbar.c for exports. Scanning draw.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c statusbar.c -o statusbar.o Scanning statusd-launch.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c draw.c -o draw.o In file included from statusbar.c:13: statusbar.c: In function 'statusbar_do_update_natural_size': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ statusbar.c:339:18: note: in expansion of macro 'MAXOF' p->natural_h=MAXOF(stmh, fnte.max_height)+bdw.top+bdw.bottom; ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ statusbar.c:339:18: note: in expansion of macro 'MAXOF' p->natural_h=MAXOF(stmh, fnte.max_height)+bdw.top+bdw.bottom; ^~~~~ statusbar.c: In function 'do_calc_systray_w': statusbar.c:420:43: warning: unused parameter 'p' [-Wunused-parameter] static void do_calc_systray_w(WStatusBar *p, WSBElem *el) ~~~~~~~~~~~~^ statusbar.c: In function 'statusbar_do_attach': statusbar.c:535:33: warning: cast between incompatible function types from 'WRegion * (*)(WStatusBar *, WRegion *, void *)' {aka 'struct WRegion_struct * (*)(struct WStatusBar_struct *, struct WRegion_struct *, void *)'} to 'int (*)(WRegion *, WRegion *, void *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, void *)'} [-Wcast-function-type] (WRegionDoAttachFn*)statusbar_do_attach_final, ^ statusbar.c: In function 'mod_statusbar_find_suitable': statusbar.c:1004:62: warning: unused parameter 'param' [-Wunused-parameter] const WManageParams *param) ~~~~~~~~~~~~~~~~~~~~~^~~~~ statusbar.c: At top level: statusbar.c:1097:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_orientation, (DynFun*)statusbar_orientation}, ^ statusbar.c:1097:35: warning: cast between incompatible function types from 'int (*)(WStatusBar *)' {aka 'int (*)(struct WStatusBar_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_orientation, (DynFun*)statusbar_orientation}, ^ statusbar.c:1100:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, (DynFun*)statusbar_prepare_manage}, ^ statusbar.c:1100:38: warning: cast between incompatible function types from 'WPHolder * (*)(WStatusBar *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WStatusBar_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, (DynFun*)statusbar_prepare_manage}, ^ statusbar.c:1103:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ statusbar.c:1104:6: warning: cast between incompatible function types from 'WPHolder * (*)(WStatusBar *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WStatusBar_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)statusbar_prepare_manage_transient}, ^ statusbar.c:1109:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ statusbar.c:1110:6: warning: cast between incompatible function types from 'int (*)(WStatusBar *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WStatusBar_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)statusbar_fitrep}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c statusd-launch.c -o statusd-launch.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o /usr/pkg/bin/luac5.2 -o mod_statusbar.lc mod_statusbar.lua cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o main.c: In function 'mod_statusbar_deinit': main.c:104:17: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (WHookDummy*)clientwin_do_manage_hook); ^ main.c: In function 'mod_statusbar_init': main.c:136:14: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (WHookDummy*)clientwin_do_manage_hook); ^ cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt main.o statusbar.o draw.o statusd-launch.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_statusbar.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_statusbar' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/de' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module de -o exports.c -h exports.h \ init.c draw.c font.c colour.c brush.c fontset.c style.c precompose.c Scanning init.c for exports. Scanning draw.c for exports. Scanning font.c for exports. Scanning colour.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c draw.c -o draw.o Scanning brush.c for exports. Scanning fontset.c for exports. Scanning style.c for exports. Scanning precompose.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c font.c -o font.o draw.c: In function 'debrush_do_draw_borderline': draw.c:176:9: warning: this statement may fall through [-Wimplicit-fallthrough=] draw_borderline(win, gc, &geom, bd->hl, bd->sh, cg->hl, cg->sh, line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:177:5: note: here case DEBORDER_INLAID: ^~~~ draw.c: In function 'debrush_do_do_draw_border': draw.c:224:9: warning: this statement may fall through [-Wimplicit-fallthrough=] draw_border(win, gc, &geom, bd->hl, bd->sh, cg->hl, cg->sh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:225:5: note: here case DEBORDER_INLAID: ^~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c colour.c -o colour.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c brush.c -o brush.o brush.c:259:6: warning: cast between incompatible function types from 'unsigned int (*)(GrBrush *, const char *, unsigned int)' {aka 'unsigned int (*)(struct GrBrush_struct *, const char *, unsigned int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_text_width, (DynFun*)debrush_get_text_width}, ^ brush.c:259:39: warning: cast between incompatible function types from 'unsigned int (*)(DEBrush *, const char *, unsigned int)' {aka 'unsigned int (*)(struct DEBrush_struct *, const char *, unsigned int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_text_width, (DynFun*)debrush_get_text_width}, ^ brush.c:266:6: warning: cast between incompatible function types from 'int (*)(GrBrush *, const char *, char, void *)' {aka 'int (*)(struct GrBrush_struct *, const char *, char, void *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_extra, (DynFun*)debrush_get_extra}, ^ brush.c:266:34: warning: cast between incompatible function types from 'int (*)(DEBrush *, const char *, char, void *)' {aka 'int (*)(struct DEBrush_struct *, const char *, char, void *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_extra, (DynFun*)debrush_get_extra}, ^ brush.c:267:6: warning: cast between incompatible function types from 'GrBrush * (*)(GrBrush *, WRootWin *, const char *)' {aka 'struct GrBrush_struct * (*)(struct GrBrush_struct *, struct WRootWin_struct *, const char *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_slave, (DynFun*)debrush_get_slave}, ^ brush.c:267:34: warning: cast between incompatible function types from 'DEBrush * (*)(DEBrush *, WRootWin *, const char *)' {aka 'struct DEBrush_struct * (*)(struct DEBrush_struct *, struct WRootWin_struct *, const char *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)grbrush_get_slave, (DynFun*)debrush_get_slave}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c fontset.c -o fontset.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c style.c -o style.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c precompose.c -o precompose.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o echo "ioncore.load_module('de') package.loaded['de']=true" | /usr/pkg/bin/luac5.2 -o de.lc - cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c init.c -o init.o cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt init.o draw.o font.o colour.o brush.o fontset.o style.o precompose.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o de.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/de' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xinerama' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_xinerama -o exports.c -h exports.h \ mod_xinerama.c /usr/pkg/bin/luac5.2 -o mod_xinerama.lc mod_xinerama.lua Scanning mod_xinerama.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I/usr/pkg/include -I.. -I/usr/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_REENTRANT -fPIC -DPIC -MMD -c mod_xinerama.c -o mod_xinerama.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I/usr/pkg/include -I.. -I/usr/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_REENTRANT -fPIC -DPIC -MMD -c exports.c -o exports.o cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXinerama -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt mod_xinerama.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXinerama -Wl,-R/lib -L/lib -lX11 -lXext -o mod_xinerama.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xinerama' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xrandr' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_xrandr -o exports.c -h exports.h \ mod_xrandr.c /usr/pkg/bin/luac5.2 -o mod_xrandr.lc mod_xrandr.lua Scanning mod_xrandr.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I/usr/pkg/include -I.. -I/usr/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_REENTRANT -fPIC -DPIC -MMD -c mod_xrandr.c -o mod_xrandr.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I/usr/pkg/include -I.. -I/usr/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_REENTRANT -fPIC -DPIC -MMD -c exports.c -o exports.o mod_xrandr.c: In function 'mod_xrandr_init': mod_xrandr.c:179:39: warning: cast between incompatible function types from 'int (*)(XEvent *)' {aka 'int (*)(union _XEvent *)'} to 'void (*)()' [-Wcast-function-type] hook_add(ioncore_handle_event_alt,(WHookDummy *)handle_xrandr_event); ^ mod_xrandr.c: In function 'mod_xrandr_deinit': mod_xrandr.c:190:17: warning: cast between incompatible function types from 'int (*)(XEvent *)' {aka 'int (*)(union _XEvent *)'} to 'void (*)()' [-Wcast-function-type] (WHookDummy *)handle_xrandr_event); ^ cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXrandr -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt mod_xrandr.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXrandr -Wl,-R/lib -L/lib -lX11 -lXext -o mod_xrandr.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xrandr' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xkbevents' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_xkbevents -o exports.c -h exports.h \ mod_xkbevents.c echo "ioncore.load_module('mod_xkbevents') package.loaded['mod_xkbevents']=true" | /usr/pkg/bin/luac5.2 -o mod_xkbevents.lc - Scanning mod_xkbevents.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -Wall -fPIC -DPIC -MMD -c mod_xkbevents.c -o mod_xkbevents.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -Wall -fPIC -DPIC -MMD -c exports.c -o exports.o mod_xkbevents.c: In function 'mod_xkbevents_init': mod_xkbevents.c:280:44: warning: cast between incompatible function types from 'int (*)(XEvent *)' {aka 'int (*)(union _XEvent *)'} to 'void (*)()' [-Wcast-function-type] if(!hook_add(ioncore_handle_event_alt, (void (*)())handle_xkb_event)) ^ cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt -Wl,-R/lib -L/lib -lX11 -lXext mod_xkbevents.o exports.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_xkbevents.so gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_xkbevents' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux' set -e; for i in notionflux; do /usr/pkg/bin/gmake -C $i; done gmake[2]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux/notionflux' cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c mod_notionflux.c -o mod_notionflux.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DCF_EXECUTABLE=\"notionflux\" -I/usr/pkg/include -I../.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -MMD -c notionflux.c -o notionflux.o mod_notionflux.c: In function 'writes': mod_notionflux.c:60:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~~ echo "ioncore.load_module('mod_notionflux') package.loaded['mod_notionflux']=true" | /usr/pkg/bin/luac5.2 -o mod_notionflux.lc - cc -shared -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt mod_notionflux.o -Wl,-R/lib -L/lib -lX11 -lXext -o mod_notionflux.so mod_notionflux.o: In function `start_listening': /home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux/mod_notionflux.c:212: warning: the use of `tmpnam' is dangerous, better use `mkstemp' cc notionflux.o -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lintl -lrt -o notionflux gmake[2]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux/notionflux' gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/ioncore' /usr/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module ioncore -o exports.c -h exports.h \ binding.c conf-bindings.c cursor.c event.c exec.c focus.c strings.c key.c modules.c mwmhints.c pointer.c property.c screen.c sizehint.c window.c ioncore.c xic.c selection.c clientwin.c colormap.c region.c eventh.c attach.c resize.c grab.c manage.c regbind.c rootwin.c tags.c names.c saveload.c frame.c frame-pointer.c conf.c reginfo.c extlconv.c fullscreen.c mplex.c bindmaps.c gr.c infowin.c activity.c netwm.c frame-draw.c kbresize.c rectangle.c xwindow.c presize.c extlrx.c pholder.c mplexpholder.c llist.c basicpholder.c sizepolicy.c stacking.c group.c grouppholder.c group-cw.c navi.c group-ws.c float-placement.c framedpholder.c return.c detach.c screen-notify.c frame-tabs-recalc.c profiling.c log.c -reexport mainloop ../libmainloop/select.c ../libmainloop/defer.c ../libmainloop/signal.c ../libmainloop/hooks.c ../libmainloop/exec.c Scanning binding.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c binding.c -o binding.o Scanning conf-bindings.c for exports. Scanning cursor.c for exports. Scanning event.c for exports. Scanning exec.c for exports. Scanning focus.c for exports. Scanning strings.c for exports. Scanning key.c for exports. Scanning modules.c for exports. Scanning mwmhints.c for exports. Scanning pointer.c for exports. Scanning property.c for exports. Scanning screen.c for exports. Scanning sizehint.c for exports. Scanning window.c for exports. Scanning ioncore.c for exports. Scanning xic.c for exports. Scanning selection.c for exports. Scanning clientwin.c for exports. Scanning colormap.c for exports. Scanning region.c for exports. Scanning eventh.c for exports. Scanning attach.c for exports. Scanning resize.c for exports. Scanning grab.c for exports. Scanning manage.c for exports. Scanning regbind.c for exports. Scanning rootwin.c for exports. Scanning tags.c for exports. Scanning names.c for exports. Scanning saveload.c for exports. Scanning frame.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c conf-bindings.c -o conf-bindings.o Scanning frame-pointer.c for exports. Scanning conf.c for exports. Scanning reginfo.c for exports. Scanning extlconv.c for exports. Scanning fullscreen.c for exports. Scanning mplex.c for exports. conf-bindings.c: In function 'get_kpress': conf-bindings.c:402:34: warning: unused parameter 'bindmap' [-Wunused-parameter] static bool get_kpress(WBindmap *bindmap, WBinding *b, ExtlTab t) ~~~~~~~~~~^~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c cursor.c -o cursor.o Scanning bindmaps.c for exports. Scanning gr.c for exports. Scanning infowin.c for exports. Scanning activity.c for exports. Scanning netwm.c for exports. Scanning frame-draw.c for exports. Scanning kbresize.c for exports. Scanning rectangle.c for exports. Scanning xwindow.c for exports. Scanning presize.c for exports. Scanning extlrx.c for exports. Scanning pholder.c for exports. Scanning mplexpholder.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c event.c -o event.o Scanning llist.c for exports. Scanning basicpholder.c for exports. Scanning sizepolicy.c for exports. Scanning stacking.c for exports. Scanning group.c for exports. Scanning grouppholder.c for exports. Scanning group-cw.c for exports. Scanning navi.c for exports. Scanning group-ws.c for exports. Scanning float-placement.c for exports. Scanning framedpholder.c for exports. Scanning return.c for exports. Scanning detach.c for exports. Scanning screen-notify.c for exports. Scanning frame-tabs-recalc.c for exports. Scanning profiling.c for exports. Scanning log.c for exports. Scanning ../libmainloop/select.c for exports. Scanning ../libmainloop/defer.c for exports. Scanning ../libmainloop/signal.c for exports. Scanning ../libmainloop/hooks.c for exports. Scanning ../libmainloop/exec.c for exports. cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c exec.c -o exec.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c focus.c -o focus.o exec.c: In function 'ioncore_setup_display': exec.c:53:43: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp+strlen(tmp), 11, ".%u", (unsigned)xscr); ^ In file included from /usr/include/stdio.h:873, from exec.c:12: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c strings.c -o strings.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c key.c -o key.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c modules.c -o modules.o modules.c: In function 'get_module_fptr': modules.c:104:12: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] return (void (*)(void**)) get_module_symbol(handle, modulename, name); ^ modules.c: In function 'call_init': modules.c:131:12: warning: cast between incompatible function types from 'void (*)(void **)' to 'int (*)()' [-Wcast-function-type] initfn=(bool (*)())get_module_fptr(handle, modulename, "_init"); ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c mwmhints.c -o mwmhints.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c pointer.c -o pointer.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c property.c -o property.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c screen.c -o screen.o In file included from screen.c:11: screen.c: In function 'screen_handle_drop': ../libtu/objp.h:70:50: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) ^ screen.c:155:16: note: in expansion of macro 'HAS_DYN' if(curr && HAS_DYN(curr, region_handle_drop)){ ^~~~~~~ screen.c: In function 'create_initial_ws': screen.c:423:33: warning: cast between incompatible function types from 'WGroupWS * (*)(WWindow *, const WFitParams *)' {aka 'struct WGroupWS_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *)'} to 'WRegion * (*)(WWindow *, const WFitParams *, void *)' {aka 'struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, void *)'} [-Wcast-function-type] (WRegionCreateFn*)create_groupws, NULL); ^ screen.c: At top level: screen.c:467:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ screen.c:468:6: warning: cast between incompatible function types from 'WRegion * (*)(WScreen *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WScreen_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)screen_managed_disposeroot}, ^ screen.c:470:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_may_dispose, ^ screen.c:471:6: warning: cast between incompatible function types from 'int (*)(WScreen *)' {aka 'int (*)(struct WScreen_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)screen_may_dispose}, ^ screen.c:482:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ screen.c:483:6: warning: cast between incompatible function types from 'ExtlTab (*)(WScreen *)' {aka 'int (*)(struct WScreen_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)screen_get_configuration}, ^ screen.c:485:6: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_handle_drop, ^ screen.c:486:6: warning: cast between incompatible function types from 'int (*)(WScreen *, int, int, WRegion *)' {aka 'int (*)(struct WScreen_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)screen_handle_drop}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c sizehint.c -o sizehint.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c window.c -o window.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c ioncore.c -o ioncore.o In file included from window.c:9: window.c: In function 'window_press': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WWindow *, XButtonEvent *, WRegion **)' {aka 'int (*)(struct WWindow_struct *, struct *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ window.c:41:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(area, int, window_press, wwin, (wwin, ev, reg_ret)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ window.c:41:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(area, int, window_press, wwin, (wwin, ev, reg_ret)); ^~~~~~~~~~~~ window.c: At top level: window.c:236:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)window_fitrep}, ^ window.c:236:30: warning: cast between incompatible function types from 'int (*)(WWindow *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WWindow_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)window_fitrep}, ^ window.c:237:6: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, (DynFun*)window_xwindow}, ^ window.c:237:31: warning: cast between incompatible function types from 'Window (*)(const WWindow *)' {aka 'long unsigned int (*)(const struct WWindow_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, (DynFun*)window_xwindow}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c xic.c -o xic.o ioncore.c: In function 'init_hooks': ioncore.c:283:22: warning: cast between incompatible function types from 'int (*)(WClientWin *, const WManageParams *)' {aka 'int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)'} to 'void (*)()' [-Wcast-function-type] if(!hook_add(NM, (void (*)())FN)) return FALSE ^ ioncore.c:285:45: note: in expansion of macro 'ADD_HOOK_' #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) ^~~~~~~~~ ioncore.c:303:5: note: in expansion of macro 'INIT_HOOK' INIT_HOOK(clientwin_do_manage_alt, clientwin_do_manage_default); ^~~~~~~~~ ioncore.c:283:22: warning: cast between incompatible function types from 'int (*)(XEvent *)' {aka 'int (*)(union _XEvent *)'} to 'void (*)()' [-Wcast-function-type] if(!hook_add(NM, (void (*)())FN)) return FALSE ^ ioncore.c:285:45: note: in expansion of macro 'ADD_HOOK_' #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) ^~~~~~~~~ ioncore.c:304:5: note: in expansion of macro 'INIT_HOOK' INIT_HOOK(ioncore_handle_event_alt, ioncore_handle_event); ^~~~~~~~~ ioncore.c:283:22: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] if(!hook_add(NM, (void (*)())FN)) return FALSE ^ ioncore.c:285:45: note: in expansion of macro 'ADD_HOOK_' #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) ^~~~~~~~~ ioncore.c:305:5: note: in expansion of macro 'INIT_HOOK' INIT_HOOK(region_do_warp_alt, region_do_warp_default); ^~~~~~~~~ ioncore.c: In function 'register_classes': ioncore.c:324:38: warning: cast between incompatible function types from 'WRegion * (*)(WWindow *, const WFitParams *, ExtlTab, const char *)' {aka 'struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, int, const char *)'} to 'WRegion * (*)(WWindow *, const WFitParams *, ExtlTab)' {aka 'struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, int)'} [-Wcast-function-type] (WRegionLoadCreateFn*)mplex_load); ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c selection.c -o selection.o selection.c: In function 'XA_COMPOUND_TEXT': selection.c:26:39: warning: unused parameter 'unused' [-Wunused-parameter] static Atom XA_COMPOUND_TEXT(Display *unused) ~~~~~~~~~^~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c clientwin.c -o clientwin.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c colormap.c -o colormap.o clientwin.c: In function 'clientwin_tfor_changed': clientwin.c:643:41: warning: unused parameter 'cwin' [-Wunused-parameter] void clientwin_tfor_changed(WClientWin *cwin) ~~~~~~~~~~~~^~~~ clientwin.c: In function 'set_clientwin_state': clientwin.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(cwin->state!=state){ ^~ clientwin.c: At top level: clientwin.c:1489:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ clientwin.c:1490:6: warning: cast between incompatible function types from 'int (*)(WClientWin *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WClientWin_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)clientwin_fitrep}, ^ clientwin.c:1510:6: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, ^ clientwin.c:1511:6: warning: cast between incompatible function types from 'Window (*)(WClientWin *)' {aka 'long unsigned int (*)(struct WClientWin_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)clientwin_x_window}, ^ clientwin.c:1519:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_orientation, ^ clientwin.c:1520:6: warning: cast between incompatible function types from 'int (*)(WClientWin *)' {aka 'int (*)(struct WClientWin_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)clientwin_orientation}, ^ clientwin.c:1525:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ clientwin.c:1526:6: warning: cast between incompatible function types from 'ExtlTab (*)(WClientWin *)' {aka 'int (*)(struct WClientWin_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)clientwin_get_configuration}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c region.c -o region.o In file included from region.c:13: region.c: In function 'region_fitrep': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:145:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_fitrep, reg, (reg, par, fp)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:145:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_fitrep, reg, (reg, par, fp)); ^~~~~~~~~~~~ region.c: In function 'region_xwindow': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:179:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, Window, region_xwindow, reg, (reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'Window (*)()' {aka 'long unsigned int (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:179:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, Window, region_xwindow, reg, (reg)); ^~~~~~~~~~~~ region.c: In function 'region_managed_prepare_focus': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:223:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_prepare_focus, mgr, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:223:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_prepare_focus, mgr, ^~~~~~~~~~~~ region.c: In function 'region_current': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:250:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_current, mgr, (mgr)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:250:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_current, mgr, (mgr)); ^~~~~~~~~~~~ region.c: In function 'region_rqclose_propagate': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:456:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_rqclose_propagate, reg, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:456:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_rqclose_propagate, reg, ^~~~~~~~~~~~ region.c: In function 'region_may_dispose': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:479:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_may_dispose, reg, (reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:479:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_may_dispose, reg, (reg)); ^~~~~~~~~~~~ region.c: In function 'region_managed_disposeroot': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:493:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_managed_disposeroot, mgr, (mgr, reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:493:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_managed_disposeroot, mgr, (mgr, reg)); ^~~~~~~~~~~~ region.c: In function 'region_defer_rqdispose': region.c:559:38: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)(Obj *)' {aka 'void (*)(struct Obj_struct *)'} [-Wcast-function-type] mainloop_defer_action((Obj*)reg, (WDeferredAction*)region_rqdispose); ^ In file included from region.c:13: region.c: In function 'region_managed_rqorder': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, WRegionOrder)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, enum )'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:762:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_rqorder, reg, (reg, sub, order)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:762:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_rqorder, reg, (reg, sub, order)); ^~~~~~~~~~~~ region.c: In function 'region_handle_drop': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:948:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_handle_drop, reg, (reg, x, y, dropped)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ region.c:948:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_handle_drop, reg, (reg, x, y, dropped)); ^~~~~~~~~~~~ region.c: At top level: region.c:1035:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ region.c:1036:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_rescue_child_clientwins}, ^ region.c:1038:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_may_dispose, ^ region.c:1039:6: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_may_dispose_default}, ^ region.c:1041:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ region.c:1042:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_prepare_manage_default}, ^ region.c:1044:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ region.c:1045:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_prepare_manage_transient_default}, ^ region.c:1047:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_prepare_focus, ^ region.c:1048:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_managed_prepare_focus_default}, ^ region.c:1050:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ region.c:1051:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_managed_disposeroot_default}, ^ region.c:1053:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rqclose_propagate, ^ region.c:1054:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_rqclose_propagate_default}, ^ region.c:1059:6: warning: cast between incompatible function types from 'const char * (*)(WRegion *)' {aka 'const char * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_displayname, ^ region.c:1060:6: warning: cast between incompatible function types from 'const char * (*)(WRegion *)' {aka 'const char * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)region_name}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c eventh.c -o eventh.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c attach.c -o attach.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c resize.c -o resize.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c grab.c -o grab.o In file included from resize.c:12: resize.c: In function 'region_managed_maximize': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, int)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ resize.c:641:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_maximize, mgr, (mgr, reg, dir, action)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ resize.c:641:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_managed_maximize, mgr, (mgr, reg, dir, action)); ^~~~~~~~~~~~ resize.c: In function 'region_orientation': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ resize.c:684:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, int, region_orientation, reg, (reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ resize.c:684:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, int, region_orientation, reg, (reg)); ^~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c manage.c -o manage.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c regbind.c -o regbind.o In file included from manage.c:9: manage.c: In function 'region_prepare_manage': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:254:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_prepare_manage, reg, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WPHolder * (*)()' {aka 'struct WPHolder_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:254:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_prepare_manage, reg, ^~~~~~~~~~~~ manage.c: In function 'region_prepare_manage_transient': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:279:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_prepare_manage_transient, reg, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WPHolder * (*)()' {aka 'struct WPHolder_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:279:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_prepare_manage_transient, reg, ^~~~~~~~~~~~ manage.c: In function 'region_rescue_clientwins': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:429:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_rescue_clientwins, reg, (reg, info)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ manage.c:429:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, region_rescue_clientwins, reg, (reg, info)); ^~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c rootwin.c -o rootwin.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c tags.c -o tags.o In file included from common.h:18, from rootwin.c:22: rootwin.c: In function 'rootwin_init': rootwin.c:264:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:19:9: note: in definition of macro 'LINK_ITEM' if((LIST)==NULL){ \ ^~~~ rootwin.c:264:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:20:10: note: in definition of macro 'LINK_ITEM' (LIST)=(ITEM); \ ^~~~ rootwin.c:264:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:23:23: note: in definition of macro 'LINK_ITEM' (ITEM)->PREV=(LIST)->PREV; \ ^~~~ rootwin.c:264:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:25:10: note: in definition of macro 'LINK_ITEM' (LIST)->PREV=(ITEM); \ ^~~~ rootwin.c: In function 'rootwin_deinit': rootwin.c:289:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:65:21: note: in definition of macro 'UNLINK_ITEM' if((ITEM)==(LIST)){ \ ^~~~ rootwin.c:289:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:66:14: note: in definition of macro 'UNLINK_ITEM' (LIST)=(ITEM)->NEXT; \ ^~~~ rootwin.c:289:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:67:17: note: in definition of macro 'UNLINK_ITEM' if((LIST)!=NULL) \ ^~~~ rootwin.c:289:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:68:18: note: in definition of macro 'UNLINK_ITEM' (LIST)->PREV=(ITEM)->PREV; \ ^~~~ rootwin.c:289:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:71:14: note: in definition of macro 'UNLINK_ITEM' (LIST)->PREV=(ITEM)->PREV; \ ^~~~ rootwin.c: At top level: rootwin.c:444:6: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, (DynFun*)rootwin_x_window}, ^ rootwin.c:444:31: warning: cast between incompatible function types from 'Window (*)(WRootWin *)' {aka 'long unsigned int (*)(struct WRootWin_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, (DynFun*)rootwin_x_window}, ^ rootwin.c:445:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)rootwin_fitrep}, ^ rootwin.c:445:30: warning: cast between incompatible function types from 'int (*)(WRootWin *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRootWin_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, (DynFun*)rootwin_fitrep}, ^ rootwin.c:447:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ rootwin.c:448:6: warning: cast between incompatible function types from 'WRegion * (*)(WRootWin *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRootWin_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)rootwin_managed_disposeroot}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c names.c -o names.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c saveload.c -o saveload.o In file included from names.c:15: names.c: In function 'region_displayname': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'const char * (*)(WRegion *)' {aka 'const char * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ names.c:599:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, const char *, region_displayname, reg, (reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'const char * (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ names.c:599:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, const char *, region_displayname, reg, (reg)); ^~~~~~~~~~~~ In file included from saveload.c:13: saveload.c: In function 'region_supports_save': ../libtu/objp.h:70:50: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) ^ saveload.c:131:12: note: in expansion of macro 'HAS_DYN' return HAS_DYN(reg, region_get_configuration); ^~~~~~~ saveload.c: In function 'region_get_configuration': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ saveload.c:160:9: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(tab, ExtlTab, region_get_configuration, reg, (reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'ExtlTab (*)()' {aka 'int (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ saveload.c:160:9: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(tab, ExtlTab, region_get_configuration, reg, (reg)); ^~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c frame.c -o frame.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c frame-pointer.c -o frame-pointer.o frame.c:966:6: warning: cast between incompatible function types from 'int (*)(WWindow *, XButtonEvent *, WRegion **)' {aka 'int (*)(struct WWindow_struct *, struct *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)window_press, (DynFun*)frame_press}, ^ frame.c:966:29: warning: cast between incompatible function types from 'int (*)(WFrame *, XButtonEvent *, WRegion **)' {aka 'int (*)(struct WFrame_struct *, struct *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)window_press, (DynFun*)frame_press}, ^ frame.c:968:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ frame.c:969:6: warning: cast between incompatible function types from 'ExtlTab (*)(WFrame *)' {aka 'int (*)(struct WFrame_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_get_configuration}, ^ frame.c:980:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ frame.c:981:6: warning: cast between incompatible function types from 'int (*)(WFrame *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WFrame_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_fitrep}, ^ frame.c:983:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ frame.c:984:6: warning: cast between incompatible function types from 'WRegion * (*)(WFrame *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WFrame_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_managed_disposeroot}, ^ frame.c:989:6: warning: cast between incompatible function types from 'int (*)(WMPlex *)' {aka 'int (*)(struct WMPlex_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)mplex_default_index, ^ frame.c:990:6: warning: cast between incompatible function types from 'int (*)(WFrame *)' {aka 'int (*)(struct WFrame_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_default_index}, ^ frame.c:992:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ frame.c:993:6: warning: cast between incompatible function types from 'WPHolder * (*)(WFrame *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WFrame_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_prepare_manage_transient}, ^ frame.c:995:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ frame.c:996:6: warning: cast between incompatible function types from 'int (*)(WFrame *, WRescueInfo *)' {aka 'int (*)(struct WFrame_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)frame_rescue_clientwins}, ^ In file included from frame-pointer.c:11: frame-pointer.c: In function 'fnd': ../libtu/objp.h:70:50: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) ^ frame-pointer.c:239:12: note: in expansion of macro 'HAS_DYN' if(HAS_DYN(w, region_handle_drop)) ^~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c conf.c -o conf.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c reginfo.c -o reginfo.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c extlconv.c -o extlconv.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c fullscreen.c -o fullscreen.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c mplex.c -o mplex.o In file included from mplex.c:13: mplex.c: In function 'get_params': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ mplex.c:1459:24: note: in expansion of macro 'MAXOF' par->level=MAXOF(par->level, STACKING_LEVEL_MODAL1); ^~~~~ ../libtu/minmax.h:20:24: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ mplex.c:1459:24: note: in expansion of macro 'MAXOF' par->level=MAXOF(par->level, STACKING_LEVEL_MODAL1); ^~~~~ mplex.c:1444:32: warning: unused parameter 'mplex' [-Wunused-parameter] static void get_params(WMPlex *mplex, ExtlTab tab, int mask, ~~~~~~~~^~~~~ In file included from mplex.c:12: mplex.c: In function 'mplex_handle_drop': ../libtu/objp.h:70:50: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) ^ mplex.c:1577:16: note: in expansion of macro 'HAS_DYN' if(curr && HAS_DYN(curr, region_handle_drop)){ ^~~~~~~ mplex.c: In function 'mplex_default_index': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WMPlex *)' {aka 'int (*)(struct WMPlex_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ mplex.c:1991:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(idx, int, mplex_default_index, mplex, (mplex)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ mplex.c:1991:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(idx, int, mplex_default_index, mplex, (mplex)); ^~~~~~~~~~~~ mplex.c: At top level: mplex.c:2205:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_prepare_focus, ^ mplex.c:2206:6: warning: cast between incompatible function types from 'int (*)(WMPlex *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WMPlex_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_managed_prepare_focus}, ^ mplex.c:2208:6: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_handle_drop, ^ mplex.c:2209:6: warning: cast between incompatible function types from 'int (*)(WMPlex *, int, int, WRegion *)' {aka 'int (*)(struct WMPlex_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_handle_drop}, ^ mplex.c:2214:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ mplex.c:2215:6: warning: cast between incompatible function types from 'WPHolder * (*)(WMPlex *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WMPlex_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_prepare_manage}, ^ mplex.c:2217:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_current, ^ mplex.c:2218:6: warning: cast between incompatible function types from 'WRegion * (*)(WMPlex *)' {aka 'struct WRegion_struct * (*)(struct WMPlex_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_current}, ^ mplex.c:2220:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ mplex.c:2221:6: warning: cast between incompatible function types from 'int (*)(WMPlex *, WRescueInfo *)' {aka 'int (*)(struct WMPlex_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_rescue_clientwins}, ^ mplex.c:2223:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ mplex.c:2224:6: warning: cast between incompatible function types from 'ExtlTab (*)(WMPlex *)' {aka 'int (*)(struct WMPlex_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_get_configuration}, ^ mplex.c:2229:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ mplex.c:2230:6: warning: cast between incompatible function types from 'int (*)(WMPlex *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WMPlex_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_fitrep}, ^ mplex.c:2235:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_get_pholder, ^ mplex.c:2236:6: warning: cast between incompatible function types from 'WMPlexPHolder * (*)(WMPlex *, WRegion *)' {aka 'struct WMPlexPHolder_struct * (*)(struct WMPlex_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_managed_get_pholder}, ^ mplex.c:2238:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_rescue_pholder_for, ^ mplex.c:2239:6: warning: cast between incompatible function types from 'WPHolder * (*)(WMPlex *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WMPlex_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_get_rescue_pholder_for}, ^ mplex.c:2241:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_first, ^ mplex.c:2242:6: warning: cast between incompatible function types from 'WRegion * (*)(WMPlex *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WMPlex_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_navi_first}, ^ mplex.c:2244:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_next, ^ mplex.c:2245:6: warning: cast between incompatible function types from 'WRegion * (*)(WMPlex *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WMPlex_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_navi_next}, ^ mplex.c:2247:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, WRegionOrder)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, enum )'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_rqorder, ^ mplex.c:2248:6: warning: cast between incompatible function types from 'int (*)(WMPlex *, WRegion *, WRegionOrder)' {aka 'int (*)(struct WMPlex_struct *, struct WRegion_struct *, enum )'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplex_managed_rqorder}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c bindmaps.c -o bindmaps.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c gr.c -o gr.o In file included from gr.c:11: gr.c: In function 'grbrush_get_slave': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'GrBrush * (*)(GrBrush *, WRootWin *, const char *)' {aka 'struct GrBrush_struct * (*)(struct GrBrush_struct *, struct WRootWin_struct *, const char *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:472:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(slave, GrBrush*, grbrush_get_slave, brush, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'GrBrush * (*)()' {aka 'struct GrBrush_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:472:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(slave, GrBrush*, grbrush_get_slave, brush, ^~~~~~~~~~~~ gr.c: In function 'grbrush_get_extra': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(GrBrush *, const char *, char, void *)' {aka 'int (*)(struct GrBrush_struct *, const char *, char, void *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:518:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, grbrush_get_extra, brush, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:518:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, grbrush_get_extra, brush, ^~~~~~~~~~~~ gr.c: In function 'grbrush_get_text_width': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'unsigned int (*)(GrBrush *, const char *, unsigned int)' {aka 'unsigned int (*)(struct GrBrush_struct *, const char *, unsigned int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:559:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, uint, grbrush_get_text_width, brush, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'unsigned int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ gr.c:559:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, uint, grbrush_get_text_width, brush, ^~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c infowin.c -o infowin.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c activity.c -o activity.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c netwm.c -o netwm.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c frame-draw.c -o frame-draw.o netwm.c: In function 'netwm_check_manage_user_time': netwm.c:336:21: warning: variable 'gotcut' set but not used [-Wunused-but-set-variable] bool got=FALSE, gotcut=FALSE; ^~~~~~ In file included from frame-draw.c:12: frame-draw.c: In function 'frame_border_inner_geom': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ frame-draw.c:135:17: note: in expansion of macro 'MAXOF' geom->w=MAXOF(0, geom->w-(bdw.left+bdw.right)); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ frame-draw.c:135:17: note: in expansion of macro 'MAXOF' geom->w=MAXOF(0, geom->w-(bdw.left+bdw.right)); ^~~~~ ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ frame-draw.c:136:17: note: in expansion of macro 'MAXOF' geom->h=MAXOF(0, geom->h-(bdw.top+bdw.bottom)); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ frame-draw.c:136:17: note: in expansion of macro 'MAXOF' geom->h=MAXOF(0, geom->h-(bdw.top+bdw.bottom)); ^~~~~ frame-draw.c: In function 'frame_bar_geom': ../libtu/minmax.h:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^ frame-draw.c:158:13: note: in expansion of macro 'MAXOF' geom->w=MAXOF(0, geom->w-2*off); ^~~~~ ../libtu/minmax.h:20:17: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] ((a_) > (b_) ? (a_) : (b_)); }) ^~~~ frame-draw.c:158:13: note: in expansion of macro 'MAXOF' geom->w=MAXOF(0, geom->w-2*off); ^~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c kbresize.c -o kbresize.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c rectangle.c -o rectangle.o kbresize.c: In function 'moveresmode_accel': kbresize.c:94:38: warning: unused parameter 'mode' [-Wunused-parameter] void moveresmode_accel(WMoveresMode *mode, int *wu, int *hu, int accel_mode) ~~~~~~~~~~~~~~^~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c xwindow.c -o xwindow.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c presize.c -o presize.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c extlrx.c -o extlrx.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c pholder.c -o pholder.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c mplexpholder.c -o mplexpholder.o In file included from pholder.c:9: pholder.c: In function 'pholder_do_attach': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:32:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, pholder_do_attach, ph, (ph, flags, data)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:32:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, pholder_do_attach, ph, (ph, flags, data)); ^~~~~~~~~~~~ pholder.c: In function 'pholder_do_target': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:65:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, pholder_do_target, ph, (ph)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:65:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, pholder_do_target, ph, (ph)); ^~~~~~~~~~~~ pholder.c: In function 'pholder_do_check_reparent': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WPHolder *, WRegion *)' {aka 'int (*)(struct WPHolder_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:89:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_do_check_reparent, ph, (ph, reg)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:89:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_do_check_reparent, ph, (ph, reg)); ^~~~~~~~~~~~ pholder.c: In function 'pholder_do_goto': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:103:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_do_goto, ph, (ph)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:103:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_do_goto, ph, (ph)); ^~~~~~~~~~~~ pholder.c: In function 'pholder_stale': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:123:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_stale, ph, (ph)); ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:123:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, bool, pholder_stale, ph, (ph)); ^~~~~~~~~~~~ pholder.c: In function 'region_managed_get_pholder': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:131:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_managed_get_pholder, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WPHolder * (*)()' {aka 'struct WPHolder_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:131:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_managed_get_pholder, ^~~~~~~~~~~~ pholder.c: In function 'region_get_rescue_pholder_for': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:144:9: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_get_rescue_pholder_for, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WPHolder * (*)()' {aka 'struct WPHolder_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ pholder.c:144:9: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WPHolder*, region_get_rescue_pholder_for, ^~~~~~~~~~~~ pholder.c: At top level: pholder.c:177:6: warning: cast between incompatible function types from 'int (*)(WPHolder *, WRegion *)' {aka 'int (*)(struct WPHolder_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_check_reparent, ^ pholder.c:178:6: warning: cast between incompatible function types from 'int (*)(WPHolder *, WRegion *)' {aka 'int (*)(struct WPHolder_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)pholder_do_check_reparent_default}, ^ pholder.c:180:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_stale, ^ pholder.c:181:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)pholder_stale_default}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c llist.c -o llist.o mplexpholder.c: In function 'mplex_get_attach_params': mplexpholder.c:116:45: warning: unused parameter 'mplex' [-Wunused-parameter] static void mplex_get_attach_params(WMPlex *mplex, WStacking *st, ~~~~~~~~^~~~~ mplexpholder.c: In function 'mplex_get_rescue_pholder_for': mplexpholder.c:489:64: warning: unused parameter 'mgd' [-Wunused-parameter] WPHolder *mplex_get_rescue_pholder_for(WMPlex *mplex, WRegion *mgd) ~~~~~~~~~^~~ mplexpholder.c: At top level: mplexpholder.c:513:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_attach, ^ mplexpholder.c:514:6: warning: cast between incompatible function types from 'WRegion * (*)(WMPlexPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WMPlexPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplexpholder_do_attach}, ^ mplexpholder.c:516:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_goto, ^ mplexpholder.c:517:6: warning: cast between incompatible function types from 'int (*)(WMPlexPHolder *)' {aka 'int (*)(struct WMPlexPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplexpholder_do_goto}, ^ mplexpholder.c:519:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_target, ^ mplexpholder.c:520:6: warning: cast between incompatible function types from 'WRegion * (*)(WMPlexPHolder *)' {aka 'struct WRegion_struct * (*)(struct WMPlexPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplexpholder_do_target}, ^ mplexpholder.c:522:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_stale, ^ mplexpholder.c:523:6: warning: cast between incompatible function types from 'int (*)(WMPlexPHolder *)' {aka 'int (*)(struct WMPlexPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)mplexpholder_stale}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c basicpholder.c -o basicpholder.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c sizepolicy.c -o sizepolicy.o basicpholder.c:95:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_attach, ^ basicpholder.c:96:6: warning: cast between incompatible function types from 'WRegion * (*)(WBasicPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WBasicPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)basicpholder_do_attach}, ^ basicpholder.c:98:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_goto, ^ basicpholder.c:99:6: warning: cast between incompatible function types from 'int (*)(WBasicPHolder *)' {aka 'int (*)(struct WBasicPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)basicpholder_do_goto}, ^ basicpholder.c:101:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_target, ^ basicpholder.c:102:6: warning: cast between incompatible function types from 'WRegion * (*)(WBasicPHolder *)' {aka 'struct WRegion_struct * (*)(struct WBasicPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)basicpholder_do_target}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c stacking.c -o stacking.o stacking.c: In function 'stacking_restack': stacking.c:374:40: warning: unused parameter 'filt' [-Wunused-parameter] WStackingFilter *filt, void *filt_data, bool lower) ~~~~~~~~~~~~~~~~~^~~~ stacking.c:374:52: warning: unused parameter 'filt_data' [-Wunused-parameter] WStackingFilter *filt, void *filt_data, bool lower) ~~~~~~^~~~~~~~~ At top level: stacking.c:116:19: warning: 'link_lists' defined but not used [-Wunused-function] static WStacking *link_lists(WStacking *l1, WStacking *l2) ^~~~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c group.c -o group.o In file included from group.c:14: group.c: In function 'group_do_add_managed': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WStacking * (*)(WGroup *, WRegion *, int, WSizePolicy)' {aka 'struct WStacking_struct * (*)(struct WGroup_struct *, struct WRegion_struct *, int, unsigned int)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ group.c:544:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(st, WStacking*, group_do_add_managed, ws, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WStacking * (*)()' {aka 'struct WStacking_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ group.c:544:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(st, WStacking*, group_do_add_managed, ws, ^~~~~~~~~~~~ group.c: In function 'focusable': group.c:1051:31: warning: unused parameter 'ws' [-Wunused-parameter] static bool focusable(WGroup *ws, WStacking *st, uint min_level) ~~~~~~~~^~ group.c: At top level: group.c:1394:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_fitrep, ^ group.c:1395:6: warning: cast between incompatible function types from 'int (*)(WGroup *, WWindow *, const WFitParams *)' {aka 'int (*)(struct WGroup_struct *, struct WWindow_struct *, const struct WFitParams_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_fitrep}, ^ group.c:1403:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_prepare_focus, ^ group.c:1404:6: warning: cast between incompatible function types from 'int (*)(WGroup *, WRegion *, int, WPrepareFocusResult *)' {aka 'int (*)(struct WGroup_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_managed_prepare_focus}, ^ group.c:1415:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ group.c:1416:6: warning: cast between incompatible function types from 'ExtlTab (*)(WGroup *)' {aka 'int (*)(struct WGroup_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_get_configuration}, ^ group.c:1418:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_current, ^ group.c:1419:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroup *)' {aka 'struct WRegion_struct * (*)(struct WGroup_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_current}, ^ group.c:1421:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ group.c:1422:6: warning: cast between incompatible function types from 'int (*)(WGroup *, WRescueInfo *)' {aka 'int (*)(struct WGroup_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_rescue_clientwins}, ^ group.c:1430:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_get_pholder, ^ group.c:1431:6: warning: cast between incompatible function types from 'WGroupPHolder * (*)(WGroup *, WRegion *)' {aka 'struct WGroupPHolder_struct * (*)(struct WGroup_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_managed_get_pholder}, ^ group.c:1439:6: warning: cast between incompatible function types from 'WStacking * (*)(WGroup *, WRegion *, int, WSizePolicy)' {aka 'struct WStacking_struct * (*)(struct WGroup_struct *, struct WRegion_struct *, int, unsigned int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)group_do_add_managed, ^ group.c:1440:6: warning: cast between incompatible function types from 'WStacking * (*)(WGroup *, WRegion *, int, WSizePolicy)' {aka 'struct WStacking_struct * (*)(struct WGroup_struct *, struct WRegion_struct *, int, unsigned int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_do_add_managed_default}, ^ group.c:1445:6: warning: cast between incompatible function types from 'Window (*)(const WRegion *)' {aka 'long unsigned int (*)(const struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_xwindow, ^ group.c:1446:6: warning: cast between incompatible function types from 'Window (*)(const WGroup *)' {aka 'long unsigned int (*)(const struct WGroup_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_xwindow}, ^ group.c:1448:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_first, ^ group.c:1449:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroup *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WGroup_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_navi_first}, ^ group.c:1451:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_navi_next, ^ group.c:1452:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroup *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WGroup_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_navi_next}, ^ group.c:1454:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRegion *, WRegionOrder)' {aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, enum )'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_rqorder, ^ group.c:1455:6: warning: cast between incompatible function types from 'int (*)(WGroup *, WRegion *, WRegionOrder)' {aka 'int (*)(struct WGroup_struct *, struct WRegion_struct *, enum )'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_managed_rqorder}, ^ group.c:1457:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_rescue_pholder_for, ^ group.c:1458:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroup *, WRegion *)' {aka 'struct WPHolder_struct * (*)(struct WGroup_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)group_get_rescue_pholder_for}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c grouppholder.c -o grouppholder.o grouppholder.c:322:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_attach, ^ grouppholder.c:323:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroupPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WGroupPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)grouppholder_do_attach}, ^ grouppholder.c:325:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_goto, ^ grouppholder.c:326:6: warning: cast between incompatible function types from 'int (*)(WGroupPHolder *)' {aka 'int (*)(struct WGroupPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)grouppholder_do_goto}, ^ grouppholder.c:328:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_target, ^ grouppholder.c:329:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroupPHolder *)' {aka 'struct WRegion_struct * (*)(struct WGroupPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)grouppholder_do_target}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c group-cw.c -o group-cw.o group-cw.c:319:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ group-cw.c:320:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupCW *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupCW_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_prepare_manage}, ^ group-cw.c:322:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ group-cw.c:323:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupCW *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupCW_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_prepare_manage_transient}, ^ group-cw.c:338:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ group-cw.c:339:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupCW *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupCW_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_prepare_manage}, ^ group-cw.c:341:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ group-cw.c:342:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupCW *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupCW_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_prepare_manage_transient}, ^ group-cw.c:344:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ group-cw.c:345:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroupCW *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WGroupCW_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_managed_disposeroot}, ^ group-cw.c:347:6: warning: cast between incompatible function types from 'const char * (*)(WRegion *)' {aka 'const char * (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_displayname, ^ group-cw.c:348:6: warning: cast between incompatible function types from 'const char * (*)(WGroupCW *)' {aka 'const char * (*)(struct WGroupCW_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_displayname}, ^ group-cw.c:356:6: warning: cast between incompatible function types from 'int (*)(WRegion *, WRescueInfo *)' {aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_rescue_clientwins, ^ group-cw.c:357:6: warning: cast between incompatible function types from 'int (*)(WGroupCW *, WRescueInfo *)' {aka 'int (*)(struct WGroupCW_struct *, struct WRescueInfo_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupcw_rescue_clientwins}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c navi.c -o navi.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c group-ws.c -o group-ws.o In file included from navi.c:11: navi.c: In function 'region_navi_first': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ navi.c:23:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_navi_first, reg, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ navi.c:23:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_navi_first, reg, ^~~~~~~~~~~~ navi.c: In function 'region_navi_next': ../libtu/objp.h:65:50: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *, WRegionNavi, WRegionNaviData *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *, enum , struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ navi.c:33:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_navi_next, reg, ^~~~~~~~~~~~ ../libtu/objp.h:65:12: warning: cast between incompatible function types from 'void (*)()' to 'WRegion * (*)()' {aka 'struct WRegion_struct * (*)()'} [-Wcast-function-type] funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ ^ navi.c:33:5: note: in expansion of macro 'CALL_DYN_RET' CALL_DYN_RET(ret, WRegion*, region_navi_next, reg, ^~~~~~~~~~~~ In file included from group-ws.c:12: group-ws.c: In function 'groupws_prepare_manage': ../libtu/objp.h:70:50: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) ^ group-ws.c:216:20: note: in expansion of macro 'HAS_DYN' if(b!=NULL && !HAS_DYN(b, region_prepare_manage)) ^~~~~~~ group-ws.c: At top level: group-ws.c:385:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage, ^ group-ws.c:386:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupWS *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupWS_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupws_prepare_manage}, ^ group-ws.c:388:6: warning: cast between incompatible function types from 'WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_prepare_manage_transient, ^ group-ws.c:389:6: warning: cast between incompatible function types from 'WPHolder * (*)(WGroupWS *, const WClientWin *, const WManageParams *, int)' {aka 'struct WPHolder_struct * (*)(struct WGroupWS_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupws_prepare_manage_transient}, ^ group-ws.c:391:6: warning: cast between incompatible function types from 'WRegion * (*)(WRegion *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_managed_disposeroot, ^ group-ws.c:392:6: warning: cast between incompatible function types from 'WRegion * (*)(WGroupWS *, WRegion *)' {aka 'struct WRegion_struct * (*)(struct WGroupWS_struct *, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupws_managed_disposeroot}, ^ group-ws.c:394:6: warning: cast between incompatible function types from 'int (*)(WRegion *, int, int, WRegion *)' {aka 'int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_handle_drop, ^ group-ws.c:395:6: warning: cast between incompatible function types from 'int (*)(WGroupWS *, int, int, WRegion *)' {aka 'int (*)(struct WGroupWS_struct *, int, int, struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupws_handle_drop}, ^ group-ws.c:400:6: warning: cast between incompatible function types from 'ExtlTab (*)(WRegion *)' {aka 'int (*)(struct WRegion_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)region_get_configuration, ^ group-ws.c:401:6: warning: cast between incompatible function types from 'ExtlTab (*)(WGroupWS *)' {aka 'int (*)(struct WGroupWS_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)groupws_get_configuration}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c float-placement.c -o float-placement.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c framedpholder.c -o framedpholder.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c return.c -o return.o framedpholder.c:258:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_attach, ^ framedpholder.c:259:6: warning: cast between incompatible function types from 'WRegion * (*)(WFramedPHolder *, int, WRegionAttachData *)' {aka 'struct WRegion_struct * (*)(struct WFramedPHolder_struct *, int, struct WRegionAttachData_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)framedpholder_do_attach}, ^ framedpholder.c:261:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_goto, ^ framedpholder.c:262:6: warning: cast between incompatible function types from 'int (*)(WFramedPHolder *)' {aka 'int (*)(struct WFramedPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)framedpholder_do_goto}, ^ framedpholder.c:264:6: warning: cast between incompatible function types from 'WRegion * (*)(WPHolder *)' {aka 'struct WRegion_struct * (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_do_target, ^ framedpholder.c:265:6: warning: cast between incompatible function types from 'WRegion * (*)(WFramedPHolder *)' {aka 'struct WRegion_struct * (*)(struct WFramedPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)framedpholder_do_target}, ^ framedpholder.c:267:6: warning: cast between incompatible function types from 'int (*)(WPHolder *)' {aka 'int (*)(struct WPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] {(DynFun*)pholder_stale, ^ framedpholder.c:268:6: warning: cast between incompatible function types from 'int (*)(WFramedPHolder *)' {aka 'int (*)(struct WFramedPHolder_struct *)'} to 'void (*)()' [-Wcast-function-type] (DynFun*)framedpholder_stale}, ^ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c detach.c -o detach.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c screen-notify.c -o screen-notify.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c frame-tabs-recalc.c -o frame-tabs-recalc.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c profiling.c -o profiling.o profiling.c: In function 'ioncore_profiling_start': profiling.c:53:36: warning: unused parameter 'filename' [-Wunused-parameter] void ioncore_profiling_start(char* filename) ~~~~~~^~~~~~~~ cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c log.c -o log.o cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c exports.c -o exports.o /usr/pkg/bin/luac5.2 -o ioncore_ext.lc ioncore_ext.lua /usr/pkg/bin/luac5.2 -o ioncore_luaext.lc ioncore_luaext.lua /usr/pkg/bin/luac5.2 -o ioncore_bindings.lc ioncore_bindings.lua /usr/pkg/bin/luac5.2 -o ioncore_winprops.lc ioncore_winprops.lua /usr/pkg/bin/luac5.2 -o ioncore_misc.lc ioncore_misc.lua /usr/pkg/bin/luac5.2 -o ioncore_efbb.lc ioncore_efbb.lua /usr/pkg/bin/luac5.2 -o ioncore_wd.lc ioncore_wd.lua /usr/pkg/bin/luac5.2 -o ioncore_menudb.lc ioncore_menudb.lua /usr/pkg/bin/luac5.2 -o ioncore_tabnum.lc ioncore_tabnum.lua /usr/pkg/bin/luac5.2 -o ioncore_quasiact.lc ioncore_quasiact.lua ar -rv ioncore.a binding.o conf-bindings.o cursor.o event.o exec.o focus.o strings.o key.o modules.o mwmhints.o pointer.o property.o screen.o sizehint.o window.o ioncore.o xic.o selection.o clientwin.o colormap.o region.o eventh.o attach.o resize.o grab.o manage.o regbind.o rootwin.o tags.o names.o saveload.o frame.o frame-pointer.o conf.o reginfo.o extlconv.o fullscreen.o mplex.o bindmaps.o gr.o infowin.o activity.o netwm.o frame-draw.o kbresize.o rectangle.o xwindow.o presize.o extlrx.o pholder.o mplexpholder.o llist.o basicpholder.o sizepolicy.o stacking.o group.o grouppholder.o group-cw.o navi.o group-ws.o float-placement.o framedpholder.o return.o detach.o screen-notify.o frame-tabs-recalc.o profiling.o log.o exports.o ar: creating ioncore.a a - binding.o a - conf-bindings.o a - cursor.o a - event.o a - exec.o a - focus.o a - strings.o a - key.o a - modules.o a - mwmhints.o a - pointer.o a - property.o a - screen.o a - sizehint.o a - window.o a - ioncore.o a - xic.o a - selection.o a - clientwin.o a - colormap.o a - region.o a - eventh.o a - attach.o a - resize.o a - grab.o a - manage.o a - regbind.o a - rootwin.o a - tags.o a - names.o a - saveload.o a - frame.o a - frame-pointer.o a - conf.o a - reginfo.o a - extlconv.o a - fullscreen.o a - mplex.o a - bindmaps.o a - gr.o a - infowin.o a - activity.o a - netwm.o a - frame-draw.o a - kbresize.o a - rectangle.o a - xwindow.o a - presize.o a - extlrx.o a - pholder.o a - mplexpholder.o a - llist.o a - basicpholder.o a - sizepolicy.o a - stacking.o a - group.o a - grouppholder.o a - group-cw.o a - navi.o a - group-ws.o a - float-placement.o a - framedpholder.o a - return.o a - detach.o a - screen-notify.o a - frame-tabs-recalc.o a - profiling.o a - log.o a - exports.o ranlib ioncore.a gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/ioncore' gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/notion' cc -pipe -O2 -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DETCDIR=\"/usr/pkg/etc/notion\" -DSHAREDIR=\"/usr/pkg/share/notion\" -DEXTRABINDIR=\"/usr/pkg/lib/notion/bin\" -DMODULEDIR=\"/usr/pkg/lib/notion/mod\" -DLCDIR=\"/usr/pkg/lib/notion/lc\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DCF_EXECUTABLE=\"notion\" -I/usr/pkg/include -I.. -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c notion.c -o notion.o cc notion.o -Wl,-whole-archive ../ioncore/ioncore.a -Wl,-no-whole-archive -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -lSM -lICE -Wl,-whole-archive -L../libmainloop -lmainloop -L../libextl -lextl -L../libtu -ltu -Wl,-no-whole-archive -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -llua5.2 -lm -lm -lintl -lrt -Xlinker --export-dynamic -o notion /bin/ld: ../ioncore/ioncore.a(modules.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake[1]: *** [../build/rules.mk:124: notion] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/notion' gmake: *** [build/rules.mk:225: subdirs] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/wm/notion *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/wm/notion