+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/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 /opt/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 /opt/pkg/bin/gmake -C $i; done gmake[1]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/libmainloop' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 select.c: In function 'mainloop_select': select.c:116:17: warning: implicit declaration of function 'pselect'; did you mean 'select'? [-Wimplicit-function-declaration] 116 | ret=pselect(nfds+1, &rfds, NULL, NULL, NULL, &oldmask); | ^~~~~~~ | select ar rv libmainloop.a select.o defer.o signal.o hooks.o exec.o ar: creating libmainloop.a ar: writing 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' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 obj.c: In function 'comp_fun': obj.c:130:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 130 | void *af=(void*)((DynFunTab*)a)->func; | ^ obj.c:131:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 131 | 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] 192 | if((void*)df[ndx].func==(void*)func){ | ^ obj.c:192:41: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 192 | if((void*)df[ndx].func==(void*)func){ | ^ obj.c:196:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 196 | if((void*)df[ndx].func<(void*)func) | ^ obj.c:196:40: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 196 | if((void*)df[ndx].func<(void*)func) | ^ output.c: In function 'libtu_asprintf': output.c:133:12: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 133 | CALL_V(vasprintf, (ret, p, args)); | ^~~~~~~~~ output.c:116:43: note: in definition of macro 'CALL_V' 116 | do { va_list args; va_start(args, p); NAME ARGS; va_end(args); } while(0) | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 rb.c: In function 'rb_inserti': rb.c:612:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 612 | 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] 520 | void rb_iprint_tree(Rb_node t, int level) | ^~~~~~~~~~~~~~ rb.c:493:6: warning: 'rb_print_tree' defined but not used [-Wunused-function] 493 | void rb_print_tree(Rb_node t, int level) | ^~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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 In file included from tokenizer.c:424: np/np-conv.h:15:13: warning: 'num_to_char' defined but not used [-Wunused-function] 15 | 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' 118 | FN_NUM_TO_SIGNED(char, UCHAR_MAX, CHAR_MAX, CHAR_MIN) | ^~~~~~~~~~~~~~~~ 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 ar: writing 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' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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:/opt/pkg/bin/lua5.2:" libextl-mkexports.in > libextl-mkexports luaextl.c: In function 'extl_uncache': luaextl.c:236:23: warning: cast between incompatible function types from 'void (*)(lua_State *, Obj *)' {aka 'void (*)(lua_State *, struct Obj_struct *)'} to 'int (*)(lua_State *, void *)' [-Wcast-function-type] 236 | 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] 1920 | 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 *)' to 'int (*)(lua_State *, void *)' [-Wcast-function-type] 2348 | 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] 95 | 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] 88 | static void lua_rawget_check(lua_State *st, int index) | ^~~~~~~~~~~~~~~~ luaextl.c:81:13: warning: 'lua_rawseti_check' defined but not used [-Wunused-function] 81 | static void lua_rawseti_check(lua_State *st, int index, int n) | ^~~~~~~~~~~~~~~~~ ar rv libextl.a readconfig.o luaextl.o misc.o ar: creating libextl.a ar: writing 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' /opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:511:5: note: in expansion of macro 'CALL_DYN_RET' 511 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:511:5: note: in expansion of macro 'CALL_DYN_RET' 511 | 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] 575 | 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] 579 | (WRegionDoAttachFn*)tiling_do_attach_initial, | ^ tiling.c: In function 'load_splitst': tiling.c:1442:67: warning: unused parameter 'tab' [-Wunused-parameter] 1442 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:1628:5: note: in expansion of macro 'CALL_DYN_RET' 1628 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:1628:5: note: in expansion of macro 'CALL_DYN_RET' 1628 | 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] 1685 | {(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] 1686 | (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] 1691 | {(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] 1692 | (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] 1697 | {(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] 1698 | (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] 1700 | {(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] 1701 | (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] 1703 | {(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] 1704 | (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] 1706 | {(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] 1707 | (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] 1709 | {(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] 1710 | (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] 1712 | {(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] 1713 | (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] 1715 | {(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] 1716 | (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] 1718 | {(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] 1719 | (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] 1727 | {(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] 1728 | (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 *, WRegionNavi, struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] 1736 | {(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 *, WRegionNavi, struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] 1737 | (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 *, WRegionNavi, struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] 1739 | {(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 *, WRegionNavi, struct WRegionNaviData_struct *)'} to 'void (*)()' [-Wcast-function-type] 1740 | (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] 1742 | {(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] 1743 | (DynFun*)tiling_xwindow}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 tiling.c:83:13: warning: 'reparent_mgd' defined but not used [-Wunused-function] 83 | static void reparent_mgd(WRegion *sub, WWindow *par) | ^~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1058:5: note: in expansion of macro 'CALL_DYN_RET' 1058 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1058:5: note: in expansion of macro 'CALL_DYN_RET' 1058 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1168:5: note: in expansion of macro 'CALL_DYN_RET' 1168 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1168:5: note: in expansion of macro 'CALL_DYN_RET' 1168 | 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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1806:5: note: in expansion of macro 'CALL_DYN_RET' 1806 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1806:5: note: in expansion of macro 'CALL_DYN_RET' 1806 | 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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1848:5: note: in expansion of macro 'CALL_DYN_RET' 1848 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1848:5: note: in expansion of macro 'CALL_DYN_RET' 1848 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1918:5: note: in expansion of macro 'CALL_DYN_RET' 1918 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1918:5: note: in expansion of macro 'CALL_DYN_RET' 1918 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:2395:5: note: in expansion of macro 'CALL_DYN_RET' 2395 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:2395:5: note: in expansion of macro 'CALL_DYN_RET' 2395 | 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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2408 | {(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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2408 | {(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] 2423 | {(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] 2423 | {(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] 2424 | {(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] 2424 | {(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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2428 | {(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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2428 | {(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] 2429 | {(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] 2429 | {(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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2430 | {(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 *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))'} to 'void (*)()' [-Wcast-function-type] 2430 | {(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] 2432 | {(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] 2432 | {(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] 2445 | {(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] 2445 | {(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] 2446 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^ 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ split-stdisp.c:65:12: note: in expansion of macro 'MAXOF' 65 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ split-stdisp.c:65:12: note: in expansion of macro 'MAXOF' 65 | return MAXOF(CF_STDISP_MIN_SZ, region_min_w(stdisp->regnode.reg)); | ^~~~~ 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] 2446 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^ 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ split-stdisp.c:80:12: note: in expansion of macro 'MAXOF' 80 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ split-stdisp.c:80:12: note: in expansion of macro 'MAXOF' 80 | return MAXOF(CF_STDISP_MIN_SZ, region_min_h(stdisp->regnode.reg)); | ^~~~~ 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] 2447 | {(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] 2447 | {(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] 2460 | {(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] 2460 | {(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] 2461 | {(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] 2461 | {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 2462 | {(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] 2462 | {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, | ^ /opt/pkg/bin/luac5.2 -o mod_tiling.lc mod_tiling.lua 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ splitfloat.c:276:14: note: in expansion of macro 'MAXOF' 276 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ splitfloat.c:276:14: note: in expansion of macro 'MAXOF' 276 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ splitfloat.c:278:14: note: in expansion of macro 'MAXOF' 278 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ splitfloat.c:278:14: note: in expansion of macro 'MAXOF' 278 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ splitfloat.c:299:14: note: in expansion of macro 'MAXOF' 299 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ splitfloat.c:299:14: note: in expansion of macro 'MAXOF' 299 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ splitfloat.c:301:14: note: in expansion of macro 'MAXOF' 301 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ splitfloat.c:301:14: note: in expansion of macro 'MAXOF' 301 | g->h=MAXOF(1, g->h+split->tlpwin->bdw.bottom); | ^~~~~ 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] 45 | (WRegionDoAttachFn*)tiling_do_attach_initial, | ^ Scanning placement.c for exports. Scanning split.c for exports. Scanning split-stdisp.c for exports. Scanning splitfloat.c for exports. Scanning panehandle.c for exports. Scanning ops.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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. Scanning listing.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 main.c for exports. Scanning wedln.c for exports. Scanning wedln-wrappers.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ input.c:54:5: note: in expansion of macro 'CALL_DYN_RET' 54 | 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] 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ input.c:54:5: note: in expansion of macro 'CALL_DYN_RET' 54 | 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] 217 | {(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] 217 | {(DynFun*)region_fitrep, (DynFun*)input_fitrep}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 1089 | {(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] 1089 | {(DynFun*)input_style, (DynFun*)wedln_style}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 254 | {(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] 254 | {(DynFun*)input_style, (DynFun*)wmsg_style}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 /opt/pkg/bin/luac5.2 -o mod_query.lc mod_query.lua /opt/pkg/bin/luac5.2 -o mod_query_chdir.lc mod_query_chdir.lua Scanning wmessage.c for exports. Scanning query.c for exports. Scanning fwarn.c for exports. Scanning history.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 menu.c: In function 'end_scroll': menu.c:1193:31: warning: unused parameter 'menu' [-Wunused-parameter] 1193 | 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] 1428 | {(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] 1428 | {(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 *, XButtonEvent *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] 1431 | {(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 *, XButtonEvent *, struct WRegion_struct **)'} to 'void (*)()' [-Wcast-function-type] 1431 | {(DynFun*)window_press, (DynFun*)menu_press}, | ^ /opt/pkg/bin/luac5.2 -o mod_menu.lc mod_menu.lua gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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" | /opt/pkg/bin/luac5.2 -o mod_dock.lc - Scanning dock.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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] 611 | 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] 1516 | 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] 1579 | (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] 1593 | (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] 1621 | {(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] 1621 | {(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] 1623 | {(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] 1623 | {(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] 1625 | {(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] 1625 | {(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] 1626 | {(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] 1626 | {(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] 1627 | {(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] 1627 | {(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] 1629 | {(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] 1630 | (DynFun*)dock_managed_get_pholder}, | ^ gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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" | /opt/pkg/bin/luac5.2 -o mod_sp.lc - Scanning main.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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" | /opt/pkg/bin/luac5.2 -o mod_sm.lc - 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] 156 | (WTimerHandler*)mod_sm_purge_matches, NULL); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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_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] 148 | SmProp discard_prop={ SmDiscardCommand, SmLISTofARRAY8, 3, NULL }; | ^~~~~~~~~~~~ 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] 116 | 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] 142 | hook_add(clientwin_do_manage_alt, (WHookDummy*)sm_do_manage); | ^ gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 draw.c for exports. Scanning statusd-launch.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ statusbar.c:339:18: note: in expansion of macro 'MAXOF' 339 | 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] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ statusbar.c:339:18: note: in expansion of macro 'MAXOF' 339 | 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] 420 | 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] 535 | (WRegionDoAttachFn*)statusbar_do_attach_final, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 statusbar.c: In function 'mod_statusbar_find_suitable': statusbar.c:1004:62: warning: unused parameter 'param' [-Wunused-parameter] 1004 | 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] 1097 | {(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] 1097 | {(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] 1100 | {(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] 1100 | {(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] 1103 | {(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] 1104 | (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] 1109 | {(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] 1110 | (DynFun*)statusbar_fitrep}, | ^ /opt/pkg/bin/luac5.2 -o mod_statusbar.lc mod_statusbar.lua gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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] 104 | (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] 136 | (WHookDummy*)clientwin_do_manage_hook); | ^ gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/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. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 font.c for exports. Scanning colour.c for exports. Scanning brush.c for exports. Scanning fontset.c for exports. Scanning style.c for exports. Scanning precompose.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 draw.c: In function 'debrush_do_draw_borderline': draw.c:176:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 176 | draw_borderline(win, gc, &geom, bd->hl, bd->sh, cg->hl, cg->sh, line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:177:5: note: here 177 | case DEBORDER_INLAID: | ^~~~ draw.c: In function 'debrush_do_do_draw_border': draw.c:224:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | draw_border(win, gc, &geom, bd->hl, bd->sh, cg->hl, cg->sh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:225:5: note: here 225 | case DEBORDER_INLAID: | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 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] 259 | {(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] 259 | {(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] 266 | {(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] 266 | {(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] 267 | {(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] 267 | {(DynFun*)grbrush_get_slave, (DynFun*)debrush_get_slave}, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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" | /opt/pkg/bin/luac5.2 -o de.lc - gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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' /opt/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_xinerama -o exports.c -h exports.h \ mod_xinerama.c /opt/pkg/bin/luac5.2 -o mod_xinerama.lc mod_xinerama.lua Scanning mod_xinerama.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/pkg/include -I.. -I/opt/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fPIC -DPIC -MMD -c mod_xinerama.c -o mod_xinerama.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/pkg/include -I.. -I/opt/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fPIC -DPIC -MMD -c exports.c -o exports.o gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/opt/pkg/lib -L/opt/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/opt/pkg/lib -L/opt/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' /opt/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_xrandr -o exports.c -h exports.h \ mod_xrandr.c /opt/pkg/bin/luac5.2 -o mod_xrandr.lc mod_xrandr.lua Scanning mod_xrandr.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/pkg/include -I.. -I/opt/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fPIC -DPIC -MMD -c mod_xrandr.c -o mod_xrandr.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/pkg/include -I.. -I/opt/pkg/include -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -D_POSIX_PTHREAD_SEMANTICS -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] 179 | 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] 190 | (WHookDummy *)handle_xrandr_event); | ^ gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,--as-needed -lintl -lrt -Wl,--as-needed -Wl,-R/lib -L/lib -lX11 -lXext -Wl,-R/opt/pkg/lib -L/opt/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/opt/pkg/lib -L/opt/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' /opt/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" | /opt/pkg/bin/luac5.2 -o mod_xkbevents.lc - Scanning mod_xkbevents.c for exports. gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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] 280 | if(!hook_add(ioncore_handle_event_alt, (void (*)())handle_xkb_event)) | ^ gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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 /opt/pkg/bin/gmake -C $i; done gmake[2]: Entering directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux/notionflux' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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 echo "ioncore.load_module('mod_notionflux') package.loaded['mod_notionflux']=true" | /opt/pkg/bin/luac5.2 -o mod_notionflux.lc - gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -I/usr/include -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/opt/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/opt/pkg/include -I../.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -MMD -c notionflux.c -o notionflux.o gcc -shared -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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 gcc notionflux.o -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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 Undefined first referenced symbol in file __xnet_connect notionflux.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) __xnet_socket notionflux.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) ld: fatal: symbol referencing errors. No output written to notionflux collect2: error: ld returned 1 exit status gmake[2]: *** [../../build/rules.mk:124: notionflux] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux/notionflux' gmake[1]: *** [../build/rules.mk:225: subdirs] Error 2 gmake[1]: Leaving directory '/home/pbulk/build/wm/notion/work/notion-3-2017050501/mod_notionflux' gmake: *** [build/rules.mk:225: subdirs] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/notion *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/notion