>>> Building on sparc64-2c under graphics/decker BDEPENDS = [devel/gmake;devel/sdl2-image;devel/sdl2;lang/gcc/8;editors/vim;shells/bash] DIST = [graphics/decker:JohnEarnest-Decker-v1.51.tar.gz] FULLPKGNAME = decker-1.51 RDEPENDS = [devel/desktop-file-utils;devel/sdl2;devel/sdl2-image;devel/xdg-utils] (Junk lock obtained for sparc64-2c at 1731447559.36) >>> Running depends in graphics/decker at 1731447559.46 last junk was in x11/gnome/desktop /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.764-gtk3 was: /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 gcc-8.4.0p25 gmake-4.4.1 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.764-gtk3 /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.764-gtk3 New and changed readme(s): /usr/local/share/doc/pkg-readmes/sdl2 >>> Running show-prepare-results in graphics/decker at 1731447628.39 ===> graphics/decker ===> Building from scratch decker-1.51 ===> decker-1.51 depends on: vim-* -> vim-9.1.764-gtk3 ===> decker-1.51 depends on: bash-* -> bash-5.2.37 ===> decker-1.51 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> decker-1.51 depends on: gmake-* -> gmake-4.4.1 ===> decker-1.51 depends on: sdl2-* -> sdl2-2.30.9p1 ===> decker-1.51 depends on: sdl2-image-* -> sdl2-image-2.8.2p1 ===> Verifying specs: SDL2 SDL2_image c m ===> found SDL2.0.15 SDL2_image.1.1 c.100.3 m.10.1 bash-5.2.37 gcc-8.4.0p25 gmake-4.4.1 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.764-gtk3 (Junk lock released for sparc64-2c at 1731447638.25) distfiles size=1655232 >>> Running build in graphics/decker at 1731447638.34 ===> graphics/decker ===> Checking files for decker-1.51 `/usr/ports/distfiles/JohnEarnest-Decker-v1.51.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for decker-1.51 ===> Patching for decker-1.51 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- | - drop -O2 and respect CFLAGS | - make building verbose | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 34 (offset 7 lines). Hunk #2 succeeded at 40 (offset -6 lines). Hunk #3 succeeded at 70 (offset 7 lines). done ===> Applying OpenBSD patch patch-c_dom_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- add sys/wait.h for WIFEXITED and WEXITSTATUS | |Index: c/dom.h |--- c/dom.h.orig |+++ c/dom.h -------------------------- Patching file c/dom.h using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-scripts_test_interpreter_sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |remove unsupported (and apparently not needed) diff flag. | |Index: scripts/test_interpreter.sh |--- scripts/test_interpreter.sh.orig |+++ scripts/test_interpreter.sh -------------------------- Patching file scripts/test_interpreter.sh using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 32. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for decker-1.51 ===> Configuring for decker-1.51 ===> Building for decker-1.51 chmod +x ./scripts/resources.sh ./scripts/resources.sh examples/decks/tour.deck mkdir -p c/build cc ./c/decker.c -o ./c/build/decker -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -L/usr/local/lib -lSDL2 -L/usr/X11R6/lib -R/usr/X11R6/lib -lSDL2_image -Wall -Werror -Wextra -Wpedantic -O2 -pipe -Wno-misleading-indentation -Wno-unknown-warning-option -lm -DVERSION="\"1.51\"" In file included from ./c/decker.c:2: ./c/lil.h: In function 'lmi': ./c/lil.h:112:60: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] lm(i ,6)(lv*(*f)(lv*,lv*,lv*),lv*n,lv*s){lv*r=lmv(6);r->f=(void*)f,r->a=n,r->b=s; return r;} ^ ./c/lil.h: In function 'lmnat': ./c/lil.h:115:51: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] lm(nat,9)(lv*(*f)(lv*,lv*),lv*c){lv*r=lmv(9);r->f=(void*)f,r->a=c; return r;} ^ ./c/lil.h: In function 'amend': ./c/lil.h:182:20: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] if(lii(x))return ((lv*(*)(lv*,lv*,lv*))x->f)(x,i,y); ^ ./c/lil.h: In function 'l_ati': ./c/lil.h:200:66: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] lv* l_ati(lv*x,lv*y){return lis(y)&&!strcmp(y->sv,"type")?x->a: ((lv*(*)(lv*,lv*,lv*))x->f)(x,y,NULL);} ^ In file included from ./c/decker.c:2: ./c/lil.h: In function 'flove': ./c/lil.h:521:33: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] else if(lii(x)){str_addl(s,ls(((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr("encoded"),NULL)));} ^ ./c/lil.h: At top level: ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:668:2: note: in expansion of macro 'prim' prim("-",l_negate),prim("!",l_not),prim("floor",l_floor),prim("cos",l_cos),prim("sin",l_sin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:668:21: note: in expansion of macro 'prim' prim("-",l_negate),prim("!",l_not),prim("floor",l_floor),prim("cos",l_cos),prim("sin",l_sin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:668:37: note: in expansion of macro 'prim' prim("-",l_negate),prim("!",l_not),prim("floor",l_floor),prim("cos",l_cos),prim("sin",l_sin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:668:59: note: in expansion of macro 'prim' prim("-",l_negate),prim("!",l_not),prim("floor",l_floor),prim("cos",l_cos),prim("sin",l_sin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:668:77: note: in expansion of macro 'prim' prim("-",l_negate),prim("!",l_not),prim("floor",l_floor),prim("cos",l_cos),prim("sin",l_sin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:669:2: note: in expansion of macro 'prim' prim("tan",l_tan),prim("exp",l_exp),prim("ln",l_ln),prim("sqrt",l_sqrt), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:669:20: note: in expansion of macro 'prim' prim("tan",l_tan),prim("exp",l_exp),prim("ln",l_ln),prim("sqrt",l_sqrt), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:669:38: note: in expansion of macro 'prim' prim("tan",l_tan),prim("exp",l_exp),prim("ln",l_ln),prim("sqrt",l_sqrt), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:669:54: note: in expansion of macro 'prim' prim("tan",l_tan),prim("exp",l_exp),prim("ln",l_ln),prim("sqrt",l_sqrt), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:670:2: note: in expansion of macro 'prim' prim("sum",l_sum),prim("prod",l_prod),prim("raze",l_raze),prim("max",l_amax),prim("min",l_amin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:670:20: note: in expansion of macro 'prim' prim("sum",l_sum),prim("prod",l_prod),prim("raze",l_raze),prim("max",l_amax),prim("min",l_amin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:670:40: note: in expansion of macro 'prim' prim("sum",l_sum),prim("prod",l_prod),prim("raze",l_raze),prim("max",l_amax),prim("min",l_amin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:670:60: note: in expansion of macro 'prim' prim("sum",l_sum),prim("prod",l_prod),prim("raze",l_raze),prim("max",l_amax),prim("min",l_amin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:670:79: note: in expansion of macro 'prim' prim("sum",l_sum),prim("prod",l_prod),prim("raze",l_raze),prim("max",l_amax),prim("min",l_amin), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:671:2: note: in expansion of macro 'prim' prim("count",l_count),prim("first",l_first),prim("last",l_last),prim("flip",l_flip), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:671:24: note: in expansion of macro 'prim' prim("count",l_count),prim("first",l_first),prim("last",l_last),prim("flip",l_flip), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:671:46: note: in expansion of macro 'prim' prim("count",l_count),prim("first",l_first),prim("last",l_last),prim("flip",l_flip), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:671:66: note: in expansion of macro 'prim' prim("count",l_count),prim("first",l_first),prim("last",l_last),prim("flip",l_flip), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:672:2: note: in expansion of macro 'prim' prim("range",l_range),prim("keys",l_keys),prim("list",l_list),prim("rows",l_rows), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:672:24: note: in expansion of macro 'prim' prim("range",l_range),prim("keys",l_keys),prim("list",l_list),prim("rows",l_rows), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:672:44: note: in expansion of macro 'prim' prim("range",l_range),prim("keys",l_keys),prim("list",l_list),prim("rows",l_rows), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:672:64: note: in expansion of macro 'prim' prim("range",l_range),prim("keys",l_keys),prim("list",l_list),prim("rows",l_rows), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:673:2: note: in expansion of macro 'prim' prim("cols",l_cols),prim("table",l_table),prim("typeof",l_typeof),prim("@tab",l_tab), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:673:22: note: in expansion of macro 'prim' prim("cols",l_cols),prim("table",l_table),prim("typeof",l_typeof),prim("@tab",l_tab), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:673:44: note: in expansion of macro 'prim' prim("cols",l_cols),prim("table",l_table),prim("typeof",l_typeof),prim("@tab",l_tab), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:673:68: note: in expansion of macro 'prim' prim("cols",l_cols),prim("table",l_table),prim("typeof",l_typeof),prim("@tab",l_tab), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:674:2: note: in expansion of macro 'prim' prim("mag",l_mag),prim("heading",l_heading),prim("unit",l_unit),prim("",NULL) ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:674:20: note: in expansion of macro 'prim' prim("mag",l_mag),prim("heading",l_heading),prim("unit",l_unit),prim("",NULL) ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:674:46: note: in expansion of macro 'prim' prim("mag",l_mag),prim("heading",l_heading),prim("unit",l_unit),prim("",NULL) ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:677:2: note: in expansion of macro 'prim' prim("+",l_add),prim("-",l_sub),prim("*",l_mul),prim("/",l_div),prim("%",l_mod), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:677:18: note: in expansion of macro 'prim' prim("+",l_add),prim("-",l_sub),prim("*",l_mul),prim("/",l_div),prim("%",l_mod), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:677:34: note: in expansion of macro 'prim' prim("+",l_add),prim("-",l_sub),prim("*",l_mul),prim("/",l_div),prim("%",l_mod), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:677:50: note: in expansion of macro 'prim' prim("+",l_add),prim("-",l_sub),prim("*",l_mul),prim("/",l_div),prim("%",l_mod), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:677:66: note: in expansion of macro 'prim' prim("+",l_add),prim("-",l_sub),prim("*",l_mul),prim("/",l_div),prim("%",l_mod), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:678:2: note: in expansion of macro 'prim' prim("^",l_pow),prim("<",l_less),prim(">",l_more),prim("=",l_eq),prim("&",l_min), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:678:18: note: in expansion of macro 'prim' prim("^",l_pow),prim("<",l_less),prim(">",l_more),prim("=",l_eq),prim("&",l_min), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:678:35: note: in expansion of macro 'prim' prim("^",l_pow),prim("<",l_less),prim(">",l_more),prim("=",l_eq),prim("&",l_min), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:678:52: note: in expansion of macro 'prim' prim("^",l_pow),prim("<",l_less),prim(">",l_more),prim("=",l_eq),prim("&",l_min), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:678:67: note: in expansion of macro 'prim' prim("^",l_pow),prim("<",l_less),prim(">",l_more),prim("=",l_eq),prim("&",l_min), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:679:2: note: in expansion of macro 'prim' prim("|",l_max),prim("~",l_match),prim("split",l_split),prim("fuse",l_fuse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:679:18: note: in expansion of macro 'prim' prim("|",l_max),prim("~",l_match),prim("split",l_split),prim("fuse",l_fuse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:679:36: note: in expansion of macro 'prim' prim("|",l_max),prim("~",l_match),prim("split",l_split),prim("fuse",l_fuse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:679:58: note: in expansion of macro 'prim' prim("|",l_max),prim("~",l_match),prim("split",l_split),prim("fuse",l_fuse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:680:2: note: in expansion of macro 'prim' prim("dict",l_dict),prim("take",l_take),prim("drop",l_drop),prim("in",l_in), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:680:22: note: in expansion of macro 'prim' prim("dict",l_dict),prim("take",l_take),prim("drop",l_drop),prim("in",l_in), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:680:42: note: in expansion of macro 'prim' prim("dict",l_dict),prim("take",l_take),prim("drop",l_drop),prim("in",l_in), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:680:62: note: in expansion of macro 'prim' prim("dict",l_dict),prim("take",l_take),prim("drop",l_drop),prim("in",l_in), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:681:2: note: in expansion of macro 'prim' prim(",",l_comma),prim("join",l_join),prim("cross",l_cross),prim("parse",l_parse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:681:20: note: in expansion of macro 'prim' prim(",",l_comma),prim("join",l_join),prim("cross",l_cross),prim("parse",l_parse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:681:40: note: in expansion of macro 'prim' prim(",",l_comma),prim("join",l_join),prim("cross",l_cross),prim("parse",l_parse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:681:62: note: in expansion of macro 'prim' prim(",",l_comma),prim("join",l_join),prim("cross",l_cross),prim("parse",l_parse), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:682:2: note: in expansion of macro 'prim' prim("format",l_format),prim("unless",l_unless),prim("limit",l_limit),prim("like",l_like),prim("window",l_window), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:682:26: note: in expansion of macro 'prim' prim("format",l_format),prim("unless",l_unless),prim("limit",l_limit),prim("like",l_like),prim("window",l_window), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:682:50: note: in expansion of macro 'prim' prim("format",l_format),prim("unless",l_unless),prim("limit",l_limit),prim("like",l_like),prim("window",l_window), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:682:72: note: in expansion of macro 'prim' prim("format",l_format),prim("unless",l_unless),prim("limit",l_limit),prim("like",l_like),prim("window",l_window), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:682:92: note: in expansion of macro 'prim' prim("format",l_format),prim("unless",l_unless),prim("limit",l_limit),prim("like",l_like),prim("window",l_window), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:683:2: note: in expansion of macro 'prim' prim("@where",l_where),prim("@by",l_by),prim("",NULL) ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:683:25: note: in expansion of macro 'prim' prim("@where",l_where),prim("@by",l_by),prim("",NULL) ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:686:2: note: in expansion of macro 'prim' prim("@sel",l_select),prim("@ext",l_extract),prim("@upd",l_update),prim("@ins",l_ins), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:686:24: note: in expansion of macro 'prim' prim("@sel",l_select),prim("@ext",l_extract),prim("@upd",l_update),prim("@ins",l_ins), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:686:47: note: in expansion of macro 'prim' prim("@sel",l_select),prim("@ext",l_extract),prim("@upd",l_update),prim("@ins",l_ins), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:686:69: note: in expansion of macro 'prim' prim("@sel",l_select),prim("@ext",l_extract),prim("@upd",l_update),prim("@ins",l_ins), ^~~~ ./c/lil.h:666:22: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] #define prim(n,f) {n,(void*)f} ^ ./c/lil.h:687:2: note: in expansion of macro 'prim' prim("@orderby",l_orderby),prim("",NULL) ^~~~ ./c/lil.h: In function 'docall': ./c/lil.h:988:20: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] if(linat(f)){ret(((lv*(*)(lv*,lv*))f->f)(f->a,a));return;} ^ ./c/lil.h:982:39: note: in definition of macro 'ret' #define ret(x) ll_add(state.p,x) ^ ./c/lil.h: In function 'runop': ./c/lil.h:1009:40: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] case OP1:{ ret(((lv*(*)(lv* ))monads[imm].func)(arg() ));break;} ^ ./c/lil.h:982:39: note: in definition of macro 'ret' #define ret(x) ll_add(state.p,x) ^ ./c/lil.h:1010:40: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] case OP2:{ lv*y=arg();ret(((lv*(*)(lv*,lv* ))dyads [imm].func)(arg(),y ));break;} ^ ./c/lil.h:982:39: note: in definition of macro 'ret' #define ret(x) ll_add(state.p,x) ^ ./c/lil.h:1011:40: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] case OP3:{lv*z=arg();lv*y=arg();ret(((lv*(*)(lv*,lv*,lv*))triads[imm].func)(arg(),y,z));break;} ^ ./c/lil.h:982:39: note: in definition of macro 'ret' #define ret(x) ll_add(state.p,x) ^ ./c/lil.h:1027:28: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] lv*x=arg();lv*(*f)(lv*)=(lv*(*)(lv*))monads[imm].func; ^ ./c/lil.h: In function 'writexmlrec': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1192:27: note: in expansion of macro 'ifield' lv*ck=lmistr("cast"),*c=ifield(x,"cast");iwrite(x,ck,lmistr("char")); ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/lil.h:1192:44: note: in expansion of macro 'iwrite' lv*ck=lmistr("cast"),*c=ifield(x,"cast");iwrite(x,ck,lmistr("char")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1193:44: note: in expansion of macro 'ifield' lv*off=lml(2);off->lv[0]=NONE,off->lv[1]=ifield(x,"size"); ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/lil.h:1194:14: note: in expansion of macro 'iwrite' str_addl(s,iwrite(x,off,NULL)),iwrite(x,ck,c); ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/lil.h:1194:34: note: in expansion of macro 'iwrite' str_addl(s,iwrite(x,off,NULL)),iwrite(x,ck,c); ^~~~~~ ./c/dom.h: In function 'n_go': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:46:65: note: in expansion of macro 'ifield' lv*data=self->b,*x=l_first(z),*r=NULL,*k=lmistr("card"),*cards=ifield(self,"cards");int i=ln(dget(data,k)); ^~~~~~ ./c/dom.h: In function 'ancestors_inner': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:171:30: note: in expansion of macro 'ifield' lv*t=contraption_is(target)?ifield(target,"def"):target; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:172:7: note: in expansion of macro 'ifield' lv*s=ifield(t,"script"),*block=parse(s&&s->c?s->sv:""); ^~~~~~ ./c/dom.h: In function 'ancestors_outer': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:178:7: note: in expansion of macro 'ifield' lv*s=ifield(target,"script"),*block=parse(s&&s->c?s->sv:""); ^~~~~~ ./c/dom.h: In function 'event_invokev': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:198:15: note: in expansion of macro 'ifield' lv*modules=ifield(t,"modules"),*cards=ifield(t,"cards"); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:198:42: note: in expansion of macro 'ifield' lv*modules=ifield(t,"modules"),*cards=ifield(t,"cards"); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:712:39: note: in definition of macro 'blk_lit' #define blk_lit(x,v) blk_imm(x,LIT,v) ^ ./c/dom.h:199:29: note: in expansion of macro 'ifield' EACH(z,modules)blk_lit(b,ifield(modules->lv[z],"value")),blk_loc(b,modules->kv[z]),blk_op(b,DROP); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:712:39: note: in definition of macro 'blk_lit' #define blk_lit(x,v) blk_imm(x,LIT,v) ^ ./c/dom.h:223:12: note: in expansion of macro 'ifield' blk_lit(b,ifield(deck,"patterns")),blk_loc(b,lmistr("patterns")),blk_op(b,DROP); ^~~~~~ ./c/dom.h: In function 'fire_attr_sync': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:245:62: note: in expansion of macro 'ifield' dset(root,lmistr("deck"),deck),dset(root,lmistr("patterns"),ifield(deck,"patterns")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:247:7: note: in expansion of macro 'ifield' lv*s=ifield(ivalue(target,"def"),"script"),*sb=parse(s&&s->c?s->sv:"");if(perr()){sb=parse("");}blk_cat(b,sb),blk_op(b,DROP); ^~~~~~ ./c/dom.h: In function 'interface_font': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:660:53: note: in expansion of macro 'iwrite' lv*r=font_make(pair_max(getpair(x),(pair){1,1}));iwrite(r,lmistr("space"),ifield(self,"space")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:660:78: note: in expansion of macro 'ifield' lv*r=font_make(pair_max(getpair(x),(pair){1,1}));iwrite(r,lmistr("space"),ifield(self,"space")); ^~~~~~ ./c/lil.h:1088:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iindex(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmn(k),v) ^ ./c/dom.h:661:25: note: in expansion of macro 'iindex' for(int z=0;z<96;z++)iindex(r,z,iindex(self,z,NULL));self->b=r->b;return x; ^~~~~~ ./c/lil.h:1088:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iindex(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmn(k),v) ^ ./c/dom.h:661:25: note: in expansion of macro 'iindex' for(int z=0;z<96;z++)iindex(r,z,iindex(self,z,NULL));self->b=r->b;return x; ^~~~~~ ./c/dom.h:661:36: note: in expansion of macro 'iindex' for(int z=0;z<96;z++)iindex(r,z,iindex(self,z,NULL));self->b=r->b;return x; ^~~~~~ ./c/dom.h: In function 'interface_patterns': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:705:95: note: in expansion of macro 'iwrite' if(t>= 2&&t<=27&&image_is(x)){for(int a=0;a<8;a++)for(int b=0;b<8;b++)pal_pat(pal,t,b,a)=lb(iwrite(x,lmpair((pair){b,a}),NULL));} ^~~~~~ ./c/dom.h: In function 'pick_palette': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:725:50: note: in expansion of macro 'ifield' void pick_palette(lv*deck){char*pal=patterns_pal(ifield(deck,"patterns"));for(int z=0;z<16;z++)COLORS[z]=pal_col_get(pal,z);} ^~~~~~ In file included from ./c/decker.c:3: ./c/dom.h: At top level: ./c/dom.h:762:12: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0x38,0x7C,0xFE,0xFE,0xFE,0x7C,0x38,0x00, 0x10,0x00,0x41,0x08,0x80,0x11,0x00,0x22, ^~~~ ./c/dom.h:762:17: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0x38,0x7C,0xFE,0xFE,0xFE,0x7C,0x38,0x00, 0x10,0x00,0x41,0x08,0x80,0x11,0x00,0x22, ^~~~ ./c/dom.h:762:22: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0x38,0x7C,0xFE,0xFE,0xFE,0x7C,0x38,0x00, 0x10,0x00,0x41,0x08,0x80,0x11,0x00,0x22, ^~~~ ./c/dom.h:762:63: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0x38,0x7C,0xFE,0xFE,0xFE,0x7C,0x38,0x00, 0x10,0x00,0x41,0x08,0x80,0x11,0x00,0x22, ^~~~ ./c/dom.h:765:2: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:7: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:12: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:17: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:22: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:27: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:32: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:765:53: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0x00, 0x20,0x0A,0x80,0x24,0x01,0x48,0x02,0x51, ^~~~ ./c/dom.h:768:32: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x00, 0x02,0x00,0x08,0x00,0x20,0x00,0x80,0x00, ^~~~ ./c/dom.h:768:73: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x00, 0x02,0x00,0x08,0x00,0x20,0x00,0x80,0x00, ^~~~ ./c/dom.h:769:58: error: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Werror=overflow] 0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xFE,0x00,0x00,0x00,0x00, ^~~~ ./c/dom.h:770:17: error: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Werror=overflow] 0x00,0x00,0x00,0xAA,0x00,0x00,0x00,0x00, 0x00,0x00,0x20,0x10,0x08,0x00,0x00,0x00, ^~~~ ./c/dom.h:771:2: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x00, 0x80,0x00,0x20,0x00,0x08,0x00,0x02,0x00, ^~~~ ./c/dom.h:771:43: error: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Werror=overflow] 0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x00, 0x80,0x00,0x20,0x00,0x08,0x00,0x02,0x00, ^~~~ In file included from ./c/decker.c:2: ./c/dom.h: In function 'layout_richtext': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1050:112: note: in expansion of macro 'ifield' lv*texts=dget(table,lmistr("text")),*fonts=dget(table,lmistr("font")),*args=dget(table,lmistr("arg")),*dfonts=ifield(deck,"fonts"); ^~~~~~ ./c/dom.h: In function 'n_array_cat': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1250:25: note: in expansion of macro 'ifield' array_is(v)?lml2(ifield(v,"cast"),ifield(v,"size")): ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1250:42: note: in expansion of macro 'ifield' array_is(v)?lml2(ifield(v,"cast"),ifield(v,"size")): ^~~~~~ ./c/dom.h: In function 'unpack_widget': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1317:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1317:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1318:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1319:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/dom.h: In function 'value_inherit': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1324:12: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/dom.h:1324:19: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1324:12: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1324:12: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/dom.h:1324:19: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1324:49: note: in expansion of macro 'ifield' lv*p=dget(ifield(ifield(card,"def"),"widgets"),ifield(self,"name"));if(!p)return r; ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1325:7: note: in expansion of macro 'iwrite' lv*v=iwrite(p,key,NULL);if(r&&v&&matchr(r,v))self->b=l_drop(key,self->b);return r?r:v; ^~~~~~ ./c/dom.h: In function 'unpack_canvas': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1333:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1333:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1334:6: note: in expansion of macro 'ifield' ln(ifield(x,"scale")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1335:6: note: in expansion of macro 'ifield' lb(ifield(x,"border")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1336:6: note: in expansion of macro 'ifield' lb(ifield(x,"draggable")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1337:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1338:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/dom.h: In function 'canvas_size': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1344:17: note: in expansion of macro 'ifield' float scale=ln(ifield(self,"scale")); ^~~~~~ ./c/dom.h: In function 'container_image': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1349:20: note: in expansion of macro 'ifield' pair size=getpair(ifield(self,"size"));lv*image=dget(self->b,lmistr("image")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1351:65: note: in expansion of macro 'ifield' lv*i=ivalue(self,"image");float scale=!canvas_is(self)?1.0:ln(ifield(self,"scale")); ^~~~~~ ./c/dom.h: In function 'pick_canvas': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1359:6: note: in expansion of macro 'ifield' ln(ifield(self,"brush")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1360:6: note: in expansion of macro 'ifield' ln(ifield(self,"pattern")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1364:3: note: in expansion of macro 'ifield' ifield(self,"font"), ^~~~~~ ./c/dom.h: In function 'n_canvas_textsize': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1410:33: note: in expansion of macro 'ifield' lv*t=rtext_cast(l_first(z)),*f=ifield(self,"font");int w=z->c>1?ln(z->lv[1]):RTEXT_END; ^~~~~~ ./c/dom.h: In function 'interface_canvas': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1453:32: note: in expansion of macro 'ifield' ikey("lsize" ){float s=ln(ifield(self,"scale"));pair d=getpair(x);i=lmistr("size");x=lmpair((pair){d.x*s,d.y*s});} // falls through! ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1455:79: note: in expansion of macro 'ifield' ikey("scale" ){dset(data,i,lmn(MAX(0.1,ln(x))));canvas_size(self,getpair(ifield(self,"size")));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1464:36: note: in expansion of macro 'ifield' ikey("lsize" ){pair s=getpair(ifield(self,"size"));float z=ln(ifield(self,"scale"));return lmpair((pair){ceil(s.x/z),ceil(s.y/z)});} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1464:68: note: in expansion of macro 'ifield' ikey("lsize" ){pair s=getpair(ifield(self,"size"));float z=ln(ifield(self,"scale"));return lmpair((pair){ceil(s.x/z),ceil(s.y/z)});} ^~~~~~ ./c/dom.h: In function 'canvas_read': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1483:74: note: in expansion of macro 'iwrite' {lv*k=lmistr("image"),*v=dget(x,k);if(v){lv*i=image_read(v);dset(r,k,i);iwrite(ri,lmistr("size"),lmpair(image_size(i)));}} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1487:2: note: in expansion of macro 'init_field' init_field(ri,"border" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1488:2: note: in expansion of macro 'init_field' init_field(ri,"draggable",x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1489:2: note: in expansion of macro 'init_field' init_field(ri,"brush" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1490:2: note: in expansion of macro 'init_field' init_field(ri,"pattern" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1491:2: note: in expansion of macro 'init_field' init_field(ri,"font" ,x); ^~~~~~~~~~ ./c/dom.h: In function 'canvas_write': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1495:83: note: in expansion of macro 'ifield' lv*data=x->b,*r=lmd();dset(r,lmistr("type"),lmistr("canvas"));pair lsize=getpair(ifield(x,"lsize")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1497:68: note: in expansion of macro 'ifield' {lv*k=lmistr("image" ),*v=dget(data,k);if(v&&!is_blank(v)&&!lb(ifield(x,"volatile")))dset(r,k,image_write(v));} ^~~~~~ ./c/dom.h: In function 'unpack_button': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1513:3: note: in expansion of macro 'ifield' ifield(x,"text")->sv, ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1514:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1514:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1515:3: note: in expansion of macro 'ifield' ifield(x,"font"), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1516:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"style"),button_styles), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1517:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1518:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1519:3: note: in expansion of macro 'ifield' ifield(x,"shortcut")->sv[0], ^~~~~~ ./c/dom.h: In function 'button_read': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1540:2: note: in expansion of macro 'init_field' init_field(r,"text" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1541:2: note: in expansion of macro 'init_field' init_field(r,"style" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1542:2: note: in expansion of macro 'init_field' init_field(r,"value" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1543:2: note: in expansion of macro 'init_field' init_field(r,"shortcut",x); ^~~~~~~~~~ ./c/dom.h: In function 'button_write': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1550:50: note: in expansion of macro 'ifield' {lv*k=lmistr("value"),*v=dget(data,k);if(v&&!lb(ifield(x,"volatile")))dset(r,k,v);} ^~~~~~ ./c/dom.h: In function 'unpack_field': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1718:25: note: in expansion of macro 'ifield' if(value){value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll"));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1718:60: note: in expansion of macro 'ifield' if(value){value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll"));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1720:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1720:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1721:3: note: in expansion of macro 'ifield' ifield(x,"font"), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1722:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1723:6: note: in expansion of macro 'ifield' lb(ifield(x,"scrollbar")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1724:6: note: in expansion of macro 'ifield' lb(ifield(x,"border")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1725:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"style"),field_styles), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1726:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"align"),field_aligns), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1727:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/dom.h: In function 'n_field_scrollto': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1734:72: note: in expansion of macro 'iwrite' if(c.y<0){t+=c.y;}if(c.y+ch>=bi.h){t+=((c.y+ch)-bi.h);}if(t!=v.scroll)iwrite(self,lmistr("scroll"),lmn(t)); ^~~~~~ ./c/dom.h: In function 'interface_field': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1752:65: note: in expansion of macro 'iwrite' ikey("style" ){dset(data,i,normalize_enum(x,field_styles));iwrite(self,lmistr("value"),dget(data,lmistr("value")));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1766:65: note: in expansion of macro 'ifield' lv*card=ivalue(self,"card"),*deck=ivalue(card,"deck"),*fonts=ifield(deck,"fonts"); ^~~~~~ ./c/dom.h: In function 'field_read': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1775:42: note: in expansion of macro 'iwrite' {lv*k=lmistr("value"),*v=dget(x,k);if(v)iwrite(r,k,rtext_read(v));} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1776:2: note: in expansion of macro 'init_field' init_field(r,"border" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1777:2: note: in expansion of macro 'init_field' init_field(r,"scrollbar",x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1778:2: note: in expansion of macro 'init_field' init_field(r,"style" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1779:2: note: in expansion of macro 'init_field' init_field(r,"align" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1780:2: note: in expansion of macro 'init_field' init_field(r,"scroll" ,x); ^~~~~~~~~~ ./c/dom.h: In function 'field_write': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1784:74: note: in expansion of macro 'ifield' lv*data=x->b,*r=lmd();dset(r,lmistr("type"),lmistr("field"));int vol=lb(ifield(x,"volatile")); ^~~~~~ ./c/dom.h: In function 'unpack_slider': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1801:14: note: in expansion of macro 'ifield' lv*interval=ifield(x,"interval"); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1803:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1803:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1804:3: note: in expansion of macro 'ifield' ifield(x,"font"), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1805:3: note: in expansion of macro 'ifield' ifield(x,"format"), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1806:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1807:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"style"),slider_styles), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1808:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1811:6: note: in expansion of macro 'ifield' ln(ifield(x,"step")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1812:6: note: in expansion of macro 'ifield' ln(ifield(x,"value")), ^~~~~~ ./c/dom.h: In function 'interface_slider': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1819:63: note: in expansion of macro 'ifield' ikey("value" ){dset(data,i,lmn(slider_normalize(getfpair(ifield(self,"interval")),ln(ifield(self,"step")),ln(x))));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1819:91: note: in expansion of macro 'ifield' ikey("value" ){dset(data,i,lmn(slider_normalize(getfpair(ifield(self,"interval")),ln(ifield(self,"step")),ln(x))));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1820:70: note: in expansion of macro 'iwrite' ikey("step" ){double n=ln(x);dset(data,i,lmn(n<=0?0.000001:n));iwrite(self,lmistr("value"),dget(data,lmistr("value")));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1825:4: note: in expansion of macro 'iwrite' iwrite(self,lmistr("value"),ifield(self,"value"));return x; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1825:32: note: in expansion of macro 'ifield' iwrite(self,lmistr("value"),ifield(self,"value"));return x; ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1828:63: note: in expansion of macro 'ifield' ikey("value" ){lv*r=value_inherit(self,i);pair v=getpair(ifield(self,"interval"));return r?r:lmn(CLAMP(v.x,0,v.y));} ^~~~~~ ./c/dom.h: In function 'slider_read': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1838:2: note: in expansion of macro 'init_field' init_field(r,"interval",x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1839:2: note: in expansion of macro 'init_field' init_field(r,"step" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1840:2: note: in expansion of macro 'init_field' init_field(r,"value" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1841:2: note: in expansion of macro 'init_field' init_field(r,"format" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1842:2: note: in expansion of macro 'init_field' init_field(r,"style" ,x); ^~~~~~~~~~ ./c/dom.h: In function 'slider_write': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1848:63: note: in expansion of macro 'ifield' {lv*k=lmistr("value" ),*v=dget(data,k);if(v&&ln(v)!=0&&!lb(ifield(x,"volatile")))dset(r,k,v);} ^~~~~~ ./c/dom.h: In function 'unpack_grid': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1860:15: note: in expansion of macro 'ifield' value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll")),value->row=ln(ifield(x,"row")),value->col=ln(ifield(x,"col")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1860:50: note: in expansion of macro 'ifield' value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll")),value->row=ln(ifield(x,"row")),value->col=ln(ifield(x,"col")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1860:84: note: in expansion of macro 'ifield' value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll")),value->row=ln(ifield(x,"row")),value->col=ln(ifield(x,"col")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1860:115: note: in expansion of macro 'ifield' value->table=ifield(x,"value"),value->scroll=ln(ifield(x,"scroll")),value->row=ln(ifield(x,"row")),value->col=ln(ifield(x,"col")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1862:21: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1862:46: note: in expansion of macro 'ifield' rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size"))), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1863:3: note: in expansion of macro 'ifield' ifield(x,"font"), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1865:3: note: in expansion of macro 'ifield' ifield(x,"format")->sv, ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1866:6: note: in expansion of macro 'ifield' lb(ifield(x,"headers")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1867:6: note: in expansion of macro 'ifield' lb(ifield(x,"scrollbar")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1868:6: note: in expansion of macro 'ifield' lb(ifield(x,"lines")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1869:6: note: in expansion of macro 'ifield' lb(ifield(x,"bycell")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1870:16: note: in expansion of macro 'ifield' ordinal_enum(ifield(x,"show"),widget_shows), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1871:6: note: in expansion of macro 'ifield' lb(ifield(x,"locked")), ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1873:7: note: in expansion of macro 'ifield' lv*w=ifield(x,"widths");r.widths[0]=w->c;EACH(z,w)r.widths[1+z]=ln(w->lv[z]); ^~~~~~ ./c/dom.h: In function 'n_grid_scrollto': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1885:17: note: in expansion of macro 'iwrite' if(t!=v.scroll)iwrite(self,lmistr("scroll"),lmn(t)); ^~~~~~ ./c/dom.h: In function 'interface_grid': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1895:39: note: in expansion of macro 'iwrite' ikey("col" ){if(!lin(x))return iwrite(self,lmistr("colname"),x);int n=MAX(-1,ln(x));dset(data,i,lmn(n));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1896:21: note: in expansion of macro 'iwrite' ikey("colname" ){iwrite(self,lmistr("col"),lmn(dgeti(ifield(self,"value"),x)));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1896:57: note: in expansion of macro 'ifield' ikey("colname" ){iwrite(self,lmistr("col"),lmn(dgeti(ifield(self,"value"),x)));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1897:21: note: in expansion of macro 'iwrite' ikey("cell" ){iwrite(self,lmistr("col"),l_at(x,lmn(0))),iwrite(self,lmistr("row"),l_at(x,lmn(1)));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1897:63: note: in expansion of macro 'iwrite' ikey("cell" ){iwrite(self,lmistr("col"),l_at(x,lmn(0))),iwrite(self,lmistr("row"),l_at(x,lmn(1)));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1904:21: note: in expansion of macro 'iwrite' ikey("rowvalue" ){iwrite(self,lmistr("value" ),amend(ifield(self,"value" ),ifield(self,"row" ),x));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1904:58: note: in expansion of macro 'ifield' ikey("rowvalue" ){iwrite(self,lmistr("value" ),amend(ifield(self,"value" ),ifield(self,"row" ),x));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1904:82: note: in expansion of macro 'ifield' ikey("rowvalue" ){iwrite(self,lmistr("value" ),amend(ifield(self,"value" ),ifield(self,"row" ),x));return x;} ^~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1905:21: note: in expansion of macro 'iwrite' ikey("cellvalue"){iwrite(self,lmistr("rowvalue"),amend(ifield(self,"rowvalue"),ifield(self,"colname"),x));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1905:58: note: in expansion of macro 'ifield' ikey("cellvalue"){iwrite(self,lmistr("rowvalue"),amend(ifield(self,"rowvalue"),ifield(self,"colname"),x));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/lil.h:1089:56: note: in definition of macro 'iwrite' #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1905:82: note: in expansion of macro 'ifield' ikey("cellvalue"){iwrite(self,lmistr("rowvalue"),amend(ifield(self,"rowvalue"),ifield(self,"colname"),x));return x;} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1916:33: note: in expansion of macro 'ifield' ikey("cell" ){return lml2(ifield(self,"col"),ifield(self,"row"));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1916:52: note: in expansion of macro 'ifield' ikey("cell" ){return lml2(ifield(self,"col"),ifield(self,"row"));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1917:51: note: in expansion of macro 'ifield' ikey("row" ){lv*r=value_inherit(self,i),*v=ifield(self,"value");if(!r)return lmn(-1); int n=ln(r); return lmn(CLAMP(-1,n,v->n-1));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1918:51: note: in expansion of macro 'ifield' ikey("col" ){lv*c=value_inherit(self,i),*v=ifield(self,"value");if(!c)return lmn(-1); int n=ln(c); return lmn(CLAMP(-1,n,v->c-1));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1919:30: note: in expansion of macro 'ifield' ikey("colname" ){int c=ln(ifield(self,"col"));lv*v=ifield(self,"value");return c<0||c>=v->c?NONE: v->kv[c];} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1919:55: note: in expansion of macro 'ifield' ikey("colname" ){int c=ln(ifield(self,"col"));lv*v=ifield(self,"value");return c<0||c>=v->c?NONE: v->kv[c];} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1920:30: note: in expansion of macro 'ifield' ikey("rowvalue" ){int r=ln(ifield(self,"row")) ;lv*v=ifield(self,"value");return r<0|| r>=v->n ?lmd():l_at(v,lmn(r));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1920:80: note: in expansion of macro 'ifield' ikey("rowvalue" ){int r=ln(ifield(self,"row")) ;lv*v=ifield(self,"value");return r<0|| r>=v->n ?lmd():l_at(v,lmn(r));} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1921:30: note: in expansion of macro 'ifield' ikey("cellvalue"){int r=ln(ifield(self,"row")),c=ln(ifield(self,"col"));lv*v=ifield(self,"value");return r<0||c<0||r>=v->n||c>=v->c?NONE:v->lv[c]->lv[r];} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1921:55: note: in expansion of macro 'ifield' ikey("cellvalue"){int r=ln(ifield(self,"row")),c=ln(ifield(self,"col"));lv*v=ifield(self,"value");return r<0||c<0||r>=v->n||c>=v->c?NONE:v->lv[c]->lv[r];} ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1921:80: note: in expansion of macro 'ifield' ikey("cellvalue"){int r=ln(ifield(self,"row")),c=ln(ifield(self,"col"));lv*v=ifield(self,"value");return r<0||c<0||r>=v->n||c>=v->c?NONE:v->lv[c]->lv[r];} ^~~~~~ ./c/dom.h: In function 'grid_read': ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1927:2: note: in expansion of macro 'init_field' init_field(r,"scrollbar",x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1928:2: note: in expansion of macro 'init_field' init_field(r,"headers" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1929:2: note: in expansion of macro 'init_field' init_field(r,"lines" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1930:2: note: in expansion of macro 'init_field' init_field(r,"bycell" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1931:2: note: in expansion of macro 'init_field' init_field(r,"widths" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1932:2: note: in expansion of macro 'init_field' init_field(r,"format" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1933:2: note: in expansion of macro 'init_field' init_field(r,"scroll" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1934:2: note: in expansion of macro 'init_field' init_field(r,"row" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:17:71: note: in expansion of macro 'iwrite' #define init_field(dst,key,src) {lv*k=lmistr(key),*v=dget(src,k);if(v)iwrite(dst,k,v);} ^~~~~~ ./c/dom.h:1935:2: note: in expansion of macro 'init_field' init_field(r,"col" ,x); ^~~~~~~~~~ ./c/lil.h:1089:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define iwrite(x,k,v) ((lv*(*)(lv*,lv*,lv*))x->f)(x,k,v) ^ ./c/dom.h:1936:42: note: in expansion of macro 'iwrite' {lv*k=lmistr("value"),*v=dget(x,k);if(v)iwrite(r,k,l_table(v));} ^~~~~~ ./c/dom.h: In function 'grid_write': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1940:73: note: in expansion of macro 'ifield' lv*data=x->b,*r=lmd();dset(r,lmistr("type"),lmistr("grid"));int vol=lb(ifield(x,"volatile")); ^~~~~~ ./c/dom.h: In function 'contraption_reflow': ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1962:9: note: in expansion of macro 'ifield' lv*def=ifield(c,"def"),*swids=ifield(def,"widgets"),*dwids=ivalue(c,"widgets"); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1962:32: note: in expansion of macro 'ifield' lv*def=ifield(c,"def"),*swids=ifield(def,"widgets"),*dwids=ivalue(c,"widgets"); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1963:17: note: in expansion of macro 'ifield' rect m=getrect(ifield(def,"margin"));pair s=getpair(ifield(def,"size")), d=getpair(ifield(c,"size")); ^~~~~~ ./c/lil.h:1087:25: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] #define ifield(x,k) ((lv*(*)(lv*,lv*,lv*))x->f)(x,lmistr(k),NULL) ^ ./c/dom.h:1963:54: note: in expansion of macro 'ifield'