* Package: x11-wm/notion-4.0.2_p20220613:0 * Repository: gentoo * Maintainer: soap@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux lua_single_target_lua5-4 nls xinerama xrandr * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using lua5.4 to build >>> Unpacking source... * Unpacking notion-4.0.2_p20220613.tar.gz >>> Source unpacked in /var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work >>> Preparing source in /var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613 ... make -j4 set -e; for i in libmainloop libtu libextl mod_tiling mod_query mod_menu mod_dock mod_sp mod_sm de mod_mgmtmode mod_statusbar mod_xinerama mod_xrandr mod_xkbevents mod_notionflux ioncore notion etc utils man po contrib/scripts; do make -C $i; done make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libmainloop' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o select.o select.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o defer.o defer.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o signal.o signal.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o hooks.o hooks.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o exec.o exec.c x86_64-pc-linux-gnu-ar rcs libmainloop.a select.o defer.o signal.o hooks.o exec.o make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libmainloop' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libtu' set -e; for i in test; do make -C $i; done x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o iterable.o iterable.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o map.o map.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o misc.o misc.c make[2]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libtu/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libtu/test' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o obj.o obj.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o objlist.o objlist.c 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) | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o optparser.o optparser.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o output.o output.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o parser.o parser.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o prefix.o prefix.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o ptrlist.o ptrlist.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o rb.o rb.c 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); | ^ rb.c: 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) | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o setparam.o setparam.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o stringstore.o stringstore.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o tokenizer.o tokenizer.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o util.o util.c 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) | ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c -o errorlog.o errorlog.c x86_64-pc-linux-gnu-ar rcs 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 make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libtu' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libextl' set -e; for i in test; do make -C $i; done x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I/usr/include/lua5.4 -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o readconfig.o readconfig.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I/usr/include/lua5.4 -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o luaextl.o luaextl.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I/usr/include/lua5.4 -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o misc.o misc.c make[2]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libextl/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libextl/test' sed "1s:LUA50:/usr/bin/lua5.4:" 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_unregister_class’: luaextl.c:2372:27: warning: cast between incompatible function types from ‘void (*)(lua_State *, ClassData *)’ to ‘int (*)(lua_State *, void *)’ [-Wcast-function-type] 2372 | if(!extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_unregister_class, | ^ luaextl.c: 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) | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-ar rcs libextl.a readconfig.o luaextl.o misc.o make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/libextl' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_tiling' /usr/bin/lua5.4 ../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 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o tiling.o tiling.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o placement.o placement.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o split.o split.c Scanning main.c for exports. Scanning tiling.c for exports. Scanning placement.c for exports. Scanning split.c for exports. In file included from split.c:15: split.c: In function ‘split_do_restore’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1043:5: note: in expansion of macro ‘CALL_DYN_RET’ 1043 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1043:5: note: in expansion of macro ‘CALL_DYN_RET’ 1043 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^~~~~~~~~~~~ split.c: In function ‘split_do_verify’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1153:5: note: in expansion of macro ‘CALL_DYN_RET’ 1153 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1153:5: note: in expansion of macro ‘CALL_DYN_RET’ 1153 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^~~~~~~~~~~~ Scanning split-stdisp.c for exports. split.c: In function ‘split_current_todir’: ../libtu/objp.h:68: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] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1779:5: note: in expansion of macro ‘CALL_DYN_RET’ 1779 | CALL_DYN_RET(ret, WSplit*, split_current_todir, node, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WSplit * (*)()’ {aka ‘struct WSplit_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1779:5: note: in expansion of macro ‘CALL_DYN_RET’ 1779 | CALL_DYN_RET(ret, WSplit*, split_current_todir, node, | ^~~~~~~~~~~~ split.c: In function ‘splitinner_nextto’: Scanning splitfloat.c for exports. ../libtu/objp.h:68: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] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1821:5: note: in expansion of macro ‘CALL_DYN_RET’ 1821 | CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WSplit * (*)()’ {aka ‘struct WSplit_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1821:5: note: in expansion of macro ‘CALL_DYN_RET’ 1821 | CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, | ^~~~~~~~~~~~ split.c: In function ‘splitinner_current’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WSplit * (*)(WSplitInner *)’ {aka ‘struct WSplit_struct * (*)(struct WSplitInner_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1891:5: note: in expansion of macro ‘CALL_DYN_RET’ 1891 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WSplit * (*)()’ {aka ‘struct WSplit_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:1891:5: note: in expansion of macro ‘CALL_DYN_RET’ 1891 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^~~~~~~~~~~~ Scanning panehandle.c for exports. Scanning ops.c for exports. split.c: In function ‘split_get_config’: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o split-stdisp.o split-stdisp.c ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WSplit *, ExtlTab *)’ {aka ‘int (*)(struct WSplit_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:2366:5: note: in expansion of macro ‘CALL_DYN_RET’ 2366 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o splitfloat.o splitfloat.c ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ split.c:2366:5: note: in expansion of macro ‘CALL_DYN_RET’ 2366 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^~~~~~~~~~~~ split.c: At top level: In file included from tiling.c:13: tiling.c: In function ‘tiling_managed_add’: split.c:2379: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] 2379 | {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, | ^ ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WTiling *, WRegion *)’ {aka ‘int (*)(struct WTiling_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:510:5: note: in expansion of macro ‘CALL_DYN_RET’ 510 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:510:5: note: in expansion of macro ‘CALL_DYN_RET’ 510 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^~~~~~~~~~~~ split.c:2379: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] 2379 | {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, | ^ tiling.c: In function ‘tiling_init’: tiling.c:574: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] 574 | data.u.n.fn=(WRegionCreateFn*)ws->create_frame_fn; | ^ tiling.c:578: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] 578 | (WRegionDoAttachFn*)tiling_do_attach_initial, | ^ split.c:2394:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2394 | {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, | ^ split.c:2394:33: warning: cast between incompatible function types from ‘int (*)(WSplitSplit *, int)’ {aka ‘int (*)(struct WSplitSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2394 | {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, | ^ split.c:2395:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2395 | {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, | ^ split.c:2395:32: warning: cast between incompatible function types from ‘int (*)(WSplitSplit *, int)’ {aka ‘int (*)(struct WSplitSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2395 | {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, | ^ split.c:2399: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] 2399 | {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, | ^ split.c:2399: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] 2399 | {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, | ^ split.c:2400:6: warning: cast between incompatible function types from ‘WSplit * (*)(WSplitInner *)’ {aka ‘struct WSplit_struct * (*)(struct WSplitInner_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 2400 | {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, | ^ split.c:2400:35: warning: cast between incompatible function types from ‘WSplit * (*)(WSplitSplit *)’ {aka ‘struct WSplit_struct * (*)(struct WSplitSplit_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 2400 | {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, | ^ split.c:2401: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] 2401 | {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, | ^ split.c:2401: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] 2401 | {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, | ^ split.c:2403:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, ExtlTab *)’ {aka ‘int (*)(struct WSplit_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2403 | {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, | ^ split.c:2403:33: warning: cast between incompatible function types from ‘int (*)(WSplitSplit *, ExtlTab *)’ {aka ‘int (*)(struct WSplitSplit_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2403 | {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, | ^ split.c:2416:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2416 | {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, | ^ split.c:2416:33: warning: cast between incompatible function types from ‘int (*)(WSplitRegion *, int)’ {aka ‘int (*)(struct WSplitRegion_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2416 | {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, | ^ split.c:2417:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2417 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^ tiling.c: In function ‘tiling_load_node’: ../libtu/objp.h:68: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] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:1621:5: note: in expansion of macro ‘CALL_DYN_RET’ 1621 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^~~~~~~~~~~~ split.c:2417:32: warning: cast between incompatible function types from ‘int (*)(WSplitRegion *, int)’ {aka ‘int (*)(struct WSplitRegion_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2417 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WSplit * (*)()’ {aka ‘struct WSplit_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ tiling.c:1621:5: note: in expansion of macro ‘CALL_DYN_RET’ 1621 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^~~~~~~~~~~~ split.c:2418:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, ExtlTab *)’ {aka ‘int (*)(struct WSplit_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2418 | {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, | ^ tiling.c: At top level: split.c:2418:33: warning: cast between incompatible function types from ‘int (*)(WSplitRegion *, ExtlTab *)’ {aka ‘int (*)(struct WSplitRegion_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2418 | {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, | ^ tiling.c:1678: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] 1678 | {(DynFun*)region_fitrep, | ^ tiling.c:1679: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] 1679 | (DynFun*)tiling_fitrep}, | ^ split.c:2431:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2431 | {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, | ^ tiling.c:1684: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] 1684 | {(DynFun*)region_managed_maximize, | ^ tiling.c:1685: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] 1685 | (DynFun*)tiling_managed_maximize}, | ^ split.c:2431:33: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2431 | {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, | ^ tiling.c:1690: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] 1690 | {(DynFun*)region_managed_prepare_focus, | ^ split.c:2432:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2432 | {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, | ^ tiling.c:1691: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] 1691 | (DynFun*)tiling_managed_prepare_focus}, | ^ tiling.c:1693: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] 1693 | {(DynFun*)region_prepare_manage, | ^ split.c:2432:32: warning: cast between incompatible function types from ‘int (*)(WSplit *, int)’ {aka ‘int (*)(struct WSplit_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 2432 | {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, | ^ tiling.c:1694: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] 1694 | (DynFun*)tiling_prepare_manage}, | ^ split.c:2433:6: warning: cast between incompatible function types from ‘int (*)(WSplit *, ExtlTab *)’ {aka ‘int (*)(struct WSplit_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2433 | {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, | ^ tiling.c:1696:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRescueInfo *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1696 | {(DynFun*)region_rescue_clientwins, | ^ tiling.c:1697:6: warning: cast between incompatible function types from ‘int (*)(WTiling *, WRescueInfo *)’ {aka ‘int (*)(struct WTiling_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1697 | (DynFun*)tiling_rescue_clientwins}, | ^ split.c:2433:33: warning: cast between incompatible function types from ‘int (*)(WSplitST *, ExtlTab *)’ {aka ‘int (*)(struct WSplitST_struct *, int *)’} to ‘void (*)()’ [-Wcast-function-type] 2433 | {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, | ^ tiling.c:1699: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] 1699 | {(DynFun*)region_get_rescue_pholder_for, | ^ tiling.c:1700: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] 1700 | (DynFun*)tiling_get_rescue_pholder_for}, | ^ tiling.c:1702:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1702 | {(DynFun*)region_get_configuration, | ^ tiling.c:1703:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WTiling *)’ {aka ‘int (*)(struct WTiling_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1703 | (DynFun*)tiling_get_configuration}, | ^ tiling.c:1705: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] 1705 | {(DynFun*)region_managed_disposeroot, | ^ tiling.c:1706: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] 1706 | (DynFun*)tiling_managed_disposeroot}, | ^ tiling.c:1708:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1708 | {(DynFun*)region_current, | ^ tiling.c:1709:6: warning: cast between incompatible function types from ‘WRegion * (*)(WTiling *)’ {aka ‘struct WRegion_struct * (*)(struct WTiling_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1709 | (DynFun*)tiling_current}, | ^ tiling.c:1711:6: warning: cast between incompatible function types from ‘int (*)(WTiling *, WRegion *)’ {aka ‘int (*)(struct WTiling_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1711 | {(DynFun*)tiling_managed_add, | ^ tiling.c:1712:6: warning: cast between incompatible function types from ‘int (*)(WTiling *, WRegion *)’ {aka ‘int (*)(struct WTiling_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1712 | (DynFun*)tiling_managed_add_default}, | ^ tiling.c:1720: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] 1720 | {(DynFun*)tiling_load_node, | ^ tiling.c:1721: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] 1721 | (DynFun*)tiling_load_node_default}, | ^ tiling.c:1729: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] 1729 | {(DynFun*)region_navi_first, | ^ tiling.c:1730: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] 1730 | (DynFun*)tiling_navi_first}, | ^ tiling.c:1732: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] 1732 | {(DynFun*)region_navi_next, | ^ tiling.c:1733: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] 1733 | (DynFun*)tiling_navi_next}, | ^ tiling.c:1735:6: warning: cast between incompatible function types from ‘Window (*)(const WRegion *)’ {aka ‘long unsigned int (*)(const struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1735 | {(DynFun*)region_xwindow, | ^ tiling.c:1736:6: warning: cast between incompatible function types from ‘Window (*)(const WTiling *)’ {aka ‘long unsigned int (*)(const struct WTiling_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1736 | (DynFun*)tiling_xwindow}, | ^ tiling.c:83:13: warning: ‘reparent_mgd’ defined but not used [-Wunused-function] 83 | static void reparent_mgd(WRegion *sub, WWindow *par) | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o panehandle.o panehandle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o ops.o ops.c 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, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c /usr/bin/luac5.4 -o mod_tiling.lc mod_tiling.lua x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_tiling.so main.o tiling.o placement.o split.o split-stdisp.o splitfloat.o panehandle.o ops.o exports.o -o mod_tiling.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_tiling' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_query' /usr/bin/lua5.4 ../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 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o complete.o complete.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o edln.o edln.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o input.o input.c Scanning complete.c for exports. Scanning edln.c for exports. Scanning input.c for exports. Scanning listing.c for exports. Scanning main.c for exports. Scanning wedln.c for exports. Scanning wedln-wrappers.c for exports. Scanning wmessage.c for exports. Scanning query.c for exports. Scanning fwarn.c for exports. Scanning history.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o listing.o listing.c In file included from inputp.h:13, from input.c:16: input.c: In function ‘input_style’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘const char * (*)(WInput *)’ {aka ‘const char * (*)(struct WInput_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | 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:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘const char * (*)()’ [-Wcast-function-type] 68 | 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:216: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] 216 | {(DynFun*)region_fitrep, (DynFun*)input_fitrep}, | ^ input.c:216: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] 216 | {(DynFun*)region_fitrep, (DynFun*)input_fitrep}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o wedln.o wedln.c wedln.c:1088:6: warning: cast between incompatible function types from ‘const char * (*)(WInput *)’ {aka ‘const char * (*)(struct WInput_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1088 | {(DynFun*)input_style, (DynFun*)wedln_style}, | ^ wedln.c:1088:28: warning: cast between incompatible function types from ‘const char * (*)(WEdln *)’ {aka ‘const char * (*)(struct WEdln_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1088 | {(DynFun*)input_style, (DynFun*)wedln_style}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o wedln-wrappers.o wedln-wrappers.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o wmessage.o wmessage.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o query.o query.c 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}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o fwarn.o fwarn.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o history.o history.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c /usr/bin/luac5.4 -o mod_query.lc mod_query.lua /usr/bin/luac5.4 -o mod_query_chdir.lc mod_query_chdir.lua x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_query.so 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 -o mod_query.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_query' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_menu' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_menu -o exports.c -h exports.h \ main.c menu.c mkmenu.c grabmenu.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o menu.o menu.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o mkmenu.o mkmenu.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o grabmenu.o grabmenu.c Scanning main.c for exports. Scanning menu.c for exports. Scanning mkmenu.c for exports. Scanning grabmenu.c for exports. /usr/bin/luac5.4 -o mod_menu.lc mod_menu.lua x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c 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}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_menu.so main.o menu.o mkmenu.o grabmenu.o exports.o -o mod_menu.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_menu' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_dock' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_dock -o exports.c -h exports.h \ dock.c echo "ioncore.load_module('mod_dock') package.loaded['mod_dock']=true" | /usr/bin/luac5.4 -o mod_dock.lc - Scanning dock.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o dock.o dock.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c dock.c: In function ‘mod_dock_create’: dock.c:1205:42: warning: cast between incompatible function types from ‘WDock * (*)(WWindow *, const WFitParams *)’ {aka ‘struct WDock_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] 1205 | (WRegionCreateFn*)create_dock, | ^ dock.c: In function ‘mod_dock_init’: dock.c:1599: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] 1599 | (WHookDummy*)clientwin_do_manage_hook); | ^ dock.c: In function ‘mod_dock_deinit’: dock.c:1613: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] 1613 | (WHookDummy*)clientwin_do_manage_hook); | ^ dock.c: At top level: dock.c:1641: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] 1641 | {(DynFun*)region_prepare_manage, (DynFun*)dock_prepare_manage}, | ^ dock.c:1641: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] 1641 | {(DynFun*)region_prepare_manage, (DynFun*)dock_prepare_manage}, | ^ dock.c:1643:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1643 | {(DynFun*)region_get_configuration, (DynFun*)dock_get_configuration}, | ^ dock.c:1643:41: warning: cast between incompatible function types from ‘ExtlTab (*)(WDock *)’ {aka ‘int (*)(struct WDock_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1643 | {(DynFun*)region_get_configuration, (DynFun*)dock_get_configuration}, | ^ dock.c:1645: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] 1645 | {(DynFun*)region_fitrep, (DynFun*)dock_fitrep}, | ^ dock.c:1645: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] 1645 | {(DynFun*)region_fitrep, (DynFun*)dock_fitrep}, | ^ dock.c:1646:6: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1646 | {(DynFun*)region_orientation, (DynFun*)dock_orientation}, | ^ dock.c:1646:35: warning: cast between incompatible function types from ‘int (*)(WDock *)’ {aka ‘int (*)(struct WDock_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1646 | {(DynFun*)region_orientation, (DynFun*)dock_orientation}, | ^ dock.c:1647: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] 1647 | {(DynFun*)region_handle_drop, (DynFun*)dock_handle_drop}, | ^ dock.c:1647: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] 1647 | {(DynFun*)region_handle_drop, (DynFun*)dock_handle_drop}, | ^ dock.c:1649: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] 1649 | {(DynFun*)region_managed_get_pholder, | ^ dock.c:1650: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] 1650 | (DynFun*)dock_managed_get_pholder}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_dock.so dock.o exports.o -o mod_dock.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_dock' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_sp' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_sp -o exports.c -h exports.h \ main.c echo "ioncore.load_module('mod_sp') package.loaded['mod_sp']=true" | /usr/bin/luac5.4 -o mod_sp.lc - Scanning main.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_sp.so main.o exports.o -o mod_sp.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_sp' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_sm' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_sm -o exports.c -h exports.h \ sm.c sm_matchwin.c sm_session.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o sm_matchwin.o sm_matchwin.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o sm_session.o sm_session.c echo "ioncore.load_module('mod_sm') package.loaded['mod_sm']=true" | /usr/bin/luac5.4 -o mod_sm.lc - Scanning sm.c for exports. Scanning sm_matchwin.c for exports. Scanning sm_session.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o sm.o sm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c 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); | ^ 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); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_sm.so sm.o sm_matchwin.o sm_session.o exports.o -o mod_sm.so -lX11 -lXext -lXft -lSM -lICE -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_sm' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/de' /usr/bin/lua5.4 ../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 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o draw.o draw.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o font.o font.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o colour.o colour.c Scanning init.c for exports. Scanning draw.c for exports. 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. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o brush.o brush.c font.c: In function ‘debrush_do_draw_string_default_xft’: font.c:313:8: warning: unused variable ‘gc’ [-Wunused-variable] 313 | GC gc=brush->d->normal_gc; | ^~ brush.c:276: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] 276 | {(DynFun*)grbrush_get_text_width, (DynFun*)debrush_get_text_width}, | ^ brush.c:276: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] 276 | {(DynFun*)grbrush_get_text_width, (DynFun*)debrush_get_text_width}, | ^ brush.c:283: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] 283 | {(DynFun*)grbrush_get_extra, (DynFun*)debrush_get_extra}, | ^ brush.c:283: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] 283 | {(DynFun*)grbrush_get_extra, (DynFun*)debrush_get_extra}, | ^ brush.c:284: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] 284 | {(DynFun*)grbrush_get_slave, (DynFun*)debrush_get_slave}, | ^ brush.c:284: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] 284 | {(DynFun*)grbrush_get_slave, (DynFun*)debrush_get_slave}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o fontset.o fontset.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o style.o style.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c echo "ioncore.load_module('de') package.loaded['de']=true" | /usr/bin/luac5.4 -o de.lc - x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o init.o init.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,de.so init.o draw.o font.o colour.o brush.o fontset.o style.o exports.o -o de.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/de' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_mgmtmode' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_mgmtmode -o exports.c -h exports.h \ main.c mgmtmode.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o mgmtmode.o mgmtmode.c echo "ioncore.load_module('mod_mgmtmode') package.loaded['mod_mgmtmode']=true" | /usr/bin/luac5.4 -o mod_mgmtmode.lc - Scanning main.c for exports. Scanning mgmtmode.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c mgmtmode.c: In function ‘cancel_mgmt’: mgmtmode.c:185:34: warning: unused parameter ‘reg’ [-Wunused-parameter] 185 | static void cancel_mgmt(WRegion *reg) | ~~~~~~~~~^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_mgmtmode.so main.o mgmtmode.o exports.o -o mod_mgmtmode.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_mgmtmode' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_statusbar' set -e; for i in ion-statusd; do make -C $i; done /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_statusbar -o exports.c -h exports.h \ main.c statusbar.c draw.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o statusbar.o statusbar.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o draw.o draw.c Scanning main.c for exports. make[2]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_statusbar/ion-statusd' Scanning statusbar.c for exports. Scanning draw.c for exports. /usr/bin/luac5.4 -o mod_statusbar.lc mod_statusbar.lua x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o main.o main.c /usr/bin/lua5.4 ../../libextl/libextl-mkexports -module statusd -o exports.c -h exports.h \ ion-statusd.c exec.c extlrx.c -reexport mainloop ../../libmainloop/select.c ../../libmainloop/defer.c ../../libmainloop/signal.c ../../libmainloop/hooks.c ../../libmainloop/exec.c Scanning ion-statusd.c for exports. Scanning exec.c for exports. Scanning extlrx.c for exports. Scanning ../../libmainloop/select.c for exports. Scanning ../../libmainloop/defer.c for exports. Scanning ../../libmainloop/signal.c for exports. Scanning ../../libmainloop/hooks.c for exports. Scanning ../../libmainloop/exec.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DETCDIR=\"/etc/notion\" -DSHAREDIR=\"/usr/share/notion\" -DEXTRABINDIR=\"/usr/lib64/notion/bin\" -DMODULEDIR=\"/usr/lib64/notion/mod\" -DLCDIR=\"/usr/lib64/notion/lc\" -DLOCALEDIR=\"/usr/share/locale\" -DCF_ION_EXECUTABLE=\"notion\" -I../.. -I../.. -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o ion-statusd.o ion-statusd.c statusbar.c: In function ‘statusbar_do_attach’: statusbar.c:532: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] 532 | (WRegionDoAttachFn*)statusbar_do_attach_final, | ^ statusbar.c: At top level: statusbar.c:1092:6: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1092 | {(DynFun*)region_orientation, (DynFun*)statusbar_orientation}, | ^ statusbar.c:1092:35: warning: cast between incompatible function types from ‘int (*)(WStatusBar *)’ {aka ‘int (*)(struct WStatusBar_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1092 | {(DynFun*)region_orientation, (DynFun*)statusbar_orientation}, | ^ statusbar.c:1095: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] 1095 | {(DynFun*)region_prepare_manage, (DynFun*)statusbar_prepare_manage}, | ^ statusbar.c:1095: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] 1095 | {(DynFun*)region_prepare_manage, (DynFun*)statusbar_prepare_manage}, | ^ statusbar.c:1098: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] 1098 | {(DynFun*)region_prepare_manage_transient, | ^ statusbar.c:1099: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] 1099 | (DynFun*)statusbar_prepare_manage_transient}, | ^ statusbar.c:1104: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] 1104 | {(DynFun*)region_fitrep, | ^ statusbar.c:1105: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] 1105 | (DynFun*)statusbar_fitrep}, | ^ main.c: In function ‘mod_statusbar_deinit’: main.c:264: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] 264 | (WHookDummy*)clientwin_do_manage_hook); | ^ main.c: In function ‘mod_statusbar_init’: main.c:296: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] 296 | (WHookDummy*)clientwin_do_manage_hook); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DETCDIR=\"/etc/notion\" -DSHAREDIR=\"/usr/share/notion\" -DEXTRABINDIR=\"/usr/lib64/notion/bin\" -DMODULEDIR=\"/usr/lib64/notion/mod\" -DLCDIR=\"/usr/lib64/notion/lc\" -DLOCALEDIR=\"/usr/share/locale\" -DCF_ION_EXECUTABLE=\"notion\" -I../.. -I../.. -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o exec.o exec.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DETCDIR=\"/etc/notion\" -DSHAREDIR=\"/usr/share/notion\" -DEXTRABINDIR=\"/usr/lib64/notion/bin\" -DMODULEDIR=\"/usr/lib64/notion/mod\" -DLCDIR=\"/usr/lib64/notion/lc\" -DLOCALEDIR=\"/usr/share/locale\" -DCF_ION_EXECUTABLE=\"notion\" -I../.. -I../.. -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o extlrx.o extlrx.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DETCDIR=\"/etc/notion\" -DSHAREDIR=\"/usr/share/notion\" -DEXTRABINDIR=\"/usr/lib64/notion/bin\" -DMODULEDIR=\"/usr/lib64/notion/mod\" -DLCDIR=\"/usr/lib64/notion/lc\" -DLOCALEDIR=\"/usr/share/locale\" -DCF_ION_EXECUTABLE=\"notion\" -I../.. -I../.. -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o exports.o exports.c /usr/bin/luac5.4 -o statusd_date.lc statusd_date.lua /usr/bin/luac5.4 -o statusd_mail.lc statusd_mail.lua /usr/bin/luac5.4 -o statusd_load.lc statusd_load.lua x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DETCDIR=\"/etc/notion\" -DSHAREDIR=\"/usr/share/notion\" -DEXTRABINDIR=\"/usr/lib64/notion/bin\" -DMODULEDIR=\"/usr/lib64/notion/mod\" -DLCDIR=\"/usr/lib64/notion/lc\" -DLOCALEDIR=\"/usr/share/locale\" -DCF_ION_EXECUTABLE=\"notion\" -I../.. -I../.. -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ion-statusd.o exec.o extlrx.o exports.o -o ion-statusd -L../../libmainloop -lmainloop -L../../libextl -lextl -L../../libtu -ltu -llua5.4 -ldl -lm make[2]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_statusbar/ion-statusd' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_statusbar.so main.o statusbar.o draw.o exports.o -o mod_statusbar.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_statusbar' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xinerama' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_xinerama -o exports.c -h exports.h \ mod_xinerama.c /usr/bin/luac5.4 -o mod_xinerama.lc mod_xinerama.lua Scanning mod_xinerama.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o mod_xinerama.o mod_xinerama.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_xinerama.so mod_xinerama.o exports.o -o mod_xinerama.so -lX11 -lXext -lXft -lXinerama -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xinerama' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xrandr' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_xrandr -o exports.c -h exports.h \ mod_xrandr.c /usr/bin/luac5.4 -o mod_xrandr.lc mod_xrandr.lua Scanning mod_xrandr.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o mod_xrandr.o mod_xrandr.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c mod_xrandr.c: In function ‘mod_xrandr_init’: mod_xrandr.c:179:39: warning: cast between incompatible function types from ‘int (*)(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 *)’ to ‘void (*)()’ [-Wcast-function-type] 190 | (WHookDummy *)handle_xrandr_event); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_xrandr.so mod_xrandr.o exports.o -o mod_xrandr.so -lX11 -lXext -lXft -lXrandr -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xrandr' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xkbevents' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_xkbevents -o exports.c -h exports.h \ mod_xkbevents.c echo "ioncore.load_module('mod_xkbevents') package.loaded['mod_xkbevents']=true" | /usr/bin/luac5.4 -o mod_xkbevents.lc - Scanning mod_xkbevents.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -Wall -fPIC -DPIC -MMD -c -o mod_xkbevents.o mod_xkbevents.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -Wall -fPIC -DPIC -MMD -c -o exports.o exports.c mod_xkbevents.c: In function ‘mod_xkbevents_init’: mod_xkbevents.c:281:44: warning: cast between incompatible function types from ‘int (*)(XEvent *)’ to ‘void (*)()’ [-Wcast-function-type] 281 | if(!hook_add(ioncore_handle_event_alt, (void (*)())handle_xkb_event)) | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -Wall -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lX11 -lXext -lXft -shared -Wl,-soname -Wl,mod_xkbevents.so mod_xkbevents.o exports.o -o mod_xkbevents.so -lX11 -lXext -lXft make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_xkbevents' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_notionflux' set -e; for i in notionflux; do make -C $i; done /usr/bin/lua5.4 ../libextl/libextl-mkexports -module mod_notionflux -o exports.c -h exports.h \ mod_notionflux.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o mod_notionflux.o mod_notionflux.c Scanning mod_notionflux.c for exports. /usr/bin/luac5.4 -o mod_notionflux.lc mod_notionflux.lua make[2]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_notionflux/notionflux' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c -o exports.o exports.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I/usr/include/lua5.4 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -std=c99 -DCF_HAS_VA_COPY -MMD -c -o notionflux.o notionflux.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition notionflux.c: In function ‘request’: notionflux.c:168:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 168 | fread(type, 1, 1, sock); | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname -Wl,mod_notionflux.so mod_notionflux.o exports.o -o mod_notionflux.so -lX11 -lXext -lXft x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I/usr/include/lua5.4 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I../.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -std=c99 -DCF_HAS_VA_COPY -MMD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 notionflux.o -o notionflux -lX11 -lXext -lXft -llua5.4 -lreadline make[2]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_notionflux/notionflux' make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/mod_notionflux' make[1]: Entering directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/ioncore' /usr/bin/lua5.4 ../libextl/libextl-mkexports -module ioncore -o exports.c -h exports.h \ binding.c conf-bindings.c cursor.c event.c exec.c focus.c strings.c key.c modules.c mwmhints.c pointer.c property.c screen.c sizehint.c window.c ioncore.c xic.c selection.c clientwin.c colormap.c region.c eventh.c attach.c resize.c grab.c manage.c regbind.c rootwin.c tags.c names.c saveload.c frame.c frame-pointer.c conf.c reginfo.c extlconv.c fullscreen.c mplex.c bindmaps.c gr.c infowin.c activity.c netwm.c frame-draw.c kbresize.c rectangle.c xwindow.c presize.c extlrx.c pholder.c mplexpholder.c llist.c basicpholder.c sizepolicy.c stacking.c group.c grouppholder.c group-cw.c navi.c group-ws.c float-placement.c groupedpholder.c framedpholder.c return.c detach.c screen-notify.c frame-tabs-recalc.c profiling.c log.c tempdir.c -reexport mainloop ../libmainloop/select.c ../libmainloop/defer.c ../libmainloop/signal.c ../libmainloop/hooks.c ../libmainloop/exec.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o binding.o binding.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o conf-bindings.o conf-bindings.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o cursor.o cursor.c Scanning binding.c for exports. Scanning conf-bindings.c for exports. Scanning cursor.c for exports. Scanning event.c for exports. Scanning exec.c for exports. Scanning focus.c for exports. Scanning strings.c for exports. Scanning key.c for exports. Scanning modules.c for exports. Scanning mwmhints.c for exports. Scanning pointer.c for exports. Scanning property.c for exports. Scanning screen.c for exports. binding.c: In function ‘binding_deinit’: binding.c:167:21: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | free(binding->doc); | ~~~~~~~^~~~~ In file included from ../libtu/misc.h:13, from common.h:17, from binding.c:10: /usr/include/stdlib.h:687:25: note: expected ‘void *’ but argument is of type ‘const char *’ 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ binding.c:171:21: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | free(binding->label); | ~~~~~~~^~~~~~~ /usr/include/stdlib.h:687:25: note: expected ‘void *’ but argument is of type ‘const char *’ 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ Scanning sizehint.c for exports. Scanning window.c for exports. Scanning ioncore.c for exports. Scanning xic.c for exports. Scanning selection.c for exports. Scanning clientwin.c for exports. Scanning colormap.c for exports. Scanning region.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o event.o event.c Scanning eventh.c for exports. Scanning attach.c for exports. Scanning resize.c for exports. Scanning grab.c for exports. Scanning manage.c for exports. Scanning regbind.c for exports. Scanning rootwin.c for exports. Scanning tags.c for exports. Scanning names.c for exports. Scanning saveload.c for exports. Scanning frame.c for exports. Scanning frame-pointer.c for exports. Scanning conf.c for exports. Scanning reginfo.c for exports. Scanning extlconv.c for exports. Scanning fullscreen.c for exports. Scanning mplex.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o exec.o exec.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o focus.o focus.c exec.c: In function ‘ioncore_setup_display’: exec.c:53:43: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 53 | snprintf(tmp+strlen(tmp), 11, ".%u", (unsigned)xscr); | ^ In file included from /usr/include/stdio.h:964, from exec.c:12: In function ‘snprintf’, inlined from ‘ioncore_setup_display’ at exec.c:53:9: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 3 and 12 bytes into a destination of size 11 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Scanning bindmaps.c for exports. Scanning gr.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o strings.o strings.c Scanning infowin.c for exports. Scanning activity.c for exports. Scanning netwm.c for exports. Scanning frame-draw.c for exports. Scanning kbresize.c for exports. Scanning rectangle.c for exports. Scanning xwindow.c for exports. Scanning presize.c for exports. Scanning extlrx.c for exports. Scanning pholder.c for exports. Scanning mplexpholder.c for exports. Scanning llist.c for exports. Scanning basicpholder.c for exports. Scanning sizepolicy.c for exports. Scanning stacking.c for exports. Scanning group.c for exports. Scanning grouppholder.c for exports. Scanning group-cw.c for exports. Scanning navi.c for exports. Scanning group-ws.c for exports. Scanning float-placement.c for exports. Scanning groupedpholder.c for exports. Scanning framedpholder.c for exports. Scanning return.c for exports. Scanning detach.c for exports. Scanning screen-notify.c for exports. Scanning frame-tabs-recalc.c for exports. Scanning profiling.c for exports. Scanning log.c for exports. Scanning tempdir.c for exports. Scanning ../libmainloop/select.c for exports. Scanning ../libmainloop/defer.c for exports. Scanning ../libmainloop/signal.c for exports. Scanning ../libmainloop/hooks.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o key.o key.c Scanning ../libmainloop/exec.c for exports. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o modules.o modules.c modules.c: In function ‘get_module_fptr’: modules.c:104:12: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 104 | return (void (*)(void**)) get_module_symbol(handle, modulename, name); | ^ modules.c: In function ‘call_init’: modules.c:141:12: warning: cast between incompatible function types from ‘void (*)(void **)’ to ‘int (*)()’ [-Wcast-function-type] 141 | initfn=(bool (*)())get_module_fptr(handle, modulename, "_init"); | ^ modules.c: In function ‘try_load’: modules.c:225:5: warning: enumeration value ‘VERSION_MATCH_EXACT’ not handled in switch [-Wswitch] 225 | switch(check_version(handle, name)){ | ^~~~~~ key.c:122:13: warning: ‘free_subs’ defined but not used [-Wunused-function] 122 | static void free_subs(WSubmapState *p) | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o mwmhints.o mwmhints.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o pointer.o pointer.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o property.o property.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o screen.o screen.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o sizehint.o sizehint.c In file included from screen.c:11: screen.c: In function ‘screen_handle_drop’: ../libtu/objp.h:74:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, int, int, WRegion *)’ {aka ‘int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 74 | #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) | ^ screen.c:155:16: note: in expansion of macro ‘HAS_DYN’ 155 | if(curr && HAS_DYN(curr, region_handle_drop)){ | ^~~~~~~ screen.c: In function ‘create_initial_ws’: screen.c:423:33: warning: cast between incompatible function types from ‘WGroupWS * (*)(WWindow *, const WFitParams *)’ {aka ‘struct WGroupWS_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘WRegion * (*)(WWindow *, const WFitParams *, void *)’ {aka ‘struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, void *)’} [-Wcast-function-type] 423 | (WRegionCreateFn*)create_groupws, NULL); | ^ screen.c: At top level: screen.c:467:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 467 | {(DynFun*)region_managed_disposeroot, | ^ screen.c:468:6: warning: cast between incompatible function types from ‘WRegion * (*)(WScreen *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WScreen_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 468 | (DynFun*)screen_managed_disposeroot}, | ^ screen.c:470:6: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 470 | {(DynFun*)region_may_dispose, | ^ screen.c:471:6: warning: cast between incompatible function types from ‘int (*)(WScreen *)’ {aka ‘int (*)(struct WScreen_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 471 | (DynFun*)screen_may_dispose}, | ^ screen.c:482:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 482 | {(DynFun*)region_get_configuration, | ^ screen.c:483:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WScreen *)’ {aka ‘int (*)(struct WScreen_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 483 | (DynFun*)screen_get_configuration}, | ^ screen.c:485:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, int, int, WRegion *)’ {aka ‘int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 485 | {(DynFun*)region_handle_drop, | ^ screen.c:486:6: warning: cast between incompatible function types from ‘int (*)(WScreen *, int, int, WRegion *)’ {aka ‘int (*)(struct WScreen_struct *, int, int, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 486 | (DynFun*)screen_handle_drop}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o window.o window.c In file included from window.c:9: window.c: In function ‘window_press’: ../libtu/objp.h:68:50: 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] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ window.c:41:5: note: in expansion of macro ‘CALL_DYN_RET’ 41 | CALL_DYN_RET(area, int, window_press, wwin, (wwin, ev, reg_ret)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ window.c:41:5: note: in expansion of macro ‘CALL_DYN_RET’ 41 | CALL_DYN_RET(area, int, window_press, wwin, (wwin, ev, reg_ret)); | ^~~~~~~~~~~~ window.c: At top level: window.c:236:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 236 | {(DynFun*)region_fitrep, (DynFun*)window_fitrep}, | ^ window.c:236:30: warning: cast between incompatible function types from ‘int (*)(WWindow *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WWindow_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 236 | {(DynFun*)region_fitrep, (DynFun*)window_fitrep}, | ^ window.c:237:6: warning: cast between incompatible function types from ‘Window (*)(const WRegion *)’ {aka ‘long unsigned int (*)(const struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 237 | {(DynFun*)region_xwindow, (DynFun*)window_xwindow}, | ^ window.c:237:31: warning: cast between incompatible function types from ‘Window (*)(const WWindow *)’ {aka ‘long unsigned int (*)(const struct WWindow_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 237 | {(DynFun*)region_xwindow, (DynFun*)window_xwindow}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o ioncore.o ioncore.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o xic.o xic.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o selection.o selection.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o clientwin.o clientwin.c ioncore.c: In function ‘init_hooks’: ioncore.c:269:22: warning: cast between incompatible function types from ‘int (*)(WClientWin *, const WManageParams *)’ {aka ‘int (*)(struct WClientWin_struct *, const struct WManageParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 269 | if(!hook_add(NM, (void (*)())FN)) return FALSE | ^ ioncore.c:271:45: note: in expansion of macro ‘ADD_HOOK_’ 271 | #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) | ^~~~~~~~~ ioncore.c:289:5: note: in expansion of macro ‘INIT_HOOK’ 289 | INIT_HOOK(clientwin_do_manage_alt, clientwin_do_manage_default); | ^~~~~~~~~ ioncore.c:269:22: warning: cast between incompatible function types from ‘int (*)(XEvent *)’ to ‘void (*)()’ [-Wcast-function-type] 269 | if(!hook_add(NM, (void (*)())FN)) return FALSE | ^ ioncore.c:271:45: note: in expansion of macro ‘ADD_HOOK_’ 271 | #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) | ^~~~~~~~~ ioncore.c:290:5: note: in expansion of macro ‘INIT_HOOK’ 290 | INIT_HOOK(ioncore_handle_event_alt, ioncore_handle_event); | ^~~~~~~~~ ioncore.c:269:22: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 269 | if(!hook_add(NM, (void (*)())FN)) return FALSE | ^ ioncore.c:271:45: note: in expansion of macro ‘ADD_HOOK_’ 271 | #define INIT_HOOK(NM, DFLT) INIT_HOOK_(NM); ADD_HOOK_(NM, DFLT) | ^~~~~~~~~ ioncore.c:291:5: note: in expansion of macro ‘INIT_HOOK’ 291 | INIT_HOOK(region_do_warp_alt, region_do_warp_default); | ^~~~~~~~~ ioncore.c: In function ‘register_classes’: ioncore.c:310:38: warning: cast between incompatible function types from ‘WRegion * (*)(WWindow *, const WFitParams *, ExtlTab, const char *)’ {aka ‘struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, int, const char *)’} to ‘WRegion * (*)(WWindow *, const WFitParams *, ExtlTab)’ {aka ‘struct WRegion_struct * (*)(struct WWindow_struct *, const struct WFitParams_struct *, int)’} [-Wcast-function-type] 310 | (WRegionLoadCreateFn*)mplex_load); | ^ clientwin.c: In function ‘set_clientwin_state’: clientwin.c:838:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 838 | if(cwin->state!=state){ | ^~ clientwin.c: At top level: clientwin.c:1446: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] 1446 | {(DynFun*)region_fitrep, | ^ clientwin.c:1447:6: warning: cast between incompatible function types from ‘int (*)(WClientWin *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WClientWin_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1447 | (DynFun*)clientwin_fitrep}, | ^ clientwin.c:1467:6: warning: cast between incompatible function types from ‘Window (*)(const WRegion *)’ {aka ‘long unsigned int (*)(const struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1467 | {(DynFun*)region_xwindow, | ^ clientwin.c:1468:6: warning: cast between incompatible function types from ‘Window (*)(WClientWin *)’ {aka ‘long unsigned int (*)(struct WClientWin_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1468 | (DynFun*)clientwin_x_window}, | ^ clientwin.c:1479:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1479 | {(DynFun*)region_get_configuration, | ^ clientwin.c:1480:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WClientWin *)’ {aka ‘int (*)(struct WClientWin_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1480 | (DynFun*)clientwin_get_configuration}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o colormap.o colormap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o region.o region.c In file included from region.c:13: region.c: In function ‘region_fitrep’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:142:5: note: in expansion of macro ‘CALL_DYN_RET’ 142 | CALL_DYN_RET(ret, bool, region_fitrep, reg, (reg, par, fp)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:142:5: note: in expansion of macro ‘CALL_DYN_RET’ 142 | CALL_DYN_RET(ret, bool, region_fitrep, reg, (reg, par, fp)); | ^~~~~~~~~~~~ region.c: In function ‘region_xwindow’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘Window (*)(const WRegion *)’ {aka ‘long unsigned int (*)(const struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:176:5: note: in expansion of macro ‘CALL_DYN_RET’ 176 | CALL_DYN_RET(ret, Window, region_xwindow, reg, (reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘Window (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:176:5: note: in expansion of macro ‘CALL_DYN_RET’ 176 | CALL_DYN_RET(ret, Window, region_xwindow, reg, (reg)); | ^~~~~~~~~~~~ region.c: In function ‘region_managed_prepare_focus’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:220:5: note: in expansion of macro ‘CALL_DYN_RET’ 220 | CALL_DYN_RET(ret, bool, region_managed_prepare_focus, mgr, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:220:5: note: in expansion of macro ‘CALL_DYN_RET’ 220 | CALL_DYN_RET(ret, bool, region_managed_prepare_focus, mgr, | ^~~~~~~~~~~~ region.c: In function ‘region_current’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:247:5: note: in expansion of macro ‘CALL_DYN_RET’ 247 | CALL_DYN_RET(ret, WRegion*, region_current, mgr, (mgr)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WRegion * (*)()’ {aka ‘struct WRegion_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:247:5: note: in expansion of macro ‘CALL_DYN_RET’ 247 | CALL_DYN_RET(ret, WRegion*, region_current, mgr, (mgr)); | ^~~~~~~~~~~~ region.c: In function ‘region_rqclose_propagate’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:455:5: note: in expansion of macro ‘CALL_DYN_RET’ 455 | CALL_DYN_RET(ret, WRegion*, region_rqclose_propagate, reg, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WRegion * (*)()’ {aka ‘struct WRegion_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:455:5: note: in expansion of macro ‘CALL_DYN_RET’ 455 | CALL_DYN_RET(ret, WRegion*, region_rqclose_propagate, reg, | ^~~~~~~~~~~~ region.c: In function ‘region_may_dispose’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:478:5: note: in expansion of macro ‘CALL_DYN_RET’ 478 | CALL_DYN_RET(ret, bool, region_may_dispose, reg, (reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:478:5: note: in expansion of macro ‘CALL_DYN_RET’ 478 | CALL_DYN_RET(ret, bool, region_may_dispose, reg, (reg)); | ^~~~~~~~~~~~ region.c: In function ‘region_managed_disposeroot’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:492:5: note: in expansion of macro ‘CALL_DYN_RET’ 492 | CALL_DYN_RET(ret, WRegion*, region_managed_disposeroot, mgr, (mgr, reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WRegion * (*)()’ {aka ‘struct WRegion_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:492:5: note: in expansion of macro ‘CALL_DYN_RET’ 492 | CALL_DYN_RET(ret, WRegion*, region_managed_disposeroot, mgr, (mgr, reg)); | ^~~~~~~~~~~~ region.c: In function ‘region_defer_rqdispose’: region.c:558:38: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)(Obj *)’ {aka ‘void (*)(struct Obj_struct *)’} [-Wcast-function-type] 558 | mainloop_defer_action((Obj*)reg, (WDeferredAction*)region_rqdispose); | ^ region.c: In function ‘region_managed_rqorder’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRegion *, WRegionOrder)’ {aka ‘int (*)(struct WRegion_struct *, struct WRegion_struct *, WRegionOrder)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:758:5: note: in expansion of macro ‘CALL_DYN_RET’ 758 | CALL_DYN_RET(ret, bool, region_managed_rqorder, reg, (reg, sub, order)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:758:5: note: in expansion of macro ‘CALL_DYN_RET’ 758 | CALL_DYN_RET(ret, bool, region_managed_rqorder, reg, (reg, sub, order)); | ^~~~~~~~~~~~ region.c: In function ‘region_handle_drop’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, int, int, WRegion *)’ {aka ‘int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:944:5: note: in expansion of macro ‘CALL_DYN_RET’ 944 | CALL_DYN_RET(ret, bool, region_handle_drop, reg, (reg, x, y, dropped)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ region.c:944:5: note: in expansion of macro ‘CALL_DYN_RET’ 944 | CALL_DYN_RET(ret, bool, region_handle_drop, reg, (reg, x, y, dropped)); | ^~~~~~~~~~~~ region.c: At top level: region.c:1031:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1031 | {(DynFun*)region_current, | ^ region.c:1032:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1032 | (DynFun*)region_current_default}, | ^ region.c:1034:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRescueInfo *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1034 | {(DynFun*)region_rescue_clientwins, | ^ region.c:1035:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRescueInfo *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1035 | (DynFun*)region_rescue_child_clientwins}, | ^ region.c:1037:6: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1037 | {(DynFun*)region_may_dispose, | ^ region.c:1038:6: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1038 | (DynFun*)region_may_dispose_default}, | ^ region.c:1040: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] 1040 | {(DynFun*)region_prepare_manage, | ^ region.c:1041:6: warning: cast between incompatible function types from ‘WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)’ {aka ‘struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 1041 | (DynFun*)region_prepare_manage_default}, | ^ region.c:1043: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] 1043 | {(DynFun*)region_prepare_manage_transient, | ^ region.c:1044:6: warning: cast between incompatible function types from ‘WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)’ {aka ‘struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 1044 | (DynFun*)region_prepare_manage_transient_default}, | ^ region.c:1046: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] 1046 | {(DynFun*)region_managed_prepare_focus, | ^ region.c:1047:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1047 | (DynFun*)region_managed_prepare_focus_default}, | ^ region.c:1049: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] 1049 | {(DynFun*)region_managed_disposeroot, | ^ region.c:1050:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1050 | (DynFun*)region_managed_disposeroot_default}, | ^ region.c:1052: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] 1052 | {(DynFun*)region_rqclose_propagate, | ^ region.c:1053:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRegion *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRegion_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1053 | (DynFun*)region_rqclose_propagate_default}, | ^ region.c:1058:6: warning: cast between incompatible function types from ‘const char * (*)(WRegion *)’ {aka ‘const char * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1058 | {(DynFun*)region_displayname, | ^ region.c:1059:6: warning: cast between incompatible function types from ‘const char * (*)(WRegion *)’ {aka ‘const char * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1059 | (DynFun*)region_name}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o eventh.o eventh.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o attach.o attach.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o resize.o resize.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o grab.o grab.c In file included from resize.c:12: resize.c: In function ‘region_managed_maximize’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRegion *, int, int)’ {aka ‘int (*)(struct WRegion_struct *, struct WRegion_struct *, int, int)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ resize.c:632:5: note: in expansion of macro ‘CALL_DYN_RET’ 632 | CALL_DYN_RET(ret, bool, region_managed_maximize, mgr, (mgr, reg, dir, action)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ resize.c:632:5: note: in expansion of macro ‘CALL_DYN_RET’ 632 | CALL_DYN_RET(ret, bool, region_managed_maximize, mgr, (mgr, reg, dir, action)); | ^~~~~~~~~~~~ resize.c: In function ‘region_orientation’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ resize.c:675:5: note: in expansion of macro ‘CALL_DYN_RET’ 675 | CALL_DYN_RET(ret, int, region_orientation, reg, (reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ resize.c:675:5: note: in expansion of macro ‘CALL_DYN_RET’ 675 | CALL_DYN_RET(ret, int, region_orientation, reg, (reg)); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o manage.o manage.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o regbind.o regbind.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o rootwin.o rootwin.c In file included from manage.c:9: manage.c: In function ‘region_prepare_manage’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)’ {aka ‘struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:243:5: note: in expansion of macro ‘CALL_DYN_RET’ 243 | CALL_DYN_RET(ret, WPHolder*, region_prepare_manage, reg, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WPHolder * (*)()’ {aka ‘struct WPHolder_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:243:5: note: in expansion of macro ‘CALL_DYN_RET’ 243 | CALL_DYN_RET(ret, WPHolder*, region_prepare_manage, reg, | ^~~~~~~~~~~~ manage.c: In function ‘region_prepare_manage_transient’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘WPHolder * (*)(WRegion *, const WClientWin *, const WManageParams *, int)’ {aka ‘struct WPHolder_struct * (*)(struct WRegion_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:268:5: note: in expansion of macro ‘CALL_DYN_RET’ 268 | CALL_DYN_RET(ret, WPHolder*, region_prepare_manage_transient, reg, | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘WPHolder * (*)()’ {aka ‘struct WPHolder_struct * (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:268:5: note: in expansion of macro ‘CALL_DYN_RET’ 268 | CALL_DYN_RET(ret, WPHolder*, region_prepare_manage_transient, reg, | ^~~~~~~~~~~~ manage.c: In function ‘region_rescue_clientwins’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRescueInfo *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:387:5: note: in expansion of macro ‘CALL_DYN_RET’ 387 | CALL_DYN_RET(ret, bool, region_rescue_clientwins, reg, (reg, info)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ manage.c:387:5: note: in expansion of macro ‘CALL_DYN_RET’ 387 | CALL_DYN_RET(ret, bool, region_rescue_clientwins, reg, (reg, info)); | ^~~~~~~~~~~~ In file included from common.h:18, from rootwin.c:22: rootwin.c: In function ‘rootwin_init’: rootwin.c:316:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 316 | LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:19:9: note: in definition of macro ‘LINK_ITEM’ 19 | if((LIST)==NULL){ \ | ^~~~ rootwin.c:316:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 316 | LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:20:10: note: in definition of macro ‘LINK_ITEM’ 20 | (LIST)=(ITEM); \ | ^~~~ rootwin.c:316:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 316 | LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:23:23: note: in definition of macro ‘LINK_ITEM’ 23 | (ITEM)->PREV=(LIST)->PREV; \ | ^~~~ rootwin.c:316:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 316 | LINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rootwin, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:25:10: note: in definition of macro ‘LINK_ITEM’ 25 | (LIST)->PREV=(ITEM); \ | ^~~~ rootwin.c: In function ‘rootwin_deinit’: rootwin.c:341:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:68:21: note: in definition of macro ‘UNLINK_ITEM’ 68 | if((ITEM)==(LIST)){ \ | ^~~~ rootwin.c:341:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:69:14: note: in definition of macro ‘UNLINK_ITEM’ 69 | (LIST)=(ITEM)->NEXT; \ | ^~~~ rootwin.c:341:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:70:17: note: in definition of macro ‘UNLINK_ITEM’ 70 | if((LIST)!=NULL) \ | ^~~~ rootwin.c:341:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:71:18: note: in definition of macro ‘UNLINK_ITEM’ 71 | (LIST)->PREV=(ITEM)->PREV; \ | ^~~~ rootwin.c:341:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | UNLINK_ITEM(*(WRegion**)&ioncore_g.rootwins, (WRegion*)rw, p_next, p_prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/dlist.h:74:14: note: in definition of macro ‘UNLINK_ITEM’ 74 | (LIST)->PREV=(ITEM)->PREV; \ | ^~~~ rootwin.c: At top level: rootwin.c:496:6: warning: cast between incompatible function types from ‘Window (*)(const WRegion *)’ {aka ‘long unsigned int (*)(const struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 496 | {(DynFun*)region_xwindow, (DynFun*)rootwin_x_window}, | ^ rootwin.c:496:31: warning: cast between incompatible function types from ‘Window (*)(WRootWin *)’ {aka ‘long unsigned int (*)(struct WRootWin_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 496 | {(DynFun*)region_xwindow, (DynFun*)rootwin_x_window}, | ^ rootwin.c:497: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] 497 | {(DynFun*)region_fitrep, (DynFun*)rootwin_fitrep}, | ^ rootwin.c:497:30: warning: cast between incompatible function types from ‘int (*)(WRootWin *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WRootWin_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 497 | {(DynFun*)region_fitrep, (DynFun*)rootwin_fitrep}, | ^ rootwin.c:499: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] 499 | {(DynFun*)region_managed_disposeroot, | ^ rootwin.c:500:6: warning: cast between incompatible function types from ‘WRegion * (*)(WRootWin *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WRootWin_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 500 | (DynFun*)rootwin_managed_disposeroot}, | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o tags.o tags.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o names.o names.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o saveload.o saveload.c In file included from saveload.c:13: saveload.c: In function ‘region_supports_save’: ../libtu/objp.h:74:50: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 74 | #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) | ^ saveload.c:136:12: note: in expansion of macro ‘HAS_DYN’ 136 | return HAS_DYN(reg, region_get_configuration); | ^~~~~~~ saveload.c: In function ‘region_get_configuration’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ saveload.c:165:9: note: in expansion of macro ‘CALL_DYN_RET’ 165 | CALL_DYN_RET(tab, ExtlTab, region_get_configuration, reg, (reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘ExtlTab (*)()’ {aka ‘int (*)()’} [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ saveload.c:165:9: note: in expansion of macro ‘CALL_DYN_RET’ 165 | CALL_DYN_RET(tab, ExtlTab, region_get_configuration, reg, (reg)); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o frame.o frame.c In file included from names.c:15: names.c: In function ‘region_displayname’: ../libtu/objp.h:68:50: warning: cast between incompatible function types from ‘const char * (*)(WRegion *)’ {aka ‘const char * (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ names.c:597:5: note: in expansion of macro ‘CALL_DYN_RET’ 597 | CALL_DYN_RET(ret, const char *, region_displayname, reg, (reg)); | ^~~~~~~~~~~~ ../libtu/objp.h:68:12: warning: cast between incompatible function types from ‘void (*)()’ to ‘const char * (*)()’ [-Wcast-function-type] 68 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^ names.c:597:5: note: in expansion of macro ‘CALL_DYN_RET’ 597 | CALL_DYN_RET(ret, const char *, region_displayname, reg, (reg)); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I/usr/include/freetype2 -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.2_p20220613"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c -o frame-pointer.o frame-pointer.c In file included from frame.c:13: frame.c: In function ‘frame_quasiactivation’: ../libtu/minmax.h:20:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^ frame.c:496:30: note: in expansion of macro ‘MAXOF’ 496 | frame->quasiactive_count=MAXOF(0, frame->quasiactive_count | ^~~~~ ../libtu/minmax.h:20:24: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 20 | ((a_) > (b_) ? (a_) : (b_)); }) | ^~~~ frame.c:496:30: note: in expansion of macro ‘MAXOF’ 496 | frame->quasiactive_count=MAXOF(0, frame->quasiactive_count | ^~~~~ frame.c:490:59: warning: unused parameter ‘reg’ [-Wunused-parameter] 490 | static void frame_quasiactivation(WFrame *frame, WRegion *reg, bool act) | ~~~~~~~~~^~~ In file included from frame-pointer.c:11: frame-pointer.c: In function ‘fnd’: ../libtu/objp.h:74:50: warning: cast between incompatible function types from ‘int (*)(WRegion *, int, int, WRegion *)’ {aka ‘int (*)(struct WRegion_struct *, int, int, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 74 | #define HAS_DYN(OBJ, FUNC) has_dynfun((Obj*)OBJ, (DynFun*)FUNC) | ^ frame-pointer.c:238:12: note: in expansion of macro ‘HAS_DYN’ 238 | if(HAS_DYN(w, region_handle_drop)) | ^~~~~~~ frame.c: In function ‘numbers_grab_handler’: frame.c:781:55: warning: unused parameter ‘xev’ [-Wunused-parameter] 781 | static int numbers_grab_handler(WRegion *reg, XEvent *xev) | ~~~~~~~~^~~ frame.c: In function ‘frame_set_numbers_extl’: frame.c:799:32: error: passing argument 1 of ‘ioncore_grab_establish’ from incompatible pointer type [-Wincompatible-pointer-types] 799 | ioncore_grab_establish(frame, numbers_grab_handler, NULL, | ^~~~~ | | | WFrame * {aka struct WFrame_struct *} In file included from pointer.h:14, from frame-pointer.h:13, from frame.c:29: grab.h:46:45: note: expected ‘WRegion *’ {aka ‘struct WRegion_struct *’} but argument is of type ‘WFrame *’ {aka ‘struct WFrame_struct *’} 46 | extern void ioncore_grab_establish(WRegion *reg, GrabHandler *func, | ~~~~~~~~~^~~ frame.c: In function ‘frame_managed_notify’: frame.c:864:10: warning: variable ‘complete’ set but not used [-Wunused-but-set-variable] 864 | bool complete; | ^~~~~~~~ frame.c: At top level: frame.c:1051: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] 1051 | {(DynFun*)window_press, (DynFun*)frame_press}, | ^ frame.c:1051:29: warning: cast between incompatible function types from ‘int (*)(WFrame *, XButtonEvent *, WRegion **)’ {aka ‘int (*)(struct WFrame_struct *, XButtonEvent *, struct WRegion_struct **)’} to ‘void (*)()’ [-Wcast-function-type] 1051 | {(DynFun*)window_press, (DynFun*)frame_press}, | ^ frame.c:1053:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WRegion *)’ {aka ‘int (*)(struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1053 | {(DynFun*)region_get_configuration, | ^ frame.c:1054:6: warning: cast between incompatible function types from ‘ExtlTab (*)(WFrame *)’ {aka ‘int (*)(struct WFrame_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1054 | (DynFun*)frame_get_configuration}, | ^ frame.c:1065: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] 1065 | {(DynFun*)region_fitrep, | ^ frame.c:1066:6: warning: cast between incompatible function types from ‘int (*)(WFrame *, WWindow *, const WFitParams *)’ {aka ‘int (*)(struct WFrame_struct *, struct WWindow_struct *, const struct WFitParams_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1066 | (DynFun*)frame_fitrep}, | ^ frame.c:1068: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] 1068 | {(DynFun*)region_managed_disposeroot, | ^ frame.c:1069:6: warning: cast between incompatible function types from ‘WRegion * (*)(WFrame *, WRegion *)’ {aka ‘struct WRegion_struct * (*)(struct WFrame_struct *, struct WRegion_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1069 | (DynFun*)frame_managed_disposeroot}, | ^ frame.c:1074:6: warning: cast between incompatible function types from ‘int (*)(WMPlex *)’ {aka ‘int (*)(struct WMPlex_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1074 | {(DynFun*)mplex_default_index, | ^ frame.c:1075:6: warning: cast between incompatible function types from ‘int (*)(WFrame *)’ {aka ‘int (*)(struct WFrame_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1075 | (DynFun*)frame_default_index}, | ^ frame.c:1077: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] 1077 | {(DynFun*)region_prepare_manage_transient, | ^ frame.c:1078:6: warning: cast between incompatible function types from ‘WPHolder * (*)(WFrame *, const WClientWin *, const WManageParams *, int)’ {aka ‘struct WPHolder_struct * (*)(struct WFrame_struct *, const struct WClientWin_struct *, const struct WManageParams_struct *, int)’} to ‘void (*)()’ [-Wcast-function-type] 1078 | (DynFun*)frame_prepare_manage_transient}, | ^ frame.c:1080:6: warning: cast between incompatible function types from ‘int (*)(WRegion *, WRescueInfo *)’ {aka ‘int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1080 | {(DynFun*)region_rescue_clientwins, | ^ frame.c:1081:6: warning: cast between incompatible function types from ‘int (*)(WFrame *, WRescueInfo *)’ {aka ‘int (*)(struct WFrame_struct *, struct WRescueInfo_struct *)’} to ‘void (*)()’ [-Wcast-function-type] 1081 | (DynFun*)frame_rescue_clientwins}, | ^ make[1]: *** [: frame.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613/ioncore' make: *** [build/rules.mk:175: subdirs] Error 2 * ERROR: x11-wm/notion-4.0.2_p20220613::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-wm/notion-4.0.2_p20220613::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-wm/notion-4.0.2_p20220613::gentoo'`. * The complete build log is located at '/var/log/portage/x11-wm:notion-4.0.2_p20220613:20231205-010157.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/temp/environment'. * Working directory: '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613' * S: '/var/tmp/portage/x11-wm/notion-4.0.2_p20220613/work/notion-4.0.2_p20220613'