=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/notion", "all", "LUA_VERSION_REQD=52", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for notion-3.2017050501nb1 set -e; for i in libmainloop libtu libextl mod_tiling mod_query mod_menu mod_dock mod_sp mod_sm mod_statusbar de mod_xinerama mod_xrandr mod_xkbevents mod_notionflux ioncore notion etc utils man po contrib/scripts; do /opt/pkg/bin/gmake -C $i; done gmake[1]: Entering directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libmainloop' clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c select.c -o select.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c defer.c -o defer.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c signal.c -o signal.o In file included from defer.c:15: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from defer.c:19: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from defer.c:22: In file included from ./defer.h:14: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from defer.c:22: ./defer.h:20:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void mainloop_execute_deferred(); | ^ | void defer.c:47:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | static WDeferred *alloc_defer() | ^ | void defer.c:209:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | void mainloop_execute_deferred() | ^ | void 15 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c hooks.c -o hooks.o In file included from signal.c:19: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from select.c:18: ./select.h:31:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 31 | extern void mainloop_select(); | ^ | void In file included from select.c:19: In file included from ./signal.h:20: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from select.c:19: In file included from ./signal.h:22: ./hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ./hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from select.c:19: ./signal.h:41:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | extern WTimer *create_timer(); | ^ | void ./signal.h:42:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | extern WTimer *create_timer_extl_owned(); | ^ | void In file included from signal.c:23: ../libtu/output.h:43:20: ./signal.h:51:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | 43 | extern void diee_xetrerr(); | ^ | void n bool mainloop_check_signals(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | exter./signal.h:54:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | ne xvtoid warn_eerrnr (b)o;o l | m ^a i n| l voido op_unhandled_signals(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from signal.c:25: In file included from ./signal.h:20: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from signal.c:25: In file included from ./signal.h:22: ./hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void select.c:99:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 99 | void mainloop_select./hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] ( 39 | ext) | ^ | void ern WHook *create_hook(); | ^ | void In file included from signal.c:25: ./signal.h:41:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | extern WTimer *create_timer(); | ^ | void ./signal.h:42:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | extern WTimer *create_timer_extl_owned(); | ^ | void ./signal.h:51:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | extern bool mainloop_check_signals(); | ^ | void ./signal.h:54:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | extern bool mainloop_unhandled_signals(); | ^ | void signal.c:70:6: warning: #warning is a C23 extension [-Wpedantic] 70 | #warning "Monotonic clock unavailable; please fix your operating system." | ^ signal.c:70:6: warning: "Monotonic clock unavailable; please fix your operating system." [-W#warnings] signal.c:117:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 117 | static void do_timer_set() | ^ | void signal.c:195:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 195 | bool mainloop_check_signals() | ^ | void signal.c:270:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 270 | bool mainloop_unhandled_signals() | ^ | void signal.c:397:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 397 | WTimer *create_timer() | ^ | void signal.c:406:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 406 | WTimer *create_timer_extl_owned() | ^ | void signal.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 416 | IMPLCLASS(WTimer, Obj, timer_deinit, NULL); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ 15 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c exec.c -o exec.o 26 warnings generated. In file included from hooks.c:12: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from hooks.c:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from hooks.c:14: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from hooks.c:16: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from hooks.c:17: ./hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ./hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void hooks.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | IMPLCLASS(WHook, Obj, hook_deinit, NULL); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ hooks.c:143:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 143 | WHook *create_hook() | ^ | void hooks.c:288:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | fn((Obj*)param); | ^ hooks.c:301:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | fn(param); | ^ hooks.c:306:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 306 | static bool marshall_alt_v(bool (*fn)(), void *UNUSED(param)) | ^ | void hooks.c:320:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | static bool marshall_alt_o(bool (*fn)(), void *param) | ^ | void hooks.c:322:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | return fn((Obj*)param); | ^ hooks.c:334:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 334 | static bool marshall_alt_p(bool (*fn)(), void *param) | ^ | void hooks.c:336:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | return fn(param); | ^ 24 warnings generated. In file included from exec.c:22: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from exec.c:27: ./select.h:31:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 31 | extern void mainloop_select(); | ^ | void In file included from exec.c:28: In file included from ./exec.h:15: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void 11 warnings generated. ar -rv libmainloop.a select.o defer.o signal.o hooks.o exec.o ar: creating archive libmainloop.a a - select.o a - defer.o a - signal.o a - hooks.o a - exec.o ranlib libmainloop.a gmake[1]: Leaving directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libmainloop' gmake[1]: Entering directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libtu' clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c iterable.c -o iterable.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c map.c -o map.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c misc.c -o misc.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c obj.c -o obj.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c objlist.c -o objlist.o In file included from misc.c:16: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c optparser.c -o optparser.o In file included from obj.c:14: ./objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ./objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void obj.c:43:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | d->destroy_fn(obj); | ^ obj.c:123:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 123 | static void dummy_dyn() | ^ | void 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c output.c -o output.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c parser.c -o parser.o In file included from optparser.c:13: In file included from ./util.h:18: ./optparser.h:74:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 74 | extern int optparser_get_opt(); | ^ | void ./optparser.h:75:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | extern const char* optparser_get_arg(); | ^ | void ./optparser.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void optparser_print_error(); | ^ | void In file included from optparser.c:13: ./util.h:32:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | extern const char *libtu_progname(); | ^ | void ./util.h:37:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern const char *libtu_progbasename(); | ^ | void In file included from optparser.c:16: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void optparser.c:86:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 86 | int optparser_get_opt() | ^ | void optparser.c:230:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | const char* optparser_get_arg() | ^ | void optparser.c:277:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 277 | void optparser_print_error() | ^ | void 11 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c prefix.c -o prefix.o In file included from parser.c:15: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from output.c:18: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from output.c:19: In file included from ./util.h:18: ./optparser.h:74:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 74 | extern int optparser_get_opt(); | ^ | void ./optparser.h:75:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | extern const char* optparser_get_arg(); | ^ | void ./optparser.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void optparser_print_error(); | ^ | void In file included from output.c:19: ./util.h:32:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | extern const char *libtu_progname(); | ^ | void ./util.h:37:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern const char *libtu_progbasename(); | ^ | void output.c:88:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 88 | static void put_prog_name() | ^ | void output.c:107:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 107 | static void fallback_warn() | ^ | void output.c:133:12: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | CALL_V(vasprintf, (ret, p, args)); | ^ output.c:142:5: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | vasprintf(ret, p, args); | ^ output.c:184:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 184 | void warn_err() | ^ | void output.c:267:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 267 | char *errmsg_err() | ^ | void output.c:353:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | void die_err() | ^ | void 15 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c ptrlist.c -o ptrlist.o 3 warnings generated. In file included from prefix.c:13: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c rb.c -o rb.o 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c setparam.c -o setparam.o In file included from rb.c:29: ./rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void rb.c:141:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 141 | Rb_node make_rb() | ^ | void rb.c:161:13: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 160 | fprintf(stderr, "rb_find_ikey_n called on non-head %p\n", | ~~ | %s 161 | DONT_COMPLAIN n); | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:194:13: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 193 | fprintf(stderr, "rb_find_gkey_n called on non-head %p\n", | ~~ | %s 194 | DONT_COMPLAIN n); | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:377:61: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 377 | fprintf(stderr, "Cannot delete an internal node: %p\n", DONT_COMPLAIN n); | ~~ ^~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:381:67: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 381 | fprintf(stderr, "Cannot delete the head of an rb_tree: %p\n", DONT_COMPLAIN n); | ~~ ^~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:497:34: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 497 | printf("tree %p is empty\n", DONT_COMPLAIN t); | ~~ ^~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:499:38: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 499 | printf("Head: %p. Root = %p\n", DONT_COMPLAIN t, DONT_COMPLAIN t->p.root); | ~~ ^~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:499:55: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 499 | printf("Head: %p. Root = %p\n", DONT_COMPLAIN t, DONT_COMPLAIN t->p.root); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:505:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 504 | printf("Ext node %p: %c,%c: p=%p, k=%s\n", | ~~ | %s 505 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:506:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 504 | printf("Ext node %p: %c,%c: p=%p, k=%s\n", | ~~ | %s 505 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 506 | DONT_COMPLAIN t->p.parent, DONT_COMPLAIN t->k.key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:512:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 511 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%s,%s)\n", | ~~ | %s 512 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:513:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 511 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%s,%s)\n", | ~~ | %s 512 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 513 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:513:45: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 511 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%s,%s)\n", | ~~ | %s 512 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 513 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:514:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 511 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%s,%s)\n", | ~~ | %s 512 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 513 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, 514 | DONT_COMPLAIN t->p.parent, DONT_COMPLAIN t->k.lext->k.key, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:524:34: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 524 | printf("tree %p is empty\n", DONT_COMPLAIN t); | ~~ ^~~~~~~~~~~~~~~ | %s rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:527:12: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 526 | printf("Head: %p. Root = %p, < = %p, > = %p\n", | ~~ | %s 527 | DONT_COMPLAIN t, DONT_COMPLAIN t->p.root, | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:527:29: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 526 | printf("Head: %p. Root = %p, < = %p, > = %p\n", | ~~ | %s 527 | DONT_COMPLAIN t, DONT_COMPLAIN t->p.root, | ^~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:528:12: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 526 | printf("Head: %p. Root = %p, < = %p, > = %p\n", | ~~ | %s 527 | DONT_COMPLAIN t, DONT_COMPLAIN t->p.root, 528 | DONT_COMPLAIN t->c.list.blink, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:529:12: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 526 | printf("Head: %p. Root = %p, < = %p, > = %p\n", | ~~ | %s 527 | DONT_COMPLAIN t, DONT_COMPLAIN t->p.root, 528 | DONT_COMPLAIN t->c.list.blink, 529 | DONT_COMPLAIN t->c.list.flink); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:535:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 534 | printf("Ext node %p: %c,%c: p=%p, <=%p, >=%p k=%d\n", | ~~ | %s 535 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:536:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 534 | printf("Ext node %p: %c,%c: p=%p, <=%p, >=%p k=%d\n", | ~~ | %s 535 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 536 | DONT_COMPLAIN t->p.parent, DONT_COMPLAIN t->c.list.blink, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:536:41: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 534 | printf("Ext node %p: %c,%c: p=%p, <=%p, >=%p k=%d\n", | ~~ | %s 535 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 536 | DONT_COMPLAIN t->p.parent, DONT_COMPLAIN t->c.list.blink, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:537:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 534 | printf("Ext node %p: %c,%c: p=%p, <=%p, >=%p k=%d\n", | ~~ | %s 535 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 536 | DONT_COMPLAIN t->p.parent, DONT_COMPLAIN t->c.list.blink, 537 | DONT_COMPLAIN t->c.list.flink, t->k.ikey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:543:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 542 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%d,%d)\n", | ~~ | %s 543 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:544:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 542 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%d,%d)\n", | ~~ | %s 543 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 544 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:544:45: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 542 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%d,%d)\n", | ~~ | %s 543 | DONT_COMPLAIN t, isred(t)?'R':'B'clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c stringstore.c -o stringstore.o , isleft(t)?'l':'r', 544 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:545:14: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 542 | printf("Int node %p: %c,%c: l=%p, r=%p, p=%p, lr=(%d,%d)\n", | ~~ | %s 543 | DONT_COMPLAIN t, isred(t)?'R':'B', isleft(t)?'l':'r', 544 | DONT_COMPLAIN t->c.child.left, DONT_COMPLAIN t->c.child.right, 545 | DONT_COMPLAIN t->p.parent, t->k.lext->k.ikey, t->v.rext->k.ikey); | ^~~~~~~~~~~~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:555:13: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 554 | fprintf(stderr, "ERROR: rb_nblack called on a non-external node %p\n", | ~~ | %s 555 | DONT_COMPLAIN n); | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:571:13: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] 570 | fprintf(stderr, "ERROR: rb_plength called on a non-external node %p\n", | ~~ | %s 571 | DONT_COMPLAIN n); | ^~~~~~~~~~~~~~~ rb.c:40:23: note: expanded from macro 'DONT_COMPLAIN' 40 | #define DONT_COMPLAIN (char*) | ^ rb.c:612:48: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 612 | return rb_insert_b(rb_find_ikey(tree, ikey), (void *) ikey, val); | ^~~~~~~~~~~~~ rb.c:493:6: warning: function 'rb_print_tree' is not needed and will not be emitted [-Wunneeded-internal-declaration] 493 | void rb_print_tree(Rb_node t, int level) | ^~~~~~~~~~~~~ rb.c:520:6: warning: function 'rb_iprint_tree' is not needed and will not be emitted [-Wunneeded-internal-declaration] 520 | void rb_iprint_tree(Rb_node t, int level) | ^~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c tokenizer.c -o tokenizer.o 33 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c util.c -o util.o In file included from stringstore.c:14: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from stringstore.c:15: ./rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from tokenizer.c:20: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -c errorlog.c -o errorlog.o tokenizer.c:796:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 796 | static Tokenizer *tokz_create() | ^ | void In file included from tokenizer.c:424: ./np/np-conv.h:118:1: warning: unused function 'num_to_char' [-Wunused-function] 118 | FN_NUM_TO_SIGNED(char, UCHAR_MAX, CHAR_MAX, CHAR_MIN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./np/np-conv.h:15:13: note: expanded from macro 'FN_NUM_TO_SIGNED' 15 | static int num_to_##T(T *ret, const NPNum *num, bool allow_uns_big) \ | ^~~~~~~~~~ :32:1: note: expanded from here 32 | num_to_char | ^~~~~~~~~~~ In file included from util.c:16: In file included from ./util.h:18: ./optparser.h:74:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 74 | extern int optparser_get_opt(); | ^ | void ./optparser.h:75:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | extern const char* optparser_get_arg(); | ^ | void ./optparser.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void optparser_print_error(); | ^ | void In file included from util.c:16: ./util.h:32:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | extern const char *libtu_progname(); | ^ | void ./util.h:37:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern const char *libtu_progbasename(); | ^ | void util.c:33:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 33 | const char *libtu_progname() | ^ | void util.c:39:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | const char *libtu_progbasename() | ^ | void 7 warnings generated. 5 warnings generated. In file included from errorlog.c:14: In file included from ./util.h:18: ./optparser.h:74:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 74 | extern int optparser_get_opt(); | ^ | void ./optparser.h:75:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | extern const char* optparser_get_arg(); | ^ | void ./optparser.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void optparser_print_error(); | ^ | void In file included from errorlog.c:14: ./util.h:32:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | extern const char *libtu_progname(); | ^ | void ./util.h:37:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern const char *libtu_progbasename(); | ^ | void In file included from errorlog.c:16: ./output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ./output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ./output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void 8 warnings generated. ar -rv libtu.a iterable.o map.o misc.o obj.o objlist.o optparser.o output.o parser.o prefix.o ptrlist.o rb.o setparam.o stringstore.o tokenizer.o util.o errorlog.o ar: creating archive libtu.a a - iterable.o a - map.o a - misc.o a - obj.o a - objlist.o a - optparser.o a - output.o a - parser.o a - prefix.o a - ptrlist.o a - rb.o a - setparam.o a - stringstore.o a - tokenizer.o a - util.o a - errorlog.o ranlib libtu.a gmake[1]: Leaving directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libtu' gmake[1]: Entering directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libextl' clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/opt/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c readconfig.c -o readconfig.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/opt/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c luaextl.c -o luaextl.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I.. -I/opt/pkg/include/lua-5.2 -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -c misc.c -o misc.o In file included from misc.c:12: In file included from ./private.h:18: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from misc.c:12: In file included from ./private.h:20: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from readconfig.c:18: In file included from ./readconfig.h:15: In file included from ./extl.h:15: ./luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ./luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ./luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ./luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ./luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ./luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ./luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from readconfig.c:18: ./readconfig.h:33:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 33 | extern const char *extl_userdir(); | ^ | void ./readconfig.h:34:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | extern const char *extl_sessiondir(); | ^ | void ./readconfig.h:35:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern const char *extl_searchpath(); | ^ | void 5 warnings generated. sed "1s:LUA50:/opt/pkg/bin/lua5.2:" libextl-mkexports.in > libextl-mkexports In file included from readconfig.c:20: In file included from ./private.h:18: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from readconfig.c:20: In file included from ./private.h:20: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from luaextl.c:28: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from luaextl.c:30: In file included from ../libtu/util.h:18: ../libtu/optparser.h:74:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 74 | extern int optparser_get_opt(); | ^ | void ../libtu/optparser.h:75:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | extern const char* optparser_get_arg(); | ^ | void ../libtu/optparser.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void optparser_print_error(); | ^ | void In file included from luaextl.c:30: ../libtu/util.h:32:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | extern const char *libtu_progname(); | ^ | void ../libtu/util.h:37:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern const char *libtu_progbasename(); | ^ | void In file included from luaextl.c:32: In file included from ./readconfig.h:15: In file included from ./extl.h:15: ./luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | voidreadconfig.c: 129:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 129 | const char *extl_userdir() | ^ | void ./luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_noreadconfig.cn:e135(); | ^ | void :28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] ./luaextl.h: 135 | const char *79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_extl_sessiondnone(ir() | ^ | void ); | ^ | void ./luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_crereadconfig.c:141:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 141 | coate_table(); | ^ | void nst char *extl_searchpath() | ^ | void ./luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ./luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ./luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from luaextl.c:32: ./readconfig.h:33:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 33 | extern const char *extl_userdir(); | ^ | void ./readconfig.h:34:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | extern const char *extl_sessiondir(); | ^ | void ./readconfig.h:35:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern const char *extl_searchpath(); | ^ | void readconfig.c:436:6: warning: invalid UTF-8 in comment [-Winvalid-utf8] 436 | /*{{{extl_get_savefile */ | ^ In file included from luaextl.c:34: In file included from ./private.h:18: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void luaextl.c:53:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 53 | static void flushtrace(); | ^ | void luaextl.c:236:23: warning: cast from 'void (*)(lua_State *, Obj *)' (aka 'void (*)(struct lua_State *, struct Obj_struct *)') to 'ExtlCPCallFn *' (aka 'int (*)(struct lua_State *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 236 | extl_cpcall(l_st, (ExtlCPCallFn*)extl_uncache_, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaextl.c:594:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 594 | bool extl_init() | ^ | void luaextl.c:619:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 619 | void extl_deinit() | ^ | void luaextl.c:912:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 912 | ExtlFn extl_fn_none() | ^ | void luaextl.c:918:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 918 | ExtlTab extl_table_none() | ^ | void luaextl.c:961:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 961 | ExtlTab extl_create_table() | ^ | void luaextl.c:1018:6: warning: invalid UTF-8 in comment [-Winvalid-utf8] 1018 | /*{{{Table/get */ | ^ luaextl.c:1063:20: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 1063 | va_start(args, type); | ^ luaextl.c:1058:51: note: parameter of type 'char' is declared here 1058 | bool extl_table_get(ExtlTab ref, char itype, char type, ...) | ^ luaextl.c:1194:6: warning: invalid UTF-8 in comment [-Winvalid-utf8] 1194 | /*{{{Table/set */ | ^ luaextl.c:1225:20: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 1225 | va_start(args, type); | ^ luaextl.c:1220:51: note: parameter of type 'char' is declared here 1220 | bool extl_table_set(ExtlTab ref, char itype, char type, ...) | ^ luaextl.c:1317:6: warning: invalid UTF-8 in comment [-Winvalid-utf8] 1317 | /*{{{Table/clear entry */ | ^ luaextl.c:1346:20: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 1346 | va_start(args, itype); | ^ luaextl.c:1341:41: note: parameter of type 'char' is declared here 1341 | bool extl_table_clear(ExtlTab ref, char itype, ...) | ^ luaextl.c:1426:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1426 | int i=1; | ^ luaextl.c:1748:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1748 | static void flushtrace() | ^ | void luaextl.c:1920:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1920 | L1Param param={{NULL, }, {NULL, }, NULL, 0, 0, 0}; | ^~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ luaextl.c:1920:31: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1920 | L1Param param={{NULL, }, {NULL, }, NULL, 0, 0, 0}; | ^~~~ | { } /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL' 26 | #define NULL ((void*)0) | ^~~~~~~~~~ luaextl.c:2348:27: warning: cast from 'void (*)(lua_State *, ClassData *)' (aka 'void (*)(struct lua_State *, ClassData *)') to 'ExtlCPCallFn *' (aka 'int (*)(struct lua_State *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2348 | if(!extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_unregister_class, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaextl.c:2595:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2595 | void extl_resethook() | ^ | void luaextl.c:81:13: warning: unused function 'lua_rawseti_check' [-Wunused-function] 81 | static void lua_rawseti_check(lua_State *st, int index, int n) | ^~~~~~~~~~~~~~~~~ luaextl.c:88:13: warning: unused function 'lua_rawget_check' [-Wunused-function] 88 | static void lua_rawget_check(lua_State *st, int index) | ^~~~~~~~~~~~~~~~ luaextl.c:95:13: warning: unused function 'lua_rawgeti_check' [-Wunused-function] 95 | static void lua_rawgeti_check(lua_State *st, int index, int n) | ^~~~~~~~~~~~~~~~~ 19 warnings generated. 42 warnings generated. ar -rv libextl.a readconfig.o luaextl.o misc.o ar: creating archive libextl.a a - readconfig.o a - luaextl.o a - misc.o ranlib libextl.a gmake[1]: Leaving directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/libextl' gmake[1]: Entering directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/mod_tiling' /opt/pkg/bin/lua5.2 ../libextl/libextl-mkexports -module mod_tiling -o exports.c -h exports.h \ main.c tiling.c placement.c split.c split-stdisp.c splitfloat.c panehandle.c ops.c Scanning main.c for exports. Scanning tiling.c for exports. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c tiling.c -o tiling.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c placement.c -o placement.o Scanning placement.c for exports. Scanning split.c for exports. Scanning split-stdisp.c for exports. Scanning splitfloat.c for exports. Scanning panehandle.c for exports. Scanning ops.c for exports. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c split.c -o split.o In file included from tiling.c:13: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from tiling.c:16: In file included from ../libmainloop/defer.h:14: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from tiling.c:16: ../libmainloop/defer.h:20:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void mainloop_execute_deferred(); | ^ | void In file included from placement.c:9: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from tiling.c:17: In file included from ../libmainloop/signal.h:22: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from tiling.c:17: ../libmainloop/signal.h:41:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | extern WTimer *create_timer(); | ^ | void ../libmainloop/signal.h:42:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | extern WTimer *create_timer_extl_owned(); | ^ | void ../libmainloop/signal.h:51:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | extern bool mainloop_check_signals(); | ^ | void ../libmainloop/signal.h:54:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | extern bool mainloop_unhandled_signals(); | ^ | void In file included from tiling.c:19: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from placement.c:9: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from placement.c:10: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:13: In file included from ../ioncore/region.h:14: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from tiling.c:20: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from placement.c:10: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from tiling.c:20: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void In file included from placement.c:10: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: ../ioncore/binding.hIn file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern :80:28: warning: va function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern oid ioncore_iniitn_tb iinodinncore_modstate(); | ^ | void gs(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from tiling.c:20: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from placement.c:10: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41:In file included from tiling.c:20: In file included from ../ioncore/rootwin.h:15: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]96 | extern 65v | oeixdt egrrn_ rWeSfcrreesehn( )*;i o n| c ^o r e| _ voidg oto_next_screen(); | ^../ioncore/gr.h : 97| : void27 :../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | e xtern WScreen *ioncore_goto_prev_screen(); | ^ | voidwarning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from placement.c:10: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:15: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from tiling.c:21: ../ioncore/focus.h:35:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern WRegion *ioncore_await_focus(); | ^ | void ../ioncore/focus.h:56:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern WRegion *ioncore_goto_previous(); | ^ | void ../ioncore/focus.h:63:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 63 | WRegion *ioncore_current(); | ^ | void In file included from tiling.c:27: ../ioncore/saveload.h:26:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 26 | extern bool ioncore_init_layout(); | ^ | void ../ioncore/saveload.h:27:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 27 | extern bool ioncore_save_layout(); | ^ | void ../ioncore/saveload.h:37:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern WPHolder *ioncore_get_load_pholder(); | ^ | void In file included from tiling.c:29: In file included from ../ioncore/resize.h:17: ../mod_tiling/split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ../mod_tiling/split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void In file included from placement.c:15: In file included from ../ioncore/framep.h:13: In file included from ../ioncore/llist.h:17: ../ioncore/stacking.h:59:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | WStacking *create_stacking(); | ^ | void In file included from placement.c:17: In file included from ./placement.h:16: In file included from ./tiling.h:21: ./split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void In file included from tiling.c:41: ./main.h:15:./split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern v28oi:d warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 15 | externsplittree_end_resize(); | ^ | bool void mod_tiling_init(); | ^ | void ./main.h:16:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | extern void mod_tiling_deinit(); | ^ | void In file included from split.c:14: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void tiling.c:511:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 511 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ tiling.c:511:5: warning: cast from 'int (*)(WTiling *, WRegion *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 511 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ tiling.c:511:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'int (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 511 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ tiling.c:511:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | CALL_DYN_RET(ret, bool, tiling_managed_add, ws, (ws, reg)); | ^ tiling.c:575:21: warning: cast from 'WRegionSimpleCreateFn *' (aka 'struct WRegion_struct *(*)(struct WWindow_struct *, const struct WFitParams_struct *)') to 'WRegionCreateFn *' (aka 'struct WRegion_struct *(*)(struct WWindow_struct *, const struct WFitParams_struct *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 575 | data.u.n.fn=(WRegionCreateFn*)ws->create_frame_fn; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:579:34: warning: cast from 'int (*)(WTiling *, WRegion *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)') to 'WRegionDoAttachFn *' (aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 579 | (WRegionDoAttachFn*)tiling_do_attach_initial, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 warnings generated. tiling.c:1442:67: warning: unused parameter 'tab' [-Wunused-parameter] 1442 | WSplit *load_splitst(WTiling *ws, const WRectangle *geom, ExtlTab tab) | ^ clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c split-stdisp.c -o split-stdisp.o tiling.c:1628:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1628 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ tiling.c:1628:5: warning: cast from 'WSplit *(*)(WTiling *, const WRectangle *, ExtlTab)' (aka 'struct WSplit_struct *(*)(struct WTiling_struct *, const struct WRectangle_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1628 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ tiling.c:1628:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'struct WSplit_struct *(*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1628 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ tiling.c:1628:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | CALL_DYN_RET(ret, WSplit*, tiling_load_node, ws, (ws, geom, tab)); | ^ tiling.c:1685:6: warning: cast from 'int (*)(WRegion *, WWindow *, const WFitParams *)' (aka 'int (*)(struct WRegion_struct *, struct WWindow_struct *, const struct WFitParams_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1685 | {(DynFun*)region_fitrep, | ^~~~~~~~~~~~~~~~~~~~~~ tiling.c:1686:6: warning: cast from 'int (*)(WTiling *, WWindow *, const WFitParams *)' (aka 'int (*)(struct WTiling_struct *, struct WWindow_struct *, const struct WFitParams_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1686 | (DynFun*)tiling_fitrep}, | ^~~~~~~~~~~~~~~~~~~~~~ tiling.c:1691:6: warning: cast from 'int (*)(WRegion *, WRegion *, int, int)' (aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1691 | {(DynFun*)region_managed_maximize, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1692:6: warning: cast from 'int (*)(WTiling *, WRegion *, int, int)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *, int, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1692 | (DynFun*)tiling_managed_maximize}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1697:6: warning: cast from 'int (*)(WRegion *, WRegion *, int, WPrepareFocusResult *)' (aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1697 | {(DynFun*)region_managed_prepare_focus, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1698:6: warning: cast from 'int (*)(WTiling *, WRegion *, int, WPrepareFocusResult *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *, int, struct WPrepareFocusResult_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1698 | (DynFun*)tiling_managed_prepare_focus}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1700:6: warning: cast 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 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1700 | {(DynFun*)region_prepare_manage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1701:6: warning: cast 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 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1701 | (DynFun*)tiling_prepare_manage}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1703:6: warning: cast from 'int (*)(WRegion *, WRescueInfo *)' (aka 'int (*)(struct WRegion_struct *, struct WRescueInfo_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1703 | {(DynFun*)region_rescue_clientwins, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1704:6: warning: cast from 'int (*)(WTiling *, WRescueInfo *)' (aka 'int (*)(struct WTiling_struct *, struct WRescueInfo_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1704 | (DynFun*)tiling_rescue_clientwins}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1706:6: warning: cast from 'WPHolder *(*)(WRegion *, WRegion *)' (aka 'struct WPHolder_struct *(*)(struct WRegion_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1706 | {(DynFun*)region_get_rescue_pholder_for, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1707:6: warning: cast from 'WPHolder *(*)(WTiling *, WRegion *)' (aka 'struct WPHolder_struct *(*)(struct WTiling_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1707 | (DynFun*)tiling_get_rescue_pholder_for}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1709:6: warning: cast from 'ExtlTab (*)(WRegion *)' (aka 'int (*)(struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1709 | {(DynFun*)region_get_configuration, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1710:6: warning: cast from 'ExtlTab (*)(WTiling *)' (aka 'int (*)(struct WTiling_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1710 | (DynFun*)tiling_get_configuration}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1712:6: warning: cast from 'WRegion *(*)(WRegion *, WRegion *)' (aka 'struct WRegion_struct *(*)(struct WRegion_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1712 | {(DynFun*)region_managed_disposeroot, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1713:6: warning: cast from 'WRegion *(*)(WTiling *, WRegion *)' (aka 'struct WRegion_struct *(*)(struct WTiling_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1713 | (DynFun*)tiling_managed_disposeroot}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1715:6: warning: cast from 'WRegion *(*)(WRegion *)' (aka 'struct WRegion_struct *(*)(struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1715 | {(DynFun*)region_current, | ^~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1716:6: warning: cast from 'WRegion *(*)(WTiling *)' (aka 'struct WRegion_struct *(*)(struct WTiling_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1716 | (DynFun*)tiling_current}, | ^~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1718:6: warning: cast from 'int (*)(WTiling *, WRegion *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1718 | {(DynFun*)tiling_managed_add, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1719:6: warning: cast from 'int (*)(WTiling *, WRegion *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1719 | (DynFun*)tiling_managed_add_default}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1727:6: warning: cast from 'WSplit *(*)(WTiling *, const WRectangle *, ExtlTab)' (aka 'struct WSplit_struct *(*)(struct WTiling_struct *, const struct WRectangle_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1727 | {(DynFun*)tiling_load_node, | ^~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1728:6: warning: cast from 'WSplit *(*)(WTiling *, const WRectangle *, ExtlTab)' (aka 'struct WSplit_struct *(*)(struct WTiling_struct *, const struct WRectangle_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1728 | (DynFun*)tiling_load_node_default}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1736:6: warning: cast from 'WRegion *(*)(WRegion *, WRegionNavi, WRegionNaviData *)' (aka 'struct WRegion_struct *(*)(struct WRegion_struct *, WRegionNavi, struct WRegionNaviData_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1736 | {(DynFun*)region_navi_first, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1737:6: warning: cast from 'WRegion *(*)(WTiling *, WRegionNavi, WRegionNaviData *)' (aka 'struct WRegion_struct *(*)(struct WTiling_struct *, WRegionNavi, struct WRegionNaviData_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1737 | (DynFun*)tiling_navi_first}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1739:6: warning: cast from 'WRegion *(*)(WRegion *, WRegion *, WRegionNavi, WRegionNaviData *)' (aka 'struct WRegion_struct *(*)(struct WRegion_struct *, struct WRegion_struct *, WRegionNavi, struct WRegionNaviData_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1739 | {(DynFun*)region_navi_next, | ^~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1740:6: warning: cast from 'WRegion *(*)(WTiling *, WRegion *, WRegionNavi, WRegionNaviData *)' (aka 'struct WRegion_struct *(*)(struct WTiling_struct *, struct WRegion_struct *, WRegionNavi, struct WRegionNaviData_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1740 | (DynFun*)tiling_navi_next}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1742:6: warning: cast from 'Window (*)(const WRegion *)' (aka 'unsigned long (*)(const struct WRegion_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1742 | {(DynFun*)region_xwindow, | ^~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1743:6: warning: cast from 'Window (*)(const WTiling *)' (aka 'unsigned long (*)(const struct WTiling_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1743 | (DynFun*)tiling_xwindow}, | ^~~~~~~~~~~~~~~~~~~~~~~ tiling.c:1750:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1750 | IMPLCLASS(WTiling, WRegion, tiling_deinit, tiling_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ tiling.c:83:13: warning: unused function 'reparent_mgd' [-Wunused-function] 83 | static void reparent_mgd(WRegion *sub, WWindow *par) | ^~~~~~~~~~~~ In file included from split.c:15: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from split.c:16: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from split.c:16: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from split.c:17: In file included from ../ioncore/focus.h:12: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from split.c:17: In file included from ../ioncore/focus.h:14: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from split.c:17: ../ioncore/focus.h:35:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern WRegion *ioncore_await_focus(); | ^ | void ../ioncore/focus.h:56:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern WRegion *ioncore_goto_previous(); | ^ | void ../ioncore/focus.h:63:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 63 | WRegion *ioncore_current(); | ^ | void In file included from split.c:18: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from split.c:18: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:15: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from split.c:20: In file included from ../ioncore/resize.h:17: ../mod_tiling/split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ../mod_tiling/split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void In file included from split.c:25: ../ioncore/saveload.h:26:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 26 | extern bool ioncore_init_layout(); | ^ | void ../ioncore/saveload.h:27:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 27 | extern bool ioncore_save_layout(); | ^ | void ../ioncore/saveload.h:37:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | extern WPHolder *ioncore_get_load_pholder(); | ^ | void split.c:382:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | CALL_DYN(split_update_bounds, node, (node, recursive)); | ^ split.c:407:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 407 | void splittree_begin_resize() | ^ | void split.c:413:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 413 | void splittree_end_resize() | ^ | void split.c:698:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | CALL_DYN(split_do_resize, node, (node, ng, hprimn, vprimn, transpose)); | ^ split.c:1058:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1058 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:1058:5: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1058 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:1058:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'int (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1058 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:1058:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | CALL_DYN_RET(ret, bool, split_do_restore, node, (node, dir)); | ^ split.c:1102:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | CALL_DYN(split_do_maxhelper, node, (node, dir, action)); | ^ split.c:1168:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1168 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:1168:5: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1168 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:1168:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'int (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1168 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:1168:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | CALL_DYN_RET(ret, bool, split_do_verify, node, (node, dir)); | ^ split.c:1314:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | CALL_DYN(splitinner_do_rqsize, p, (p, node, ha, va, rg, tryonly)); | ^ split.c:1519:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | CALL_DYN(splitinner_replace, split, (split, child, what)); | ^ split.c:1732:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | CALL_DYN(splitinner_remove, node, (node, child, reclaim_space)); | ^ split.c:1806:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1806 | CALL_DYN_RET(ret, WSplit*, split_current_todir, node, | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:1806:5: warning: cast from 'WSplit *(*)(WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1806 | CALL_DYN_RET(ret, WSplit*, split_current_todir, node, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1807 | (node, hprimn, vprimn, filter)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:1806:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'struct WSplit_struct *(*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1806 | CALL_DYN_RET(ret, WSplit*, split_current_todir, node, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1807 | (node, hprimn, vprimn, filter)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:1807:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | (node, hprimn, vprimn, filter)); | ^ split.c:1848:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1848 | CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:1848:5: warning: cast from 'WSplit *(*)(WSplitInner *, WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplitInner_struct *, struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1848 | CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1849 | (node, child, hprimn, vprimn, filter)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:1848:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'struct WSplit_struct *(*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1848 | CALL_DYN_RET(ret, WSplit*, splitinner_nextto, node, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1849 | (node, child, hprimn, vprimn, filter)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:1849:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | (node, child, hprimn, vprimn, filter)); | ^ split.c:1887:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | CALL_DYN(splitinner_mark_current, split, (split, child)); | ^ split.c:1900:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | CALL_DYN(splitinner_forall, node, (node, fn)); | ^ split.c:1918:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1918 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:1918:5: warning: cast from 'WSplit *(*)(WSplitInner *)' (aka 'struct WSplit_struct *(*)(struct WSplitInner_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1918 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:1918:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'struct WSplit_struct *(*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 1918 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:1918:58: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | CALL_DYN_RET(ret, WSplit*, splitinner_current, node, (node)); | ^ split.c:1965:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | CALL_DYN(split_stacking, split, (split, bottomret, topret)); | ^ split.c:2000:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | CALL_DYN(split_restack, split, (split, other, mode)); | ^ split.c:2017:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | CALL_DYN(split_map, split, (split)); | ^ split.c:2034:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | CALL_DYN(split_unmap, split, (split)); | ^ split.c:2061:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | CALL_DYN(split_reparent, split, (split, wwin)); | ^ split.c:2106:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | CALL_DYN(splitsplit_flip, split, (split)); | ^ split.c:2395:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2395 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^ ../libtu/objp.h:62:27: note: expanded from macro 'CALL_DYN_RET' 62 | typedef RET ThisDynFun(); \ | ^ split.c:2395:5: warning: cast from 'int (*)(WSplit *, ExtlTab *)' (aka 'int (*)(struct WSplit_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2395 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:50: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~ split.c:2395:5: warning: cast from 'DynFun *' (aka 'void (*)()') to 'ThisDynFun *' (aka 'int (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2395 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libtu/objp.h:65:12: note: expanded from macro 'CALL_DYN_RET' 65 | funtmp=(ThisDynFun*)lookup_dynfun((Obj*)OBJ, (DynFun*)FUNC, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | &funnotfound); \ | ~~~~~~~~~~~~~ split.c:2395:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | CALL_DYN_RET(ret, bool, split_get_config, node, (node, tabret)); | ^ split.c:2408:6: warning: cast from 'WSplit *(*)(WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2408 | {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2408:36: warning: cast from 'WSplit *(*)(WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2408 | {(DynFun*)split_current_todir, (DynFun*)split_current_todir_default}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2423:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2423 | {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2423:33: warning: cast from 'int (*)(WSplitSplit *, int)' (aka 'int (*)(struct WSplitSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2423 | {(DynFun*)split_do_restore, (DynFun*)splitsplit_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2424:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2424 | {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~ split.c:2424:32: warning: cast from 'int (*)(WSplitSplit *, int)' (aka 'int (*)(struct WSplitSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2424 | {(DynFun*)split_do_verify, (DynFun*)splitsplit_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2428:6: warning: cast from 'WSplit *(*)(WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2428 | {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2428:36: warning: cast from 'WSplit *(*)(WSplitSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplitSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2428 | {(DynFun*)split_current_todir, (DynFun*)splitsplit_current_todir}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2429:6: warning: cast from 'WSplit *(*)(WSplitInner *)' (aka 'struct WSplit_struct *(*)(struct WSplitInner_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2429 | {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2429:35: warning: cast from 'WSplit *(*)(WSplitSplit *)' (aka 'struct WSplit_struct *(*)(struct WSplitSplit_struct *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2429 | {(DynFun*)splitinner_current, (DynFun*)splitsplit_current}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2430:6: warning: cast from 'WSplit *(*)(WSplitInner *, WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplitInner_struct *, struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2430 | {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2430:34: warning: cast from 'WSplit *(*)(WSplitSplit *, WSplit *, WPrimn, WPrimn, WSplitFilter *)' (aka 'struct WSplit_struct *(*)(struct WSplitSplit_struct *, struct WSplit_struct *, WPrimn, WPrimn, int (*)(struct WSplit_struct *))') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2430 | {(DynFun*)splitinner_nextto, (DynFun*)splitsplit_nextto}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2432:6: warning: cast from 'int (*)(WSplit *, ExtlTab *)' (aka 'int (*)(struct WSplit_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2432 | {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2432:33: warning: cast from 'int (*)(WSplitSplit *, ExtlTab *)' (aka 'int (*)(struct WSplitSplit_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2432 | {(DynFun*)split_get_config, (DynFun*)splitsplit_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2445:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2445 | {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2445:33: warning: cast from 'int (*)(WSplitRegion *, int)' (aka 'int (*)(struct WSplitRegion_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2445 | {(DynFun*)split_do_restore, (DynFun*)splitregion_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2446:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2446 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~ split.c:2446:32: warning: cast from 'int (*)(WSplitRegion *, int)' (aka 'int (*)(struct WSplitRegion_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2446 | {(DynFun*)split_do_verify, (DynFun*)splitregion_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2447:6: warning: cast from 'int (*)(WSplit *, ExtlTab *)' (aka 'int (*)(struct WSplit_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2447 | {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2447:33: warning: cast from 'int (*)(WSplitRegion *, ExtlTab *)' (aka 'int (*)(struct WSplitRegion_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2447 | {(DynFun*)split_get_config, (DynFun*)splitregion_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2460:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2460 | {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2460:33: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2460 | {(DynFun*)split_do_restore, (DynFun*)splitst_do_restore}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2461:6: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2461 | {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~ split.c:2461:32: warning: cast from 'int (*)(WSplit *, int)' (aka 'int (*)(struct WSplit_struct *, int)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2461 | {(DynFun*)split_do_verify, (DynFun*)splitst_do_verify}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2462:6: warning: cast from 'int (*)(WSplit *, ExtlTab *)' (aka 'int (*)(struct WSplit_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2462 | {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2462:33: warning: cast from 'int (*)(WSplitST *, ExtlTab *)' (aka 'int (*)(struct WSplitST_struct *, int *)') to 'DynFun *' (aka 'void (*)()') converts to incompatible function type [-Wcast-function-type-mismatch] 2462 | {(DynFun*)split_get_config, (DynFun*)splitst_get_config}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ split.c:2468:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2468 | IMPLCLASS(WSplit, Obj, split_deinit, split_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ split.c:2471:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2471 | IMPLCLASS(WSplitInner, WSplit, splitinner_deinit, splitinner_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ split.c:2474:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2474 | IMPLCLASS(WSplitSplit, WSplitInner, splitsplit_deinit, splitsplit_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ split.c:2477:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2477 | IMPLCLASS(WSplitRegion, WSplit, splitregion_deinit, splitregion_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ split.c:2480:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2480 | IMPLCLASS(WSplitST, WSplitRegion, splitst_deinit, splitst_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ 79 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c splitfloat.c -o splitfloat.o In file included from split-stdisp.c:10: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from split-stdisp.c:10: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from split-stdisp.c:11: In file included from ../ioncore/mplex.h:13: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from split-stdisp.c:11: In file included from ../ioncore/mplex.h:15: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from split-stdisp.c:11: In file included from ../ioncore/mplex.h:15: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from split-stdisp.c:12: In file included from ../ioncore/resize.h:13: In file included from ../ioncore/frame.h:20: In file included from ../ioncore/gr.h:24: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from split-stdisp.c:12: In file included from ../ioncore/resize.h:13: In file included from ../ioncore/frame.h:20: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from split-stdisp.c:12: In file included from ../ioncore/resize.h:17: ../mod_tiling/split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ../mod_tiling/split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void 23 warnings generated. In file included from splitfloat.c:11: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c panehandle.c -o panehandle.o In file included from splitfloat.c:13: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from splitfloat.c:13: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from splitfloat.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:13: In file included from ../ioncore/region.h:14: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from splitfloat.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from splitfloat.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from splitfloat.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from splitfloat.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:15: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from splitfloat.c:19: In file included from ./tiling.h:21: ./split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ./split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void 102 warnings generated. splitfloat.c:685:15: warning: invalid UTF-8 in comment [-Winvalid-utf8] 685 | /* Ent jos 'other' on stdisp? */ | ^ clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c ops.c -o ops.o splitfloat.c:1004:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1004 | IMPLCLASS(WSplitFloat, WSplitSplit, splitfloat_deinit, splitfloat_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ In file included from panehandle.c:11: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void In file included from panehandle.c:13: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void 27 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c exports.c -o exports.o In file included from panehandle.c:13: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from panehandle.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:13: In file included from ../ioncore/region.h:14: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from panehandle.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from panehandle.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:13: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from panehandle.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from panehandle.c:14: In file included from ../ioncore/global.h:19: In file included from ../ioncore/rootwin.h:15: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from panehandle.c:15: ../ioncore/event.h:44:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 44 | extern void ioncore_flush(); | ^ | void ../ioncore/event.h:48:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | extern Time ioncore_get_timestamp(); | ^ | void ../ioncore/event.h:53:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 53 | extern void ioncore_mainloop(); | ^ | void In file included from panehandle.c:18: In file included from ./panehandle.h:17: In file included from ./splitfloat.h:14: ./split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ./split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void In file included from panehandle.c:19: ./main.h:15:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 15 | extern bool mod_tiling_init(); | ^ | void ./main.h:16:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | extern void mod_tiling_deinit(); | ^ | void In file included from ops.c:9: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void panehandle.c:130:1: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 130 | IMPLCLASS(WPaneHandle, WWindow, panehandle_deinit, panehandle_dynfuntab); | ^ ../libtu/objp.h:36:60: note: expanded from macro 'IMPLCLASS' 36 | #CLS, &CLASSDESCR(ANCESTOR), -1, DYN, (void (*)())DFN} | ^ In file included from ops.c:10: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void 31 warnings generated. /opt/pkg/bin/luac5.2 -o mod_tiling.lc mod_tiling.lua clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAS_SYSTEM_ASPRINTF=1 -g -MMD -Os -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/opt/pkg/include -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -fPIC -DPIC -MMD -c main.c -o main.o In file included from ops.c:10: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from ops.c:11: In file included from ../ioncore/mplex.h:13: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from ops.c:11: In file included from ../ioncore/mplex.h:15: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from ops.c:11: In file included from ../ioncore/mplex.h:15: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from ops.c:12: ../ioncore/focus.h:35:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern WRegion *ioncore_await_focus(); | ^ | void ../ioncore/focus.h:56:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern WRegion *ioncore_goto_previous(); | ^ | void ../ioncore/focus.h:63:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 63 | WRegion *ioncore_current(); | ^ | void In file included from ops.c:14: In file included from ../ioncore/group.h:15: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from ops.c:14: In file included from ../ioncore/group.h:19: ../ioncore/stacking.h:59:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | WStacking *create_stacking(); | ^ | void In file included from ops.c:15: In file included from ./tiling.h:21: ./split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ./split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void ops.c:45:30: warning: cast from 'int (*)(WTiling *, WRegion *)' (aka 'int (*)(struct WTiling_struct *, struct WRegion_struct *)') to 'WRegionDoAttachFn *' (aka 'int (*)(struct WRegion_struct *, struct WRegion_struct *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 45 | (WRegionDoAttachFn*)tiling_do_attach_initial, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 warnings generated. In file included from exports.c:2: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from exports.c:3: In file included from ../libextl/private.h:18: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from exports.c:3: In file included from ../libextl/private.h:20: ../libtu/objp.h:16:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | typedef void DynFun(); | ^ | void ../libtu/objp.h:29:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | void (*destroy_fn)(); | ^ | void exports.c:20:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | static bool l2chnd_o_osb__WTiling__(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:23:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | out[0].o=fn(in[0].o, in[1].s, in[2].b); | ^ exports.c:26:58: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 26 | static bool l2chnd_o_oos__WTiling_WSplitSplit_(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:30:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | out[0].o=fn(in[0].o, in[1].o, in[2].s); | ^ exports.c:33:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 33 | static bool l2chnd_t__(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:38:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 38 | static bool l2chnd_o_o__WSplit(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:41:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | out[0].o=fn(in[0].o); | ^ exports.c:44:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 44 | static bool l2chnd_o_oosb__WTiling_WRegion__(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:48:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | out[0].o=fn(in[0].o, in[1].o, in[2].s, in[3].b); | ^ exports.c:51:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | static bool l2chnd_b_of__WTiling_(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:54:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | out[0].b=fn(in[0].o, in[1].f); | ^ exports.c:57:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 57 | static bool l2chnd_b_ooss__WTiling_WRegion__(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:61:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | out[0].b=fn(in[0].o, in[1].o, in[2].s, in[3].s); | ^ exports.c:64:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | static bool l2chnd_b_o__WRegion(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:67:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | out[0].b=fn(in[0].o); | ^ exports.c:70:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | static bool l2chnd_o_oo__WTiling_WRegion(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:74:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | out[0].o=fn(in[0].o, in[1].o); | ^ exports.c:77:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | static bool l2chnd_b_o__WTiling(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:80:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | out[0].b=fn(in[0].o); | ^ exports.c:83:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 83 | static bool l2chnd_o_oos__WTiling_WSplit_(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:87:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | out[0].o=fn(in[0].o, in[1].o, in[2].s); | ^ exports.c:90:55: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | static bool l2chnd_o_oosb__WTiling_WFrame__(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:94:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | out[0].o=fn(in[0].o, in[1].o, in[2].s, in[3].b); | ^ exports.c:97:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | static bool l2chnd_o_o__WSplitSplit(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:100:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | out[0].o=fn(in[0].o); | ^ exports.c:103:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 103 | static bool l2chnd_o_o__WTiling(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:106:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | out[0].o=fn(in[0].o); | ^ exports.c:109:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 109 | static bool l2chnd_o_o__WSplitInner(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:112:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | out[0].o=fn(in[0].o); | ^ exports.c:115:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | static bool l2chnd_v_o__WSplitSplit(void (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:118:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | fn(in[0].o); | ^ exports.c:121:48: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 121 | static bool l2chnd_s_o__WSplitSplit(char* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:124:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | out[0].s=fn(in[0].o); | ^ exports.c:127:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 127 | static bool l2chnd_v_o__WSplit(void (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:130:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | fn(in[0].o); | ^ exports.c:133:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 133 | static bool l2chnd_o_os__WTiling_(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:136:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | out[0].o=fn(in[0].o, in[1].s); | ^ exports.c:139:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 139 | static bool l2chnd_v_oo__WTiling_WRegion(void (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:143:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | fn(in[0].o, in[1].o); | ^ exports.c:146:48: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | static bool l2chnd_o_o__WSplitRegion(Obj* (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:149:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | out[0].o=fn(in[0].o); | ^ exports.c:152:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | static bool l2chnd_t_ot__WSplit_(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:155:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | out[0].t=fn(in[0].o, in[1].t); | ^ exports.c:158:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 158 | static bool l2chnd_b_oo__WTiling_WRegion(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:162:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | out[0].b=fn(in[0].o, in[1].o); | ^ exports.c:165:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | static bool l2chnd_v_t__(void (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:167:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | fn(in[0].t); | ^ exports.c:170:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 170 | static bool l2chnd_t_o__WSplit(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out) | ^ | void exports.c:173:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | out[0].t=fn(in[0].o); | ^ exports.c:177:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 177 | extern void splitsplit_dir(); | ^ | void exports.c:178:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 178 | extern void splitsplit_flip(); | ^ | void exports.c:179:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 179 | extern void splitsplit_tl(); | ^ | void exports.c:180:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 180 | extern void splitsplit_br(); | ^ | void exports.c:191:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 191 | extern void splitregion_reg(); | ^ | void exports.c:201:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | extern void mod_tiling_get(); | ^ | void exports.c:202:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 202 | extern void mod_tiling_untile(); | ^ | void exports.c:203:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 203 | extern void mod_tiling_mkbottom(); | ^ | void exports.c:204:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 204 | extern void mod_tiling_set(); | ^ | void exports.c:215:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void splitinner_current(); | ^ | void exports.c:224:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void tiling_split_tree(); | ^ | void exports.c:225:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 225 | extern void tiling_set_floating_extl(); | ^ | void exports.c:226:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void iowns_transpose_at(); | ^ | void exports.c:227:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 227 | extern void tiling_set_floating_at_extl(); | ^ | void exports.c:228:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void tiling_managed_i(); | ^ | void exports.c:229:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 229 | extern void tiling_unsplit_at(); | ^ | void exports.c:230:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void tiling_nextto(); | ^ | void exports.c:231:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 231 | extern void tiling_split(); | ^ | void exports.c:232:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 232 | extern void tiling_farthest(); | ^ | void exports.c:233:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 233 | extern void tiling_split_at(); | ^ | void exports.c:234:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 234 | extern void tiling_node_of(); | ^ | void exports.c:235:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 235 | extern void iowns_flip_at(); | ^ | void exports.c:236:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 236 | extern void tiling_split_top(); | ^ | void exports.c:257:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 257 | extern void split_rqgeom(); | ^ | void exports.c:258:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 258 | extern void split_transpose(); | ^ | void exports.c:259:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 259 | extern void split_geom(); | ^ | void exports.c:260:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 260 | extern void split_parent(); | ^ | void exports.c:271:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 271 | bool mod_tiling_register_exports() | ^ | void exports.c:284:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 284 | void mod_tiling_unregister_exports() | ^ | void 90 warnings generated. In file included from main.c:11: In file included from ../ioncore/common.h:16: ../libtu/output.h:43:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 43 | extern void die_err(); | ^ | void ../libtu/output.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void warn_err(); | ^ | void ../libtu/output.h:69:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | extern char *errmsg_err(); | ^ | void In file included from main.c:11: In file included from ../ioncore/common.h:23: In file included from ../libextl/extl.h:15: ../libextl/luaextl.h:52:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 52 | typedef bool ExtlL2CallHandler(void (*fn)(), ExtlL2Param *in, | ^ | void ../libextl/luaextl.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | extern ExtlFn extl_fn_none(); | ^ | void ../libextl/luaextl.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern ExtlTab extl_table_none(); | ^ | void ../libextl/luaextl.h:90:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | extern ExtlTab extl_create_table(); | ^ | void ../libextl/luaextl.h:194:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 194 | void extl_resethook(); | ^ | void ../libextl/luaextl.h:198:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | extern bool extl_init(); | ^ | void ../libextl/luaextl.h:199:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 199 | extern void extl_deinit(); | ^ | void In file included from main.c:12: In file included from ../ioncore/reginfo.h:14: In file included from ../ioncore/region.h:14: ../libmainloop/hooks.h:18:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | typedef void WHookDummy(); | ^ | void ../libmainloop/hooks.h:39:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | extern WHook *create_hook(); | ^ | void In file included from main.c:12: In file included from ../ioncore/reginfo.h:15: In file included from ../ioncore/window.h:14: In file included from ../ioncore/binding.h:13: ../libtu/rb.h:79:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | extern Rb_node make_rb(); /* Creates a new rb-tree */ | ^ | void In file included from main.c:12: In file included from ../ioncore/reginfo.h:15: In file included from ../ioncore/window.h:14: ../ioncore/binding.h:76:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | extern void ioncore_init_bindings(); | ^ | void ../ioncore/binding.h:77:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | extern void ioncore_update_modmap(); | ^ | void ../ioncore/binding.h:80:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | extern int ioncore_modstate(); | ^ | void ../ioncore/binding.h:82:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | extern WBindmap *create_bindmap(); | ^ | void In file included from main.c:13: ../libextl/readconfig.h:33:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 33 | extern const char *extl_userdir(); | ^ | void ../libextl/readconfig.h:34:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | extern const char *extl_sessiondir(); | ^ | void ../libextl/readconfig.h:35:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | extern const char *extl_searchpath(); | ^ | void In file included from main.c:14: In file included from ../ioncore/framep.h:12: In file included from ../ioncore/frame.h:20: In file included from ../ioncore/gr.h:24: In file included from ../ioncore/rootwin.h:14: ../ioncore/screen.h:65:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 65 | extern WScreen *ioncore_goto_next_screen(); | ^ | void ../ioncore/screen.h:66:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | extern WScreen *ioncore_goto_prev_screen(); | ^ | void In file included from main.c:14: In file included from ../ioncore/framep.h:12: In file included from ../ioncore/frame.h:20: ../ioncore/gr.h:96:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 96 | extern void gr_refresh(); | ^ | void ../ioncore/gr.h:97:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 97 | extern void gr_read_config(); | ^ | void In file included from main.c:14: In file included from ../ioncore/framep.h:13: In file included from ../ioncore/llist.h:17: ../ioncore/stacking.h:59:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | WStacking *create_stacking(); | ^ | void In file included from main.c:15: ../ioncore/bindmaps.h:29:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 29 | extern void ioncore_deinit_bindmaps(); | ^ | void ../ioncore/bindmaps.h:30:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 30 | extern bool ioncore_init_bindmaps(); | ^ | void ../ioncore/bindmaps.h:31:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 31 | extern void ioncore_refresh_bindmaps(); | ^ | void ../ioncore/bindmaps.h:40:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 40 | extern ExtlTab ioncore_do_getbindings(); | ^ | void In file included from main.c:18: ./main.h:15:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 15 | extern bool mod_tiling_init(); | ^ | void ./main.h:16:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 16 | extern void mod_tiling_deinit(); | ^ | void In file included from main.c:19: In file included from ./tiling.h:21: ./split.h:213:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 213 | extern void splittree_begin_resize(); | ^ | void ./split.h:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | extern void splittree_end_resize(); | ^ | void In file included from main.c:21: ./exports.h:7:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7 | extern bool mod_tiling_register_exports(); | ^ | void ./exports.h:8:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 8 | extern void mod_tiling_unregister_exports(); | ^ | void main.c:69:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | ExtlTab mod_tiling_get() | ^ | void main.c:87:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 87 | void mod_tiling_deinit() | ^ | void main.c:104:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 104 | static bool register_regions() | ^ | void main.c:120:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | static bool init_hooks() | ^ | void main.c:127:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 127 | bool mod_tiling_init() | ^ | void 40 warnings generated. clang -shared -L/opt/pkg/lib -Wl,--as-needed -lintl -lrt -Wl,--as-needed -L/lib -L/lib -lX11 -lXext -lintl -lrt main.o tiling.o placement.o split.o split-stdisp.o splitfloat.o panehandle.o ops.o exports.o -L/lib -L/lib -lX11 -lXext -o mod_tiling.so ld: warning: ignoring duplicate libraries: '-lX11', '-lXext', '-lintl', '-lrt' ld: library 'rt' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [../build/rules.mk:149: mod_tiling.so] Error 1 gmake[1]: Leaving directory '/var/tmp/work/wm/notion/work/notion-3-2017050501/mod_tiling' gmake: *** [build/rules.mk:225: subdirs] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/notion *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/notion