>>> Building on sparc64-2c under graphics/decker BDEPENDS = [editors/vim;devel/sdl2;devel/sdl2-image;devel/gmake;shells/bash] DIST = [graphics/decker:JohnEarnest-Decker-v1.51.tar.gz] FULLPKGNAME = decker-1.51 RDEPENDS = [devel/sdl2;devel/desktop-file-utils;devel/xdg-utils;devel/sdl2-image] (Junk lock obtained for sparc64-2c at 1733259636.27) >>> Running depends in graphics/decker at 1733259636.37 last junk was in devel/elfcat /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.866-gtk3 was: /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 gmake-4.4.1 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.866-gtk3 /usr/sbin/pkg_add -aI -Drepair bash-5.2.37 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.866-gtk3 >>> Running show-prepare-results in graphics/decker at 1733259674.57 ===> graphics/decker ===> Building from scratch decker-1.51 ===> decker-1.51 depends on: vim-* -> vim-9.1.866-gtk3 ===> decker-1.51 depends on: bash-* -> bash-5.2.37 ===> 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 gmake-4.4.1 sdl2-2.30.9p1 sdl2-image-2.8.2p1 vim-9.1.866-gtk3 Still tainted: host marked nojunk by x11/qt5/qtbase >>> Running junk in graphics/decker at 1733259684.16 Can't run junk because of lock on x11/qt5/qtbase (Junk lock released for sparc64-2c at 1733259688.82) distfiles size=1655232 >>> Running build in graphics/decker at 1733259688.96 ===> 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: cc -> /usr/bin/cc ===> 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\"" cc1: error: unrecognized command line option "-Wpedantic" cc1: error: unrecognized command line option "-Wno-unknown-warning-option" gmake: *** [Makefile:59: decker] Error 1 *** Error 2 in graphics/decker (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/decker-1.51/.build_done': @cd /usr/obj/ports/d...) *** Error 2 in graphics/decker (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=decker-1.51; export _LOCKS_HELD=" decker-1.51"...) ===> Exiting graphics/decker with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1733259695.49 max_stuck=22.13/depends=38.20/show-prepare-results=9.29/junk=4.75/build=6.65 Error: job failed with 512 on sparc64-2c at 1733259695 >>> Wiping on sparc64-2c under graphics/decker BDEPENDS = [editors/vim;devel/sdl2;devel/sdl2-image;devel/gmake;shells/bash] FULLPKGNAME = decker-1.51 RDEPENDS = [devel/sdl2;devel/desktop-file-utils;devel/xdg-utils;devel/sdl2-image] >>> Running clean in graphics/decker at 1733260438.42 ===> graphics/decker ===> Cleaning for decker-1.51 >>> Ended at 1733260439.72 max_stuck=0.00/clean=1.41 >>> Building on sparc64-0c under graphics/decker BDEPENDS = [editors/vim;devel/sdl2;lang/gcc/8;devel/gmake;devel/sdl2-image;shells/bash] DIST = [graphics/decker:JohnEarnest-Decker-v1.51.tar.gz] FULLPKGNAME = decker-1.51 RDEPENDS = [devel/sdl2-image;devel/xdg-utils;devel/desktop-file-utils;devel/sdl2] (Junk lock obtained for sparc64-0c at 1733260476.84) >>> Running depends in graphics/decker at 1733260476.94 last junk was in x11/dragon-drop /usr/sbin/pkg_add -aI -Drepair sdl2-2.30.9p1 sdl2-image-2.8.2p1 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.866-gtk3 /usr/sbin/pkg_add -aI -Drepair sdl2-2.30.9p1 sdl2-image-2.8.2p1 gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv120__si_class_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv117__class_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv119__pointer_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv123__fundamental_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv121__vmi_class_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv129__pointer_to_member_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv117__pbase_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv117__array_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv116__enum_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv120__function_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libgraphite2.so.2.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv117__class_type_infoE) size mismatch, relink your program gdk-pixbuf-query-loaders:/usr/local/lib/libgraphite2.so.2.0: /usr/lib/libc++abi.so.7.0 : WARNING: symbol(_ZTVN10__cxxabiv120__si_class_type_infoE) size mismatch, relink your program >>> Running show-prepare-results in graphics/decker at 1733260508.23 ===> graphics/decker ===> Building from scratch decker-1.51 ===> decker-1.51 depends on: vim-* -> vim-9.1.866-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.866-gtk3 (Junk lock released for sparc64-0c at 1733260516.61) distfiles size=1655232 >>> Running build in graphics/decker at 1733260516.71 ===> 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' 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:85: 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:1966:18: note: in expansion of macro 'ifield' pair a=getpair(ifield(swid,"pos")), b=pair_add(getpair(ifield(swid,"size")),a); ^~~~~~ ./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:1966:58: note: in expansion of macro 'ifield' pair a=getpair(ifield(swid,"pos")), b=pair_add(getpair(ifield(swid,"size")),a); ^~~~~~ ./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:1968:3: note: in expansion of macro 'iwrite' iwrite(dwid,lmistr("pos"),lmpair(a)),iwrite(dwid,lmistr("size"),lmpair(pair_sub(b,a))); ^~~~~~ ./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:1968:40: note: in expansion of macro 'iwrite' iwrite(dwid,lmistr("pos"),lmpair(a)),iwrite(dwid,lmistr("size"),lmpair(pair_sub(b,a))); ^~~~~~ ./c/dom.h: In function 'interface_contraption': ./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:1982:19: note: in expansion of macro 'ifield' rect m=getrect(ifield(def,"margin")); ^~~~~~ ./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:1990:26: note: in expansion of macro 'ifield' ikey("size" )return lb(ifield(def,"resizable"))?dget(data,i):ifield(def,"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:1990:64: note: in expansion of macro 'ifield' ikey("size" )return lb(ifield(def,"resizable"))?dget(data,i):ifield(def,"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:1991:23: note: in expansion of macro 'ifield' ikey("image")return ifield(dget(data,lmistr("def")),"image"); ^~~~~~ ./c/dom.h: In function 'contraption_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:1999:20: note: in expansion of macro 'ifield' lv*data=x->b,*def=ifield(x,"def"),*r=lmd(); ^~~~~~ ./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:2000:68: note: in expansion of macro 'ifield' dset(r,lmistr("type"),lmistr("contraption")),dset(r,lmistr("def"),ifield(def,"name")); ^~~~~~ ./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:2001:7: note: in expansion of macro 'ifield' lv*o=ifield(def,"widgets"),*w=dget(data,lmistr("widgets")),*wids=lmd();EACH(z,w){ ^~~~~~ ./c/dom.h: In function 'contraption_read': ./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:2008:82: note: in expansion of macro 'ifield' x=ld(x);lv*card=dget(r,lmistr("card")),*deck=dget(card->b,lmistr("deck")),*defs=ifield(deck,"contraptions"); ^~~~~~ ./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:2011:7: note: in expansion of macro 'ifield' lv*d=ifield(def,"widgets"),*w=dget(x,lmistr("widgets"));if(w){w=ld(w);}else{w=lmd();EACH(z,d)dset(w,d->kv[z],lmd());} ^~~~~~ ./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:2014:49: note: in expansion of macro 'ifield' lv*i=widget_read(a,ri);if(lii(i))dset(widgets,ifield(i,"name"),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:2016:36: note: in expansion of macro 'iwrite' {lv*k=lmistr("size"),*v=dget(x,k);iwrite(ri,k,v?v:ifield(def,"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/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:2016:52: note: in expansion of macro 'ifield' {lv*k=lmistr("size"),*v=dget(x,k);iwrite(ri,k,v?v:ifield(def,"size"));} ^~~~~~ ./c/dom.h: In function 'n_toggle': ./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:2024:68: note: in expansion of macro 'ifield' lv*s=x->c<1?lmistr("solid"):x->lv[0], *v=x->c<2?NONE:x->lv[1], *o=ifield(wid,"show"), *n=lmistr("none"); ^~~~~~ ./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:2025:54: note: in expansion of macro 'iwrite' lv*r=(x->c<2?matchr(o,n):(lb(v)&&!matchr(v,n)))?s:n;iwrite(wid,lmistr("show"),r);return r; ^~~~~~ ./c/dom.h: In function 'widget_add': ./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:2027:93: note: in expansion of macro 'ifield' lv* widget_add(lv*card,lv*x){lv*r=widget_read(x,card);if(lii(r))dset(ivalue(card,"widgets"),ifield(r,"name"),r);return r;} ^~~~~~ ./c/dom.h: In function 'interface_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:2029:77: note: in expansion of macro 'ifield' lv*data=self->b,*card=ivalue(self,"card"),*deck=ivalue(card,"deck"),*fonts=ifield(deck,"fonts"); ^~~~~~ ./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:2059:19: note: in expansion of macro 'ifield' pair c=getpair(ifield(card,"size")),p=getpair(ifield(self,"pos")),d=getpair(ivalue(deck,"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:2059:50: note: in expansion of macro 'ifield' pair c=getpair(ifield(card,"size")),p=getpair(ifield(self,"pos")),d=getpair(ivalue(deck,"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:2060:58: note: in expansion of macro 'ifield' lv*con=card;while(contraption_is(con)){pair o=getpair(ifield(con,"pos"));p.x+=o.x,p.y+=o.y;con=ivalue(con,"card"),c=getpair(ifield(con,"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:2060:128: note: in expansion of macro 'ifield' lv*con=card;while(contraption_is(con)){pair o=getpair(ifield(con,"pos"));p.x+=o.x,p.y+=o.y;con=ivalue(con,"card"),c=getpair(ifield(con,"size"));} ^~~~~~ ./c/dom.h: In function 'widget_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:2076:2: note: in expansion of macro 'init_field' init_field(ri,"size" ,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:2077:2: note: in expansion of macro 'init_field' init_field(ri,"script" ,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:2078:2: note: in expansion of macro 'init_field' init_field(ri,"font" ,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:2079:2: note: in expansion of macro 'init_field' init_field(ri,"locked" ,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:2080:2: note: in expansion of macro 'init_field' init_field(ri,"animated",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:2081:2: note: in expansion of macro 'init_field' init_field(ri,"volatile",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:2082:2: note: in expansion of macro 'init_field' init_field(ri,"pos" ,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:2083:2: note: in expansion of macro 'init_field' init_field(ri,"show" ,x); ^~~~~~~~~~ ./c/dom.h: In function 'widget_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:2091:36: note: in expansion of macro 'ifield' {lv*k=lmistr("size" );dset(r,k,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:2092:36: note: in expansion of macro 'ifield' {lv*k=lmistr("pos" );dset(r,k,ifield(x,"pos" ));} ^~~~~~ ./c/dom.h: In function 'module_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:2152:2: note: in expansion of macro 'init_field' init_field(ri,"description",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:2153:2: note: in expansion of macro 'init_field' init_field(ri,"version",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:2154:2: note: in expansion of macro 'init_field' init_field(ri,"script",x); ^~~~~~~~~~ ./c/dom.h: In function 'n_card_remove': ./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:2189:10: note: in expansion of macro 'ifield' lv*name=ifield(z,"name"),*widgets=ivalue(self,"widgets"),*target=dget(widgets,name); ^~~~~~ ./c/dom.h: In function 'find_fonts': ./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:2204:23: note: in expansion of macro 'ifield' EACH(z,dwids){lv*f=ifield(dwids->lv[z],"font");dset(fonts,dkey(defs,f),f);} ^~~~~~ ./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:2206:28: note: in expansion of macro 'ifield' if(field_is(wid)&&matchr(ifield(wid,"style"),lmistr("rich"))){ // inside rtext field values ^~~~~~ ./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:2207:9: note: in expansion of macro 'ifield' lv*v=ifield(wid,"value"),*f=dget(v,lmistr("font")); ^~~~~~ ./c/dom.h: In function 'n_con_copy': ./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:2221:39: note: in expansion of macro 'ifield' lv*deck=ivalue(card,"deck"),*condefs=ifield(deck,"contraptions");find_fonts(deck,v,z);EACH(w,wids){ ^~~~~~ ./c/dom.h: In function 'merge_prototypes': ./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:2228:13: note: in expansion of macro 'ifield' lv*condefs=ifield(deck,"contraptions");EACH(d,defs){ ^~~~~~ ./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:2233:41: note: in expansion of macro 'ifield' lv*con=condefs->lv[c];if(matchr(name,ifield(con,"name"))&&matchr(desc,ifield(con,"description"))){ ^~~~~~ ./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:2233:74: note: in expansion of macro 'ifield' lv*con=condefs->lv[c];if(matchr(name,ifield(con,"name"))&&matchr(desc,ifield(con,"description"))){ ^~~~~~ ./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:2234:11: note: in expansion of macro 'ifield' if(ln(ifield(con,"version"))f)(x,lmistr(k),NULL) ^ ./c/dom.h:2238:37: note: in expansion of macro 'ifield' lv*p=prototype_read(def,deck),*nn=ifield(p,"name");dset(condefs,nn,p); ^~~~~~ ./c/dom.h: In function 'interface_card': ./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:2261:95: note: in expansion of macro 'ifield' ikey("index" ){reorder(cards,dgeti(cards,name),ln(x));dset(deck->b,lmistr("history"),l_list(ifield(self,"index")));return x;} ^~~~~~ ./c/dom.h: In function 'card_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:2292:2: note: in expansion of macro 'init_field' init_field(ri,"script",x);lv*w=dget(x,lmistr("widgets"));w=w?ll(w):lml(0); ^~~~~~~~~~ ./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:2293:106: note: in expansion of macro 'ifield' EACH(z,w){lv*n=dget(w->lv[z],lmistr("name"));if(n){lv*i=widget_read(w->lv[z],ri);if(lii(i))dset(widgets,ifield(i,"name"),i);}} ^~~~~~ ./c/dom.h: In function 'contraption_strip': ./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:2308:10: note: in expansion of macro 'ifield' dset(r,ifield(w,"name"),p); ^~~~~~ ./c/dom.h: In function 'contraption_update': ./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:2312:45: note: in expansion of macro 'ifield' lv*deck=dget(def->b,lmistr("deck")),*cards=ifield(deck,"cards");EACH(c,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:2313:33: note: in expansion of macro 'ifield' lv*card=cards->lv[c],*widgets=ifield(card,"widgets");EACH(w,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:2314:57: note: in expansion of macro 'ifield' lv*widget=widgets->lv[w];if(!contraption_is(widget)||ifield(widget,"def")!=def)continue; ^~~~~~ ./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:2315:33: note: in expansion of macro 'ifield' lv*d=widget_write(widget),*n=ifield(widget,"name"); ^~~~~~ ./c/dom.h: In function 'interface_prototype': ./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:2350:62: note: in expansion of macro 'ifield' ikey("margin" ){dset(data,i,normalize_margin(x,getpair(ifield(self,"size")))),contraption_update(self);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:2362:37: note: in expansion of macro 'ifield' ikey("font" )return l_first(ifield(ivalue(self,"deck"),"fonts")); ^~~~~~ ./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:2364:29: note: in expansion of macro 'ifield' ikey("parent" )return ifield(deck,"card"); ^~~~~~ ./c/dom.h: In function 'prototype_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:2399:48: note: in expansion of macro 'iwrite' {lv*k=lmistr("attributes" ),*v=dget(x,k);if(v)iwrite(ri,k,l_table(v));} ^~~~~~ ./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:2401:94: note: in expansion of macro 'ifield' {lv*k=lmistr("image" ),*v=dget(x,k);dset(r,k,v?image_read(v):image_make(lmbuff(getpair(ifield(ri,"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:2404:106: note: in expansion of macro 'ifield' EACH(z,w){lv*n=dget(w->lv[z],lmistr("name"));if(n){lv*i=widget_read(w->lv[z],ri);if(lii(i))dset(widgets,ifield(i,"name"),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:2405:2: note: in expansion of macro 'init_field' init_field(ri,"description",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:2406:2: note: in expansion of macro 'init_field' init_field(ri,"version" ,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:2407:2: note: in expansion of macro 'init_field' init_field(ri,"script" ,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:2408:2: note: in expansion of macro 'init_field' init_field(ri,"template" ,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:2409:81: note: in expansion of macro 'ifield' {lv*k=lmistr("margin"),*v=dget(x,k);dset(r,k,normalize_margin(v?v:NONE,getpair(ifield(ri,"size"))));} ^~~~~~ ./c/dom.h: In function 'n_deck_copy': ./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:2422:10: note: in expansion of macro 'ifield' lv*wids=ifield(z,"widgets");find_fonts(deck,v,wids);EACH(w,wids){ ^~~~~~ ./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:2424:8: note: in expansion of macro 'ifield' lv*d=ifield(wid,"def"),*n=ifield(d,"name");if(dget(defs,n)==NULL)dset(defs,n,prototype_write(d)); ^~~~~~ ./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:2424:29: note: in expansion of macro 'ifield' lv*d=ifield(wid,"def"),*n=ifield(d,"name");if(dget(defs,n)==NULL)dset(defs,n,prototype_write(d)); ^~~~~~ ./c/dom.h: In function 'deck_paste_named': ./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:2433:76: note: in expansion of macro 'ifield' lv*r=card_read(payload,deck);dset(dget(deck->b,lmistr("cards")),name?name:ifield(r,"name"),r);return r; ^~~~~~ ./c/dom.h: In function 'n_deck_add': ./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:2444:27: note: in expansion of macro 'ifield' if(z->c<2&&dget(modules,ifield(t,"name"))){ // replace ^~~~~~ ./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:2445:36: note: in expansion of macro 'ifield' n_deck_remove(self,dget(modules,ifield(t,"name")));modules=ivalue(self,"modules"); ^~~~~~ ./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:2446:56: note: in expansion of macro 'ifield' lv*r=module_read(module_write(t),self);dset(modules,ifield(r,"name"),r);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:2449:42: note: in expansion of macro 'ifield' lv*r=module_read(a,self);dset(modules,ifield(r,"name"),r);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:2453:24: note: in expansion of macro 'ifield' if(z->c<2&&dget(defs,ifield(t,"name"))){ // replace ^~~~~~ ./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:2454:12: note: in expansion of macro 'ifield' lv*name=ifield(t,"name"),*r=dget(defs,name); ^~~~~~ ./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:2459:42: note: in expansion of macro 'ifield' lv*r=prototype_read(a,self);dset(defs,ifield(r,"name"),r);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:2466:41: note: in expansion of macro 'ifield' lv*r=module_read(a,self);dset(modules,ifield(r,"name"),r);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:2470:41: note: in expansion of macro 'ifield' lv*r=prototype_read(a,self);dset(defs,ifield(r,"name"),r);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:2474:37: note: in expansion of macro 'ifield' lv*r=card_read(a,self);dset(cards,ifield(r,"name"),r);return r; ^~~~~~ ./c/dom.h: In function 'remove_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:2480:6: note: in expansion of macro 'ifield' if(ifield(widget,"font")==t)dset(widget->b,lmistr("font"),lmistr("body")); ^~~~~~ ./c/dom.h: In function 'n_deck_remove': ./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:2501:28: note: in expansion of macro 'ifield' EACH(c,cards)remove_font(ifield(cards->lv[c],"widgets"),t); ^~~~~~ ./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:2502:28: note: in expansion of macro 'ifield' EACH(c,defs )remove_font(ifield(defs ->lv[c],"widgets"),t); ^~~~~~ ./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:2508:12: note: in expansion of macro 'ifield' lv*cards=ifield(self,"cards");EACH(c,cards){ // scrub instances from every card: ^~~~~~ ./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:2509:34: note: in expansion of macro 'ifield' lv*card=cards->lv[c],*widgets=ifield(card,"widgets");EACH(w,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:2510:57: note: in expansion of macro 'ifield' lv*widget=widgets->lv[w];if(contraption_is(widget)&&ifield(widget,"def")==t)n_card_remove(card,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:2518:38: note: in expansion of macro 'ifield' dset(data,lmistr("history"),l_list(ifield(ifield(self,"card"),"index"))); ^~~~~~ ./c/dom.h:2518:45: note: in expansion of macro 'ifield' dset(data,lmistr("history"),l_list(ifield(ifield(self,"card"),"index"))); ^~~~~~ ./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:2518:38: note: in expansion of macro 'ifield' dset(data,lmistr("history"),l_list(ifield(ifield(self,"card"),"index"))); ^~~~~~ ./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:2518:38: note: in expansion of macro 'ifield' dset(data,lmistr("history"),l_list(ifield(ifield(self,"card"),"index"))); ^~~~~~ ./c/dom.h:2518:45: note: in expansion of macro 'ifield' dset(data,lmistr("history"),l_list(ifield(ifield(self,"card"),"index"))); ^~~~~~ ./c/dom.h: In function 'widget_purge': ./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:2523:9: note: in expansion of macro 'ifield' if(!lb(ifield(x,"volatile")))return; ^~~~~~ ./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:2524:18: note: in expansion of macro 'iwrite' if(button_is(x))iwrite(x,lmistr("value"),NONE); ^~~~~~ ./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:2525:18: note: in expansion of macro 'iwrite' if(slider_is(x))iwrite(x,lmistr("value"),NONE); ^~~~~~ ./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:2526:18: note: in expansion of macro 'iwrite' if(field_is (x))iwrite(x,lmistr("value"),lmistr("")),iwrite(x,lmistr("scroll"),NONE); ^~~~~~ ./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:2526:55: note: in expansion of macro 'iwrite' if(field_is (x))iwrite(x,lmistr("value"),lmistr("")),iwrite(x,lmistr("scroll"),NONE); ^~~~~~ ./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:2527:18: note: in expansion of macro 'iwrite' if(grid_is (x))iwrite(x,lmistr("value"),lmt() ),iwrite(x,lmistr("scroll"),NONE); ^~~~~~ ./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:2527:55: note: in expansion of macro 'iwrite' if(grid_is (x))iwrite(x,lmistr("value"),lmt() ),iwrite(x,lmistr("scroll"),NONE); ^~~~~~ ./c/dom.h: In function 'deck_read': ./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:2626:127: note: in expansion of macro 'ifield' {lv*k=lmistr("contraptions");defs =lmd();dset(r,k,defs );EACH(z,ddata){lv*v=prototype_read(ddata->lv[z],ri);dset(defs ,ifield(v,"name"),v);}} ^~~~~~ ./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:2627:127: note: in expansion of macro 'ifield' {lv*k=lmistr("cards" );cards =lmd();dset(r,k,cards );EACH(z,cdata){lv*v=card_read (cdata->lv[z],ri);dset(cards ,ifield(v,"name"),v);}} ^~~~~~ ./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:2628:34: note: in expansion of macro 'ifield' dset(r,lmistr("history"),l_list(ifield(ifield(ri,"card"),"index"))); ^~~~~~ ./c/dom.h:2628:41: note: in expansion of macro 'ifield' dset(r,lmistr("history"),l_list(ifield(ifield(ri,"card"),"index"))); ^~~~~~ ./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:2628:34: note: in expansion of macro 'ifield' dset(r,lmistr("history"),l_list(ifield(ifield(ri,"card"),"index"))); ^~~~~~ ./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:2628:34: note: in expansion of macro 'ifield' dset(r,lmistr("history"),l_list(ifield(ifield(ri,"card"),"index"))); ^~~~~~ ./c/dom.h:2628:41: note: in expansion of macro 'ifield' dset(r,lmistr("history"),l_list(ifield(ifield(ri,"card"),"index"))); ^~~~~~ ./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:2629:127: note: in expansion of macro 'ifield' {lv*k=lmistr("modules" );modules=lmd();dset(r,k,modules);EACH(z,mdata){lv*v=module_read (mdata->lv[z],ri);dset(modules,ifield(v,"name"),v);}} ^~~~~~ ./c/dom.h: In function 'deck_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:2691:44: note: in expansion of macro 'ifield' str_addz(&r,"{script}\n"),esc_write(&r,0,ifield(module,"script")),str_addz(&r,"\n{end}\n"); ^~~~~~ ./c/dom.h: In function 'free_canvas': ./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:2732:27: note: in expansion of macro 'iwrite' {lv*k=lmistr("size"); iwrite(r,k,dget(deck->b,k));} ^~~~~~ In file included from ./c/decker.c:3: ./c/dom.h: In function 'n_read': ./c/dom.h:2901:29: error: overflow in conversion from 'int' to 'char' changes value from '239' to '-17' [-Werror=overflow] char head[]={0,0,0},ref[]={0xEF,0xBB,0xBF};if(fread(head,1,sizeof(head),f)!=sizeof(head)){fclose(f);return lms(0);} ^~~~ ./c/dom.h:2901:34: error: overflow in conversion from 'int' to 'char' changes value from '187' to '-69' [-Werror=overflow] char head[]={0,0,0},ref[]={0xEF,0xBB,0xBF};if(fread(head,1,sizeof(head),f)!=sizeof(head)){fclose(f);return lms(0);} ^~~~ ./c/dom.h:2901:39: error: overflow in conversion from 'int' to 'char' changes value from '191' to '-65' [-Werror=overflow] char head[]={0,0,0},ref[]={0xEF,0xBB,0xBF};if(fread(head,1,sizeof(head),f)!=sizeof(head)){fclose(f);return lms(0);} ^~~~ In file included from ./c/decker.c:9: ./c/io_sdl2.h: In function 'base_path': ./c/io_sdl2.h:75:80: error: zero-length gnu_printf format string [-Werror=format-zero-length] if(t){snprintf(path,PATH_MAX,"%s",t);SDL_free(t);}else{snprintf(path,PATH_MAX,"");} ^~ In file included from ./c/decker.c:2: ./c/decker.c: In function 'con': ./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/decker.c:133:48: note: in expansion of macro 'ifield' lv* con(void){return ui_container?ui_container:ifield(deck,"card");} ^~~~~~ ./c/decker.c: In function 'con_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/decker.c:135:28: note: in expansion of macro 'ifield' lv* con_image(void){return ifield(con(),"image");} ^~~~~~ ./c/decker.c: In function 'con_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/decker.c:136:36: note: in expansion of macro 'ifield' pair con_size(void){return getpair(ifield(con(),"size"));} ^~~~~~ ./c/decker.c: In function 'tracking': ./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/decker.c:175:11: note: in expansion of macro 'ifield' lv*defs=ifield(deck,"contraptions");int i=dgeti(defs,ifield(c,"name")); ^~~~~~ ./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/decker.c:175:56: note: in expansion of macro 'ifield' lv*defs=ifield(deck,"contraptions");int i=dgeti(defs,ifield(c,"name")); ^~~~~~ ./c/decker.c: In function 'script_save': ./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/decker.c:205:15: note: in expansion of macro 'iwrite' if(sc.target)iwrite(sc.target,k,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/decker.c:206:46: note: in expansion of macro 'iwrite' if(sc.others&&sc.others->c)EACH(z,sc.others)iwrite(sc.others->lv[z],k,x); ^~~~~~ ./c/decker.c: In function 'menus_off': ./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/decker.c:316:31: note: in expansion of macro 'ifield' int menus_off(void){return lb(ifield(deck,"locked"));} ^~~~~~ ./c/decker.c: In function 'menu_finish': ./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/decker.c:351:65: note: in expansion of macro 'ifield' draw_rect(b,32),draw_hline(0,b.w,b.h,1); char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'field_change': ./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/decker.c:376:25: note: in expansion of macro 'iwrite' field_notify_disable=1;iwrite(wid.ft,lmistr("value"),wid.fv->table),mark_dirty();field_notify_disable=0; ^~~~~~ ./c/decker.c: In function 'setscript': ./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/decker.c:403:25: note: in expansion of macro 'ifield' sc.status[0]='\0';lv*v=ifield(sc.target,"script");int p=0; ^~~~~~ ./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/decker.c:410:61: note: in expansion of macro 'ifield' if(p&&widget_is(sc.target)&&!contraption_is(sc.target)&&lb(ifield(sc.target,"animated"))){v=l_fuse(lmistr(""),lml2(v,lmistr("\n\non view do\n \nend")));} ^~~~~~ ./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/decker.c:411:44: note: in expansion of macro 'ifield' if(!v->c&&contraption_is(sc.target)){lv*t=ifield(ifield(sc.target,"def"),"template");if(t->c)p=1,v=t;} ^~~~~~ ./c/decker.c:411:51: note: in expansion of macro 'ifield' if(!v->c&&contraption_is(sc.target)){lv*t=ifield(ifield(sc.target,"def"),"template");if(t->c)p=1,v=t;} ^~~~~~ ./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/decker.c:411:44: note: in expansion of macro 'ifield' if(!v->c&&contraption_is(sc.target)){lv*t=ifield(ifield(sc.target,"def"),"template");if(t->c)p=1,v=t;} ^~~~~~ ./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/decker.c:411:44: note: in expansion of macro 'ifield' if(!v->c&&contraption_is(sc.target)){lv*t=ifield(ifield(sc.target,"def"),"template");if(t->c)p=1,v=t;} ^~~~~~ ./c/decker.c:411:51: note: in expansion of macro 'ifield' if(!v->c&&contraption_is(sc.target)){lv*t=ifield(ifield(sc.target,"def"),"template");if(t->c)p=1,v=t;} ^~~~~~ ./c/decker.c: In function '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/decker.c:466:25: note: in expansion of macro 'ifield' char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'widget_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/decker.c:480:97: note: in expansion of macro 'ifield' int l=x.locked||!in_layer(); if(!x.font)x.font=FONT_MENU; rect b=x.size; char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'widget_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/decker.c:520:97: note: in expansion of macro 'ifield' int l=x.locked||!in_layer(); if(!x.font)x.font=FONT_MENU; rect b=x.size; char*pal=patterns_pal(ifield(deck,"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/decker.c:570:95: note: in expansion of macro 'iwrite' if(target&&fabs(ov-x.value)>(x.step/2)){msg.target_change=target,msg.arg_change=lmn(x.value);iwrite(target,lmistr("value"),msg.arg_change),mark_dirty();} ^~~~~~ ./c/decker.c: In function 'widget_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/decker.c:576:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'widget_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/decker.c:619:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(ifield(deck,"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/decker.c:680:49: note: in expansion of macro 'iwrite' GEN(r,MAX(x.widths[0],i+1))lmn(i==z?s:cw(z));iwrite(target,lmistr("widths"),r),mark_dirty(); ^~~~~~ ./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/decker.c:683:31: note: in expansion of macro 'iwrite' if(target&&os!=value->scroll)iwrite(target,lmistr("scroll"),lmn(value->scroll)),mark_dirty(); ^~~~~~ ./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/decker.c:684:28: note: in expansion of macro 'iwrite' if(target&&or!=value->row)iwrite(target,lmistr("row"),lmn(value->row)),mark_dirty(); ^~~~~~ ./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/decker.c:685:28: note: in expansion of macro 'iwrite' if(target&&oc!=value->col)iwrite(target,lmistr("col"),lmn(value->col)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'grid_apply': ./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/decker.c:693:2: note: in expansion of macro 'iwrite' iwrite(wid.gt,lmistr("value"),v),iwrite(wid.gt,lmistr("row"),lmn(-1)),mark_dirty(); ^~~~~~ ./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/decker.c:693:35: note: in expansion of macro 'iwrite' iwrite(wid.gt,lmistr("value"),v),iwrite(wid.gt,lmistr("row"),lmn(-1)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'grid_insertrow': ./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/decker.c:703:24: note: in expansion of macro 'iwrite' }grid_edit(torect(r));iwrite(wid.gt,lmistr("col"),NONE),iwrite(wid.gt,lmistr("row"),lmn(s)); ^~~~~~ ./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/decker.c:703:58: note: in expansion of macro 'iwrite' }grid_edit(torect(r));iwrite(wid.gt,lmistr("col"),NONE),iwrite(wid.gt,lmistr("row"),lmn(s)); ^~~~~~ ./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/decker.c:704:84: note: in expansion of macro 'iwrite' int os=wid.gv->scroll,ns=grid_scrollto(x,wid.g,os,s);if(os!=ns){wid.gv->scroll=ns,iwrite(wid.gt,lmistr("scroll"),lmn(ns));} ^~~~~~ ./c/decker.c: In function 'grid_edit_cell': ./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/decker.c:707:21: note: in expansion of macro 'iwrite' wid.gv->col=cell.x,iwrite(wid.gt,lmistr("col"),lmn(cell.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/decker.c:708:21: note: in expansion of macro 'iwrite' wid.gv->row=cell.y,iwrite(wid.gt,lmistr("row"),lmn(cell.y)); ^~~~~~ ./c/decker.c: In function 'grid_keys': ./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/decker.c:726:3: note: in expansion of macro 'iwrite' iwrite(wid.gt,lmistr("row"),lmn(r)),iwrite(wid.gt,lmistr("col"),lmn(c)),mark_dirty(); ^~~~~~ ./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/decker.c:726:39: note: in expansion of macro 'iwrite' iwrite(wid.gt,lmistr("row"),lmn(r)),iwrite(wid.gt,lmistr("col"),lmn(c)),mark_dirty(); ^~~~~~ ./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/decker.c:730:32: note: in expansion of macro 'iwrite' if(wid.gt&&os!=wid.gv->scroll)iwrite(wid.gt,lmistr("scroll"),lmn(wid.gv->scroll)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'widget_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/decker.c:779:96: note: in expansion of macro 'ifield' rect bc=box_intersect(frame.clip,bi); rect oc=frame.clip;frame.clip=bc; char*pal=patterns_pal(ifield(deck,"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/decker.c:797:31: note: in expansion of macro 'iwrite' if(target&&os!=value->scroll)iwrite(target,lmistr("scroll"),lmn(value->scroll)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'field_showcursor': ./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/decker.c:807:32: note: in expansion of macro 'iwrite' if(wid.ft&&os!=wid.fv->scroll)iwrite(wid.ft,lmistr("scroll"),lmn(wid.fv->scroll)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'handle_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/decker.c:903:13: note: in expansion of macro 'ifield' int v=lb(ifield(w,"value")); button p=unpack_button(w);p.size=rect_add(p.size,offset); ^~~~~~ ./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/decker.c:904:51: note: in expansion of macro 'iwrite' if(widget_button(w,p,v)&&p.style==button_check)iwrite(w,lmistr("value"),lmn(!v)),mark_dirty(); ^~~~~~ ./c/decker.c: In function 'widget_contraption': ./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/decker.c:920:24: note: in expansion of macro 'ifield' int show=ordinal_enum(ifield(x,"show"),widget_shows);if(show==show_none)return; ^~~~~~ ./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/decker.c:921:27: note: in expansion of macro 'ifield' rect b=rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size")));lv*image=ifield(x,"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/decker.c:921:52: note: in expansion of macro 'ifield' rect b=rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size")));lv*image=ifield(x,"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/decker.c:921:80: note: in expansion of macro 'ifield' rect b=rect_pair(getpair(ifield(x,"pos")),getpair(ifield(x,"size")));lv*image=ifield(x,"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/decker.c:922:82: note: in expansion of macro 'ifield' rect oc=frame.clip;frame.clip=box_intersect(frame.clip,b);char*pal=patterns_pal(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/decker.c:923:44: note: in expansion of macro 'ifield' draw_9seg(b,frame.buffer,image->b,getrect(ifield(ifield(x,"def"),"margin")),frame.clip,show==show_solid,show==show_invert?pal:NULL); ^~~~~~ ./c/decker.c:923:51: note: in expansion of macro 'ifield' draw_9seg(b,frame.buffer,image->b,getrect(ifield(ifield(x,"def"),"margin")),frame.clip,show==show_solid,show==show_invert?pal:NULL); ^~~~~~ ./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/decker.c:923:44: note: in expansion of macro 'ifield' draw_9seg(b,frame.buffer,image->b,getrect(ifield(ifield(x,"def"),"margin")),frame.clip,show==show_solid,show==show_invert?pal:NULL); ^~~~~~ ./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/decker.c:923:44: note: in expansion of macro 'ifield' draw_9seg(b,frame.buffer,image->b,getrect(ifield(ifield(x,"def"),"margin")),frame.clip,show==show_solid,show==show_invert?pal:NULL); ^~~~~~ ./c/decker.c:923:51: note: in expansion of macro 'ifield' draw_9seg(b,frame.buffer,image->b,getrect(ifield(ifield(x,"def"),"margin")),frame.clip,show==show_solid,show==show_invert?pal:NULL); ^~~~~~ ./c/decker.c: In function 'listener': ./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/decker.c:1042:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(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/decker.c:1052:56: note: in expansion of macro 'ifield' if(image_is(t)){t=l_format(lmistr("image[\"%s\"]"),ifield(t,"encoded"));} ^~~~~~ ./c/decker.c: In function 'sounds_enumerate': ./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/decker.c:1096:61: note: in expansion of macro 'ifield' lv*r=lmt(),*i=lml(0),*n=lml(0),*b=lml(0),*s=lml(0),*sounds=ifield(deck,"sounds"); ^~~~~~ ./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/decker.c:1100:45: note: in expansion of macro 'ifield' ll_add(b,l_format(lmistr("%.2fkb"),lmn(ln(ifield(sn,"size"))/1000.0*1.33))); ^~~~~~ ./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/decker.c:1101:38: note: in expansion of macro 'ifield' ll_add(s,l_format(lmistr("%.2fs" ),ifield(sn,"duration"))); ^~~~~~ ./c/decker.c: In function 'contraptions_enumerate': ./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/decker.c:1105:39: note: in expansion of macro 'ifield' lv*r=lmt(),*i=lml(0),*n=lml(0),*defs=ifield(deck,"contraptions");dset(r,lmistr("icon"),i),dset(r,lmistr("name"),n); ^~~~~~ ./c/decker.c: In function 'res_enumerate': ./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/decker.c:1125:9: note: in expansion of macro 'ifield' lv*pat=ifield(source,"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/decker.c:1128:11: note: in expansion of macro 'ifield' lv*fonts=ifield(source,"fonts" );fonts=l_drop(lmistr("body"),fonts),fonts=l_drop(lmistr("menu"),fonts),fonts=l_drop(lmistr("mono"),fonts); ^~~~~~ ./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/decker.c:1130:12: note: in expansion of macro 'ifield' lv*sounds=ifield(source,"sounds");EACH(z,sounds)ll_add(i,lmn(icon_sound)),ll_add(n,sounds->kv[z]),ll_add(v,sounds->lv[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/decker.c:1131:13: note: in expansion of macro 'ifield' lv*modules=ifield(source,"modules");EACH(z,modules)ll_add(i,lmn(icon_lil)),ll_add(n,modules->kv[z]),ll_add(v,modules->lv[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/decker.c:1132:10: note: in expansion of macro 'ifield' lv*defs=ifield(source,"contraptions");EACH(z,defs)ll_add(i,lmn(icon_app)),ll_add(n,defs->kv[z]),ll_add(v,defs->lv[z]); ^~~~~~ ./c/decker.c: In function 'draw_thumbnail': ./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/decker.c:1136:10: note: in expansion of macro 'ifield' lv*back=ifield(card,"image");r=inset(r,1);draw_rect(r,0);if(!is_empty(back))draw_scaled(r,back->b,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/decker.c:1137:10: note: in expansion of macro 'ifield' lv*wids=ifield(card,"widgets");pair s=getpair(ifield(card,"size"));float xr=r.w*(1.0/s.x), yr=r.h*(1.0/s.y); ^~~~~~ ./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/decker.c:1137:48: note: in expansion of macro 'ifield' lv*wids=ifield(card,"widgets");pair s=getpair(ifield(card,"size"));float xr=r.w*(1.0/s.x), yr=r.h*(1.0/s.y); ^~~~~~ ./c/decker.c: In function 'draw_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/decker.c:1145:21: note: in expansion of macro 'ifield' pair rsize=getpair(ifield(w,"size"));lv*buff=lmbuff(rsize),*r=image_make(buff);int im=ms.in_modal,it=ms.type;ms.in_modal=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/decker.c:1147:116: note: in expansion of macro 'ifield' if (button_is (w)){ button p=unpack_button(w) ;p.size.x=0,p.size.y=0;widget_button(w,p,lb(ifield(w,"value")));} ^~~~~~ ./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/decker.c:1151:44: note: in expansion of macro 'ifield' else if(contraption_is(w)){pair o=getpair(ifield(w,"pos"));iwrite(w,lmistr("pos"),lmpair((pair){0,0}));widget_contraption(w);iwrite(w,lmistr("pos"),lmpair(o));} ^~~~~~ ./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/decker.c:1151:61: note: in expansion of macro 'iwrite' else if(contraption_is(w)){pair o=getpair(ifield(w,"pos"));iwrite(w,lmistr("pos"),lmpair((pair){0,0}));widget_contraption(w);iwrite(w,lmistr("pos"),lmpair(o));} ^~~~~~ ./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/decker.c:1151:127: note: in expansion of macro 'iwrite' else if(contraption_is(w)){pair o=getpair(ifield(w,"pos"));iwrite(w,lmistr("pos"),lmpair((pair){0,0}));widget_contraption(w);iwrite(w,lmistr("pos"),lmpair(o));} ^~~~~~ ./c/decker.c: In function 'draw_con': ./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/decker.c:1156:21: note: in expansion of macro 'ifield' pair rsize=getpair(ifield(card,"size"));lv*buff=lmbuff(rsize),*r=image_make(buff); ^~~~~~ ./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/decker.c:1158:10: note: in expansion of macro 'ifield' lv*back=ifield(card,"image");pair bsize=image_size(back); ^~~~~~ ./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/decker.c:1162:66: note: in expansion of macro 'ifield' if (button_is (w)){widget_button(w,unpack_button(w),lb(ifield(w,"value")));} ^~~~~~ ./c/decker.c: In function 'modal_enter': ./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/decker.c:1227:13: note: in expansion of macro 'ifield' lv*sounds=ifield(deck,"sounds");EACH(z,sounds)if(sounds->lv[z]==au.target)ms.name=(field_val){rtext_cast(sounds->kv[z]),0}; ^~~~~~ ./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/decker.c:1229:12: note: in expansion of macro 'ifield' int s=ln(ifield(au.target,"size"));sound_resize(au.target,10*SFX_RATE);au.target->b->c=s; // force pre-alloc to 10secs ^~~~~~ ./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/decker.c:1240:41: note: in expansion of macro 'ifield' lv*r=lmt(),*i=lml(0),*n=lml(0),*fonts=ifield(deck,"fonts");dset(r,lmistr("icon"),i),dset(r,lmistr("name"),n); ^~~~~~ ./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/decker.c:1242:61: note: in expansion of macro 'ifield' if(uimode==mode_object){int f=1;EACH(o,ob.sel)if(!matchr(ifield(ob.sel->lv[o],"font"),fonts->lv[z])){f=0;break;}if(f)fi=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/decker.c:1243:37: note: in expansion of macro 'ifield' else if(ms.old_wid.ft){if(matchr(ifield(ms.old_wid.ft,"font"),fonts->lv[z]))fi=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/decker.c:1261:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(deck,"name")),0}; ^~~~~~ ./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/decker.c:1262:34: note: in expansion of macro 'ifield' ms.text=(field_val){rtext_cast(ifield(deck,"author")),0}; ^~~~~~ ./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/decker.c:1266:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(w,"name")),0}; ^~~~~~ ./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/decker.c:1267:34: note: in expansion of macro 'ifield' ms.text=(field_val){rtext_cast(ifield(w,"text")),0}; ^~~~~~ ./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/decker.c:1268:35: note: in expansion of macro 'ifield' ms.form0=(field_val){rtext_cast(ifield(w,"shortcut")),0}; ^~~~~~ ./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/decker.c:1272:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(w,"name")),0}; ^~~~~~ ./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/decker.c:1273:23: note: in expansion of macro 'ifield' ms.text=(field_val){ifield(w,"value"),0}; ^~~~~~ ./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/decker.c:1277:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(w,"name")),0}; ^~~~~~ ./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/decker.c:1278:34: note: in expansion of macro 'ifield' ms.text=(field_val){rtext_cast(ifield(w,"format")),0}; ^~~~~~ ./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/decker.c:1279:35: note: in expansion of macro 'ifield' str r=str_new();fjson(&r,l_cols(ifield(w,"value")));ms.edit_json=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/decker.c:1284:35: note: in expansion of macro 'ifield' ms.name =(field_val){rtext_cast(ifield(w,"name" )) ,0}; ^~~~~~ ./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/decker.c:1285:35: note: in expansion of macro 'ifield' ms.text =(field_val){rtext_cast(ifield(w,"format" )) ,0}; ^~~~~~ ./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/decker.c:1286:35: note: in expansion of macro 'ifield' ms.form0=(field_val){rtext_cast(ifield(w,"interval")->lv[0]),0}; ^~~~~~ ./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/decker.c:1287:35: note: in expansion of macro 'ifield' ms.form1=(field_val){rtext_cast(ifield(w,"interval")->lv[1]),0}; ^~~~~~ ./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/decker.c:1288:35: note: in expansion of macro 'ifield' ms.form2=(field_val){rtext_cast(ifield(w,"step" )) ,0}; ^~~~~~ ./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/decker.c:1292:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(w,"name")),0}; ^~~~~~ ./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/decker.c:1293:34: note: in expansion of macro 'ifield' ms.text=(field_val){rtext_cast(ifield(w,"scale")),0}; ^~~~~~ ./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/decker.c:1297:34: note: in expansion of macro 'ifield' ms.name=(field_val){rtext_cast(ifield(w,"name")),0}; ^~~~~~ ./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/decker.c:1298:35: note: in expansion of macro 'ifield' attrs_count=attrs_scroll=0;lv*a=ifield(ifield(w,"def"),"attributes"); ^~~~~~ ./c/decker.c:1298:42: note: in expansion of macro 'ifield' attrs_count=attrs_scroll=0;lv*a=ifield(ifield(w,"def"),"attributes"); ^~~~~~ ./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/decker.c:1298:35: note: in expansion of macro 'ifield' attrs_count=attrs_scroll=0;lv*a=ifield(ifield(w,"def"),"attributes"); ^~~~~~ ./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/decker.c:1298:35: note: in expansion of macro 'ifield' attrs_count=attrs_scroll=0;lv*a=ifield(ifield(w,"def"),"attributes"); ^~~~~~ ./c/decker.c:1298:42: note: in expansion of macro 'ifield' attrs_count=attrs_scroll=0;lv*a=ifield(ifield(w,"def"),"attributes"); ^~~~~~ ./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/decker.c:1300:25: note: in expansion of macro 'iwrite' attr_item i={0};lv*v=iwrite(w,a->lv[0]->lv[z],NULL); ^~~~~~ ./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/decker.c:1311:35: note: in expansion of macro 'ifield' ms.name =(field_val){rtext_cast(ifield(c,"name")),0}; ^~~~~~ ./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/decker.c:1312:35: note: in expansion of macro 'ifield' ms.form0=(field_val){rtext_cast(ifield(c,"description")),0}; ^~~~~~ ./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/decker.c:1313:35: note: in expansion of macro 'ifield' ms.form1=(field_val){rtext_cast(ifield(c,"template")),0}; ^~~~~~ ./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/decker.c:1314:35: note: in expansion of macro 'ifield' ms.form2=(field_val){rtext_cast(ifield(c,"version")),0}; ^~~~~~ ./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/decker.c:1317:8: note: in expansion of macro 'ifield' lv*a=ifield(con(),"attributes"); ^~~~~~ ./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/decker.c:1323:18: note: in expansion of macro 'ifield' ms.act_card=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:1323:25: note: in expansion of macro 'ifield' ms.act_card=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:1323:18: note: in expansion of macro 'ifield' ms.act_card=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:1323:18: note: in expansion of macro 'ifield' ms.act_card=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:1323:25: note: in expansion of macro 'ifield' ms.act_card=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:1337:10: note: in expansion of macro 'ifield' lv*scr=ifield(sc.target,"script"); ^~~~~~ ./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/decker.c:1353:60: note: in expansion of macro 'ifield' if(type==modal_card_props){ms.name=(field_val){rtext_cast(ifield(ifield(deck,"card"),"name")),0};} ^~~~~~ ./c/decker.c:1353:67: note: in expansion of macro 'ifield' if(type==modal_card_props){ms.name=(field_val){rtext_cast(ifield(ifield(deck,"card"),"name")),0};} ^~~~~~ ./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/decker.c:1353:60: note: in expansion of macro 'ifield' if(type==modal_card_props){ms.name=(field_val){rtext_cast(ifield(ifield(deck,"card"),"name")),0};} ^~~~~~ ./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/decker.c:1353:60: note: in expansion of macro 'ifield' if(type==modal_card_props){ms.name=(field_val){rtext_cast(ifield(ifield(deck,"card"),"name")),0};} ^~~~~~ ./c/decker.c:1353:67: note: in expansion of macro 'ifield' if(type==modal_card_props){ms.name=(field_val){rtext_cast(ifield(ifield(deck,"card"),"name")),0};} ^~~~~~ ./c/decker.c: In function 'modal_exit': ./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/decker.c:1426:11: note: in expansion of macro 'ifield' lv*card=ifield(deck,"card"); ^~~~~~ ./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/decker.c:1427:3: note: in expansion of macro 'iwrite' iwrite(card,lmistr("name"),rtext_all(ms.name.table));mark_dirty(); ^~~~~~ ./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/decker.c:1431:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("interval"),lml2(rtext_all(ms.form0.table),rtext_all(ms.form1.table))); ^~~~~~ ./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/decker.c:1432:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("step"),rtext_all(ms.form2.table));mark_dirty(); ^~~~~~ ./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/decker.c:1437:16: note: in expansion of macro 'ifield' if(!matchr(t,ifield(g,"value")))ob_edit_prop("value",t); ^~~~~~ ./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/decker.c:1440:25: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[0],*a=ifield(ifield(w,"def"),"attributes");; ^~~~~~ ./c/decker.c:1440:32: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[0],*a=ifield(ifield(w,"def"),"attributes");; ^~~~~~ ./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/decker.c:1440:25: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[0],*a=ifield(ifield(w,"def"),"attributes");; ^~~~~~ ./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/decker.c:1440:25: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[0],*a=ifield(ifield(w,"def"),"attributes");; ^~~~~~ ./c/decker.c:1440:32: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[0],*a=ifield(ifield(w,"def"),"attributes");; ^~~~~~ ./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/decker.c:1447:4: note: in expansion of macro 'iwrite' iwrite(w,a->lv[0]->lv[z],v); ^~~~~~ ./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/decker.c:1467:70: note: in expansion of macro 'ifield' au.mode=record_stopped;modal_enter(modal_sounds);ms.grid.row=dgeti(ifield(deck,"sounds"),name);return; ^~~~~~ ./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/decker.c:1482:63: note: in expansion of macro 'ifield' lv*i=draw_con(con(),1);pair off={0,0};char*pal=patterns_pal(ifield(deck,"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/decker.c:1498:36: note: in expansion of macro 'iwrite' if(ms.subtype==modal_save_locked)iwrite(deck,lmistr("locked"),ONE); ^~~~~~ ./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/decker.c:1500:36: note: in expansion of macro 'iwrite' if(ms.subtype==modal_save_locked)iwrite(deck,lmistr("locked"),NONE); ^~~~~~ ./c/decker.c: In function 'modals': ./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/decker.c:1534:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(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/decker.c:1551:12: note: in expansion of macro 'ifield' lv*cards=ifield(deck,"cards"),*curr=ifield(deck,"card"); ^~~~~~ ./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/decker.c:1551:39: note: in expansion of macro 'ifield' lv*cards=ifield(deck,"cards"),*curr=ifield(deck,"card"); ^~~~~~ ./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/decker.c:1558:45: note: in expansion of macro 'ifield' snprintf(temp,sizeof(temp),"%d widget%s",ifield(card,"widgets")->c,ifield(card,"widgets")->c==1?"":"s"); ^~~~~~ ./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/decker.c:1558:71: note: in expansion of macro 'ifield' snprintf(temp,sizeof(temp),"%d widget%s",ifield(card,"widgets")->c,ifield(card,"widgets")->c==1?"":"s"); ^~~~~~ ./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/decker.c:1561:20: note: in expansion of macro 'ifield' draw_text_fit(t,ifield(card,"name")->sv,FONT_MENU,col),draw_text_fit(s,temp,FONT_BODY,col);draw_box(p,0,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/decker.c:1572:13: note: in expansion of macro 'ifield' int n=ln(ifield(curr,"index"));iwrite(c,lmistr("index"),lmn(n+1)); ^~~~~~ ./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/decker.c:1572:35: note: in expansion of macro 'iwrite' int n=ln(ifield(curr,"index"));iwrite(c,lmistr("index"),lmn(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/decker.c:1577:43: note: in expansion of macro 'ifield' lv*s=cards->lv[ms.grid.row];int oi=ln(ifield(s,"index")); ^~~~~~ ./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/decker.c:1578:5: note: in expansion of macro 'iwrite' iwrite(s,lmistr("index"),lmn(gutter>oi?gutter-1:gutter));m=1,n_go(deck,l_list(s)); ^~~~~~ ./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/decker.c:1582:39: note: in expansion of macro 'iwrite' else if(ev.dir==dir_up &&ev.shift){iwrite(curr,lmistr("index"),lmn(ln(ifield(curr,"index"))-1));m=1,n_go(deck,l_list(curr));} ^~~~~~ ./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/decker.c:1582:74: note: in expansion of macro 'ifield' else if(ev.dir==dir_up &&ev.shift){iwrite(curr,lmistr("index"),lmn(ln(ifield(curr,"index"))-1));m=1,n_go(deck,l_list(curr));} ^~~~~~ ./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/decker.c:1583:39: note: in expansion of macro 'iwrite' else if(ev.dir==dir_down&&ev.shift){iwrite(curr,lmistr("index"),lmn(ln(ifield(curr,"index"))+1));m=1,n_go(deck,l_list(curr));} ^~~~~~ ./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/decker.c:1583:74: note: in expansion of macro 'ifield' else if(ev.dir==dir_down&&ev.shift){iwrite(curr,lmistr("index"),lmn(ln(ifield(curr,"index"))+1));m=1,n_go(deck,l_list(curr));} ^~~~~~ ./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/decker.c:1587:9: note: in expansion of macro 'ifield' curr=ifield(deck,"card");int y=(ln(ifield(curr,"index"))*slot)-ms.grid.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/decker.c:1587:39: note: in expansion of macro 'ifield' curr=ifield(deck,"card");int y=(ln(ifield(curr,"index"))*slot)-ms.grid.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/decker.c:1592:72: note: in expansion of macro 'ifield' rect b=draw_modalbox((pair){210,frame.size.y-46});lv*def=con(),*wids=ifield(def,"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/decker.c:1606:63: note: in expansion of macro 'ifield' draw_text_fit((rect){c.x+3,c.y+2,bb.w-6,font_h(FONT_BODY)},ifield(wid,"name")->sv,FONT_BODY,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/decker.c:1607:7: note: in expansion of macro 'ifield' if(ifield(wid,"script")->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/decker.c:1622:42: note: in expansion of macro 'ifield' lv*s=wids->lv[ms.grid.row];int oi=ln(ifield(s,"index")); ^~~~~~ ./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/decker.c:1623:5: note: in expansion of macro 'iwrite' iwrite(s,lmistr("index"),lmn(gutter>oi?gutter-1:gutter));m=1;object_select(s); ^~~~~~ ./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/decker.c:1629:81: note: in expansion of macro 'ifield' else if(ob.sel->c&&ev.dir==dir_up ){ob_order();object_select(wids->lv[mod(ln(ifield(l_first(ob.sel),"index"))-1,wids->c)]);m=-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/decker.c:1630:81: note: in expansion of macro 'ifield' else if(ob.sel->c&&ev.dir==dir_down){ob_order();object_select(wids->lv[mod(ln(ifield(l_last (ob.sel),"index"))+1,wids->c)]);m= 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/decker.c:1633:14: note: in expansion of macro 'ifield' int y=(ln(ifield(target,"index"))*slot)-ms.grid.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/decker.c:1641:28: note: in expansion of macro 'ifield' lv*s=ms.grid.row>=0?dget(ifield(deck,"sounds"),ms.grid.table->lv[1]->lv[ms.grid.row]):NULL; ^~~~~~ ./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/decker.c:1645:34: note: in expansion of macro 'ifield' if(ms.grid.row>=0)ms.message=ifield(deck,"sounds")->kv[ms.grid.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/decker.c:1662:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->sv; ^~~~~~ ./c/decker.c:1662:21: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->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/decker.c:1662:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->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/decker.c:1662:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->sv; ^~~~~~ ./c/decker.c:1662:21: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->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/decker.c:1667:102: note: in expansion of macro 'ifield' if(ui_button((rect){b.x,b.y+b.h-20,60,20},"Edit...",ms.grid.row>=0)||choose){modal_exit(2);con_set(ifield(deck,"contraptions")->lv[ms.grid.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/decker.c:1669:9: note: in expansion of macro 'ifield' lv*s=ifield(deck,"contraptions")->lv[ms.grid.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/decker.c:1670:55: note: in expansion of macro 'ifield' n_deck_add(deck,lml2(s,l_format(lmistr("%s_clone"),ifield(s,"name")))); ^~~~~~ ./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/decker.c:1674:30: note: in expansion of macro 'ifield' n_deck_remove(deck,l_list(ifield(deck,"contraptions")->lv[ms.grid.row])); ^~~~~~ In file included from ./c/decker.c:2: ./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:28:28: note: in definition of macro 'MAX' #define MAX(a,b) ((a)<(b)?(b):(a)) ^ ./c/decker.c:1679:75: note: in expansion of macro 'ifield' rect b=draw_modalbox((pair){frame.size.x-50,130}); int samples=MAX(1,ln(ifield(au.target,"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/lil.h:28:32: note: in definition of macro 'MAX' #define MAX(a,b) ((a)<(b)?(b):(a)) ^ ./c/decker.c:1679:75: note: in expansion of macro 'ifield' rect b=draw_modalbox((pair){frame.size.x-50,130}); int samples=MAX(1,ln(ifield(au.target,"size"))); ^~~~~~ In file included from ./c/decker.c:2: ./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/decker.c:1698:82: note: in expansion of macro 'ifield' if(sc==0){snprintf(t,sizeof(t),"%.2fkb, %.2fs" ,samples/1000.0*1.33,ln(ifield(au.target,"duration")));} ^~~~~~ ./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/decker.c:1723:47: note: in expansion of macro 'ifield' if(ms.grid.row>=0){layout_plaintext(pangram,ifield(deck,"fonts")->lv[ms.grid.row],align_left,(pair){psize.w,psize.h});draw_text_wrap(psize,1);} ^~~~~~ ./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/decker.c:1729:20: note: in expansion of macro 'iwrite' else if(wid.ft){iwrite(wid.ft,lmistr("font"),nf),wid.f=unpack_field(ms.old_wid.ft,&ms.old_wid.fv_slot),mark_dirty();} ^~~~~~ ./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/decker.c:1743:71: note: in expansion of macro 'ifield' draw_textc((rect){lgrid.x,lgrid.y+lgrid.h+3,lgrid.w,15},ms.message?(ifield(ms.message,"name")->sv):"(Choose a Deck)",FONT_BODY,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/decker.c:1744:59: note: in expansion of macro 'ifield' draw_textc((rect){rgrid.x,rgrid.y+rgrid.h+3,rgrid.w,15},ifield(deck,"name")->sv,FONT_BODY,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/decker.c:1750:12: note: in expansion of macro 'ifield' lv*name=ifield(sel,"name"); ^~~~~~ ./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/decker.c:1751:18: note: in expansion of macro 'ifield' float sver=ln(ifield(sel,"version")),dver=sver;can_copy=0; ^~~~~~ ./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/decker.c:1752:36: note: in expansion of macro 'ifield' if(module_is (sel)){lv*v=dget(ifield(deck,"modules" ),name);if(v){dver=ln(ifield(v,"version"));}else{can_copy=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/decker.c:1752:84: note: in expansion of macro 'ifield' if(module_is (sel)){lv*v=dget(ifield(deck,"modules" ),name);if(v){dver=ln(ifield(v,"version"));}else{can_copy=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/decker.c:1753:36: note: in expansion of macro 'ifield' if(prototype_is(sel)){lv*v=dget(ifield(deck,"contraptions"),name);if(v){dver=ln(ifield(v,"version"));}else{can_copy=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/decker.c:1753:84: note: in expansion of macro 'ifield' if(prototype_is(sel)){lv*v=dget(ifield(deck,"contraptions"),name);if(v){dver=ln(ifield(v,"version"));}else{can_copy=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/decker.c:1758:32: note: in expansion of macro 'ifield' if(patterns_is(sel)){lv*dst=ifield(deck,"patterns");for(int z=2;z<=47;z++)iindex(dst,z,iindex(sel,z,NULL));} ^~~~~~ ./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/decker.c:1758:78: note: in expansion of macro 'iindex' if(patterns_is(sel)){lv*dst=ifield(deck,"patterns");for(int z=2;z<=47;z++)iindex(dst,z,iindex(sel,z,NULL));} ^~~~~~ ./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/decker.c:1758:78: note: in expansion of macro 'iindex' if(patterns_is(sel)){lv*dst=ifield(deck,"patterns");for(int z=2;z<=47;z++)iindex(dst,z,iindex(sel,z,NULL));} ^~~~~~ ./c/decker.c:1758:91: note: in expansion of macro 'iindex' if(patterns_is(sel)){lv*dst=ifield(deck,"patterns");for(int z=2;z<=47;z++)iindex(dst,z,iindex(sel,z,NULL));} ^~~~~~ ./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/decker.c:1771:83: note: in expansion of macro 'ifield' draw_textc((rect){pre.x,pre.y+pre.h-18,pre.w,18},l_format(lmistr("version %f"),ifield(sel,"version"))->sv,FONT_BODY,1);pre.h-=20; ^~~~~~ ./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/decker.c:1772:21: note: in expansion of macro 'ifield' layout_plaintext(ifield(sel,"description")->sv,FONT_BODY,align_center,(pair){pre.w,pre.h}),draw_text_wrap(pre,1); ^~~~~~ ./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/decker.c:1969:3: note: in expansion of macro 'iwrite' iwrite(deck,lmistr("name" ),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:1970:3: note: in expansion of macro 'iwrite' iwrite(deck,lmistr("author"),rtext_all(ms.text.table));mark_dirty(); ^~~~~~ ./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/decker.c:1977:49: note: in expansion of macro 'ifield' rect b=draw_modalbox((pair){220,100});lv*card=ifield(deck,"card"); ^~~~~~ ./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/decker.c:1992:3: note: in expansion of macro 'iwrite' iwrite(button,lmistr("name"),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:1993:3: note: in expansion of macro 'iwrite' iwrite(button,lmistr("text"),rtext_all(ms.text.table)); ^~~~~~ ./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/decker.c:1998:3: note: in expansion of macro 'iwrite' iwrite(button,lmistr("shortcut"),rtext_all(ms.form0.table)); ^~~~~~ ./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/decker.c:2000:26: note: in expansion of macro 'ifield' int style=ordinal_enum(ifield(button,"style"),button_styles);pair sb={b.x,b.y+70}; ^~~~~~ ./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/decker.c:2001:82: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Round" ,1,style==button_round )){iwrite(button,lmistr("style"),lmistr("round" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2002:82: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Rectangle",1,style==button_rect )){iwrite(button,lmistr("style"),lmistr("rect" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2003:82: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Checkbox" ,1,style==button_check )){iwrite(button,lmistr("style"),lmistr("check" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2004:82: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Invisible",1,style==button_invisible)){iwrite(button,lmistr("style"),lmistr("invisible")),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2016:26: note: in expansion of macro 'ifield' int style=ordinal_enum(ifield(f,"style"),field_styles); ^~~~~~ ./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/decker.c:2018:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("name"),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:2019:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("value"),ms.text.table);mark_dirty(); ^~~~~~ ./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/decker.c:2020:17: note: in expansion of macro 'ifield' int border=lb(ifield(f,"border")), scrollbar=lb(ifield(f,"scrollbar")); pair cb={b.x,b.y+80+60}; ^~~~~~ ./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/decker.c:2020:51: note: in expansion of macro 'ifield' int border=lb(ifield(f,"border")), scrollbar=lb(ifield(f,"scrollbar")); pair cb={b.x,b.y+80+60}; ^~~~~~ ./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/decker.c:2021:82: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w,16},"Border" ,1,border )){border ^=1;iwrite(f,lmistr("border" ),lmn(border )),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2022:82: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w,16},"Scrollbar",1,scrollbar)){scrollbar^=1;iwrite(f,lmistr("scrollbar"),lmn(scrollbar)),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2024:78: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Rich Text" ,1,style==field_rich )){iwrite(f,lmistr("style"),lmistr("rich" )),mark_dirty() ;}sb.y+=16; ^~~~~~ ./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/decker.c:2025:78: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Plain Text",1,style==field_plain)){iwrite(f,lmistr("style"),lmistr("plain")),mark_dirty(),cp=1;}sb.y+=16; ^~~~~~ ./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/decker.c:2026:78: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Code" ,1,style==field_code )){iwrite(f,lmistr("style"),lmistr("code" )),mark_dirty(),cp=1;}sb.y+=16; ^~~~~~ ./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/decker.c:2028:26: note: in expansion of macro 'ifield' int align=ordinal_enum(ifield(f,"align"),field_aligns);pair ab={b.x+(b.w/2),cb.y+10}; ^~~~~~ ./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/decker.c:2029:80: note: in expansion of macro 'iwrite' if(ui_radio((rect){ab.x,ab.y,b.w/2,16},"Align Left" ,1,align==align_left )){iwrite(f,lmistr("align"),lmistr("left" )),mark_dirty();}ab.y+=16; ^~~~~~ ./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/decker.c:2030:80: note: in expansion of macro 'iwrite' if(ui_radio((rect){ab.x,ab.y,b.w/2,16},"Center" ,1,align==align_center)){iwrite(f,lmistr("align"),lmistr("center")),mark_dirty();}ab.y+=16; ^~~~~~ ./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/decker.c:2031:80: note: in expansion of macro 'iwrite' if(ui_radio((rect){ab.x,ab.y,b.w/2,16},"Align Right",1,align==align_right )){iwrite(f,lmistr("align"),lmistr("right" )),mark_dirty();}ab.y+=16; ^~~~~~ ./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/decker.c:2043:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("name" ),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:2044:3: note: in expansion of macro 'iwrite' iwrite(f,lmistr("format"),rtext_all(ms.text.table));mark_dirty(); ^~~~~~ ./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/decker.c:2045:26: note: in expansion of macro 'ifield' int style=ordinal_enum(ifield(f,"style"),slider_styles);pair sb={b.x,b.y+70}; ^~~~~~ ./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/decker.c:2046:81: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Horizontal",1,style==slider_horiz )){iwrite(f,lmistr("style"),lmistr("horiz" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2047:81: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Vertical" ,1,style==slider_vert )){iwrite(f,lmistr("style"),lmistr("vert" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2048:81: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Bar" ,1,style==slider_bar )){iwrite(f,lmistr("style"),lmistr("bar" )),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2049:81: note: in expansion of macro 'iwrite' if(ui_radio((rect){sb.x,sb.y,b.w/2,16},"Compact" ,1,style==slider_compact)){iwrite(f,lmistr("style"),lmistr("compact")),mark_dirty();}sb.y+=16; ^~~~~~ ./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/decker.c:2065:3: note: in expansion of macro 'iwrite' iwrite(canvas,lmistr("name" ),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:2066:3: note: in expansion of macro 'iwrite' iwrite(canvas,lmistr("scale"),rtext_all(ms.text.table));mark_dirty(); ^~~~~~ ./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/decker.c:2067:17: note: in expansion of macro 'ifield' int border=lb(ifield(canvas,"border")),draggable=lb(ifield(canvas,"draggable"));pair cb={b.x,b.y+50+20}; ^~~~~~ ./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/decker.c:2067:55: note: in expansion of macro 'ifield' int border=lb(ifield(canvas,"border")),draggable=lb(ifield(canvas,"draggable"));pair cb={b.x,b.y+50+20}; ^~~~~~ ./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/decker.c:2068:82: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w,16},"Border" ,1,border )){border ^=1;iwrite(canvas,lmistr("border" ),lmn(border )),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2069:82: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w,16},"Draggable",1,draggable)){draggable^=1;iwrite(canvas,lmistr("draggable"),lmn(draggable)),mark_dirty();} ^~~~~~ ./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/decker.c:2086:3: note: in expansion of macro 'iwrite' iwrite(grid,lmistr("name" ),rtext_all(ms.name.table)); ^~~~~~ ./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/decker.c:2087:3: note: in expansion of macro 'iwrite' iwrite(grid,lmistr("format"),format);mark_dirty(); ^~~~~~ ./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/decker.c:2088:18: note: in expansion of macro 'ifield' int headers=lb(ifield(grid,"headers")), scrollbar=lb(ifield(grid,"scrollbar")), lines=lb(ifield(grid,"lines")), bycell=lb(ifield(grid,"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/decker.c:2088:56: note: in expansion of macro 'ifield' int headers=lb(ifield(grid,"headers")), scrollbar=lb(ifield(grid,"scrollbar")), lines=lb(ifield(grid,"lines")), bycell=lb(ifield(grid,"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/decker.c:2088:92: note: in expansion of macro 'ifield' int headers=lb(ifield(grid,"headers")), scrollbar=lb(ifield(grid,"scrollbar")), lines=lb(ifield(grid,"lines")), bycell=lb(ifield(grid,"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/decker.c:2088:125: note: in expansion of macro 'ifield' int headers=lb(ifield(grid,"headers")), scrollbar=lb(ifield(grid,"scrollbar")), lines=lb(ifield(grid,"lines")), bycell=lb(ifield(grid,"bycell")); ^~~~~~ ./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/decker.c:2090:89: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w/2,16},"Column Headers",1,headers )){headers ^=1;iwrite(grid,lmistr("headers" ),lmn(headers )),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2091:89: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w/2,16},"Scrollbar" ,1,scrollbar)){scrollbar^=1;iwrite(grid,lmistr("scrollbar"),lmn(scrollbar)),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2092:89: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w/2,16},"Grid Lines" ,1,lines )){lines ^=1;iwrite(grid,lmistr("lines" ),lmn(lines )),mark_dirty();}cb.y+=16; ^~~~~~ ./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/decker.c:2093:89: note: in expansion of macro 'iwrite' if(ui_checkbox((rect){cb.x,cb.y,b.w/2,16},"Select by Cell",1,bycell )){bycell ^=1;iwrite(grid,lmistr("bycell" ),lmn(bycell )),mark_dirty();} ^~~~~~ ./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/decker.c:2103:8: note: in expansion of macro 'ifield' lv*w=ifield(grid,"widths"); ^~~~~~ ./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/decker.c:2104:59: note: in expansion of macro 'iwrite' if(ui_button((rect){c.x,c.y,90,20},"Reset Widths",w->c))iwrite(grid,lmistr("widths"),lml(0)),mark_dirty(); ^~~~~~ ./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/decker.c:2109:50: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(ifield(contraption,"def"),"name")->sv," Properties"),FONT_MENU,1); ^~~~~~ ./c/decker.c:2109:57: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(ifield(contraption,"def"),"name")->sv," Properties"),FONT_MENU,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/decker.c:2109:50: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(ifield(contraption,"def"),"name")->sv," Properties"),FONT_MENU,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/decker.c:2109:50: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(ifield(contraption,"def"),"name")->sv," Properties"),FONT_MENU,1); ^~~~~~ ./c/decker.c:2109:57: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(ifield(contraption,"def"),"name")->sv," Properties"),FONT_MENU,1); ^~~~~~ ./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/decker.c:2112:3: note: in expansion of macro 'iwrite' iwrite(contraption,lmistr("name"),rtext_all(ms.name.table)),mark_dirty(); ^~~~~~ ./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/decker.c:2116:78: note: in expansion of macro 'ifield' if(ui_button((rect){c.x,c.y,80,20},"Prototype...",1))modal_exit(1),con_set(ifield(contraption,"def")); ^~~~~~ ./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/decker.c:2130:3: note: in expansion of macro 'iwrite' iwrite(def,lmistr("name" ),rtext_all(ms.name .table)); ^~~~~~ ./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/decker.c:2131:3: note: in expansion of macro 'iwrite' iwrite(def,lmistr("version" ),rtext_all(ms.form2.table)); ^~~~~~ ./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/decker.c:2132:3: note: in expansion of macro 'iwrite' iwrite(def,lmistr("description"),rtext_all(ms.form0.table)); ^~~~~~ ./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/decker.c:2133:3: note: in expansion of macro 'iwrite' iwrite(def,lmistr("template" ),rtext_all(ms.form1.table));mark_dirty(); ^~~~~~ ./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/decker.c:2140:50: note: in expansion of macro 'ifield' draw_textc((rect){b.x,b.y-5,b.w,20},title_caps(ifield(def,"name")->sv," Attributes"),FONT_MENU,1); ^~~~~~ ./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/decker.c:2173:63: note: in expansion of macro 'iwrite' if(ui_button((rect){b.x+b.w-60,c.y,60,20},"OK",1)||ev.exit){iwrite(def,lmistr("attributes"),ms.grid.table),mark_dirty(),modal_exit(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/decker.c:2218:12: note: in expansion of macro 'ifield' lv*name=ifield(ifield(deck,"card"),"name"); ^~~~~~ ./c/decker.c:2218:19: note: in expansion of macro 'ifield' lv*name=ifield(ifield(deck,"card"),"name"); ^~~~~~ ./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/decker.c:2218:12: note: in expansion of macro 'ifield' lv*name=ifield(ifield(deck,"card"),"name"); ^~~~~~ ./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/decker.c:2218:12: note: in expansion of macro 'ifield' lv*name=ifield(ifield(deck,"card"),"name"); ^~~~~~ ./c/decker.c:2218:19: note: in expansion of macro 'ifield' lv*name=ifield(ifield(deck,"card"),"name"); ^~~~~~ ./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/decker.c:2234:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->sv; ^~~~~~ ./c/decker.c:2234:21: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->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/decker.c:2234:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->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/decker.c:2234:14: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->sv; ^~~~~~ ./c/decker.c:2234:21: note: in expansion of macro 'ifield' char*desc=ifield(ifield(deck,"contraptions")->lv[ms.grid.row],"description")->sv; ^~~~~~ ./c/decker.c: In function 'go_notify': ./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/decker.c:2298:21: note: in expansion of macro 'ifield' int moved=dest!=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:2298:28: note: in expansion of macro 'ifield' int moved=dest!=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:2298:21: note: in expansion of macro 'ifield' int moved=dest!=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:2298:21: note: in expansion of macro 'ifield' int moved=dest!=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:2298:28: note: in expansion of macro 'ifield' int moved=dest!=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:2303:21: note: in expansion of macro 'ifield' ms.carda=draw_con(ifield(deck,"card"),0), ms.cardb=draw_con(ifield(deck,"cards")->lv[dest],0); ^~~~~~ ./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/decker.c:2303:63: note: in expansion of macro 'ifield' ms.carda=draw_con(ifield(deck,"card"),0), ms.cardb=draw_con(ifield(deck,"cards")->lv[dest],0); ^~~~~~ ./c/decker.c: In function 'field_notify': ./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/decker.c:2313:7: note: in expansion of macro 'ifield' lv*v=ifield(field,"value");if(rtext_len(v))return; ^~~~~~ ./c/decker.c: In function 'validate_modules': ./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/decker.c:2320:13: note: in expansion of macro 'ifield' lv*modules=ifield(deck,"modules");EACH(z,modules){ ^~~~~~ ./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/decker.c:2321:10: note: in expansion of macro 'ifield' lv*err=ifield(modules->lv[z],"error");if(!err->c)continue; ^~~~~~ ./c/decker.c: In function 'script_editor': ./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/decker.c:2332:20: note: in expansion of macro 'ifield' draw_textc(size,ifield(wid,"name")->sv,FONT_BODY,o?-1:col),draw_box(size,0,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/decker.c:2333:7: note: in expansion of macro 'ifield' if(ifield(wid,"script")->c)draw_icon((pair){size.x-1,size.y},ICONS[icon_lil],o?1: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/decker.c:2338:87: note: in expansion of macro 'ifield' if(overw){uicursor=cursor_point;draw_textc(con_to_screenr(unpack_widget(overw).size),ifield(overw,"name")->sv,FONT_BODY,-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/decker.c:2350:97: note: in expansion of macro 'ifield' if(sc.others->c){snprintf(stat,sizeof(stat),"script of %s '%s' and %d more",sc.target->a->sv,ifield(sc.target,"name")->sv,sc.others->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/decker.c:2351:73: note: in expansion of macro 'ifield' else{snprintf(stat,sizeof(stat),"script of %s '%s'",sc.target->a->sv,ifield(sc.target,"name")->sv);} ^~~~~~ ./c/decker.c: In function 'soft_keyboard': ./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/decker.c:2379:78: note: in expansion of macro 'ifield' int y=r.y, kh=r.h/KROWS, sh=ev.shift^kc.lock^kc.shift;char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'edit_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/decker.c:2435:43: note: in expansion of macro 'ifield' if(card_is (c))dset(r,lmistr("card"),ifield(c,"index")); ^~~~~~ ./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/decker.c:2436:43: note: in expansion of macro 'ifield' if(prototype_is(c))dset(r,lmistr("def" ),ifield(c,"name")); ^~~~~~ ./c/decker.c: In function 'apply': ./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/decker.c:2440:34: note: in expansion of macro 'ifield' if(defn){con_set(container=dget(ifield(deck,"contraptions"),ls(defn)));} ^~~~~~ ./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/decker.c:2442:8: note: in expansion of macro 'ifield' lv*c=ifield(deck,"card"); ^~~~~~ ./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/decker.c:2443:13: note: in expansion of macro 'ifield' int cn=ln(ifield(c,"index")), tn=ln(card); ^~~~~~ ./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/decker.c:2444:42: note: in expansion of macro 'ifield' if(cn!=tn)n_go(deck,l_list(lmn(tn))),c=ifield(deck,"card"); ^~~~~~ ./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/decker.c:2455:73: note: in expansion of macro 'ifield' lv* bg=container_image(container,1);pair s=image_size(bg), cs=getpair(ifield(container,"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/decker.c:2456:51: note: in expansion of macro 'iwrite' if(s.x!=cs.x||s.y!=cs.y){bg=image_resize(bg,cs),iwrite(container,lmistr("image"),bg),s=cs;} ^~~~~~ ./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/decker.c:2468:64: note: in expansion of macro 'iwrite' EACH(z,p){lv*d=p->lv[z],*w=dget(wids,p->kv[z]);if(w)EACH(i,d)iwrite(w,d->kv[i],d->lv[i]);} ^~~~~~ ./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/decker.c:2480:38: note: in expansion of macro 'ifield' dset(props->lv[z],lmistr("name"),ifield(w->lv[z],"name"));ll_add(ob.sel,w->lv[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/decker.c:2482:41: note: in expansion of macro 'ifield' rect c=box_center(con_dim(),getpair(ifield(w->lv[z],"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/decker.c:2483:5: note: in expansion of macro 'iwrite' iwrite(w->lv[z],lmistr("pos"),lmpair((pair){c.x,c.y})); ^~~~~~ ./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/decker.c:2489:12: note: in expansion of macro 'iwrite' EACH(z,k)iwrite(container,k->lv[z],v->lv[z]); ^~~~~~ ./c/decker.c: In function 'draw_limbo': ./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/decker.c:2524:103: note: in expansion of macro 'ifield' else if(scale ){draw_fat_scaled(screen_to_conr(clip),dr.limbo,!dr.trans,patterns_pal(ifield(deck,"patterns")),frame_count,FAT,con_to_screen((pair){0,0}));} ^~~~~~ ./c/decker.c: In function 'bg_lasso_preview': ./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/decker.c:2578:45: note: in expansion of macro 'ifield' rect o=dr.sel_start;char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'bg_tools': ./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/decker.c:2645:63: note: in expansion of macro 'ifield' if(dr.fatbits){draw_fat(con_clip(),dr.scratch,patterns_pal(ifield(deck,"patterns")),frame_count,BG_MASK,FAT,dr.offset);} ^~~~~~ ./c/decker.c: In function 'draw_handles': ./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/decker.c:2751:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(ifield(deck,"patterns")); ^~~~~~ ./c/decker.c: In function 'ob_by_index': ./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/decker.c:2880:55: note: in expansion of macro 'ifield' int ob_by_index(const void*av,const void*bv){int a=ln(ifield((*((lv**)av)),"index")),b=ln(ifield((*((lv**)bv)),"index"));return a-b;} ^~~~~~ ./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/decker.c:2880:91: note: in expansion of macro 'ifield' int ob_by_index(const void*av,const void*bv){int a=ln(ifield((*((lv**)av)),"index")),b=ln(ifield((*((lv**)bv)),"index"));return a-b;} ^~~~~~ ./c/decker.c: In function 'ob_move_up': ./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/decker.c:2882:91: note: in expansion of macro 'iwrite' void ob_move_up(void){if(ob.sel->c<1)return;ob_order();EACHR(z,ob.sel){lv*o=ob.sel->lv[z];iwrite(o,lmistr("index"),lmn(ln(ifield(o,"index"))+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/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/decker.c:2882:123: note: in expansion of macro 'ifield' void ob_move_up(void){if(ob.sel->c<1)return;ob_order();EACHR(z,ob.sel){lv*o=ob.sel->lv[z];iwrite(o,lmistr("index"),lmn(ln(ifield(o,"index"))+1));}} ^~~~~~ ./c/decker.c: In function 'ob_move_dn': ./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/decker.c:2883:91: note: in expansion of macro 'iwrite' void ob_move_dn(void){if(ob.sel->c<1)return;ob_order();EACH( z,ob.sel){lv*o=ob.sel->lv[z];iwrite(o,lmistr("index"),lmn(ln(ifield(o,"index"))-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/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/decker.c:2883:123: note: in expansion of macro 'ifield' void ob_move_dn(void){if(ob.sel->c<1)return;ob_order();EACH( z,ob.sel){lv*o=ob.sel->lv[z];iwrite(o,lmistr("index"),lmn(ln(ifield(o,"index"))-1));}} ^~~~~~ ./c/decker.c: In function 'ob_edit_prop': ./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/decker.c:2887:25: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[z],*n=ifield(w,"name"); ^~~~~~ ./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/decker.c:2888:35: note: in expansion of macro 'ifield' lv*bp=lmd();dset(bp,lmistr(key),ifield(w,key)); ^~~~~~ ./c/decker.c: In function 'ob_destroy': ./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/decker.c:2907:66: note: in expansion of macro 'ifield' lv*props=lml(0);EACH(z,ob.sel){lv*p=lmd();dset(p,lmistr("name"),ifield(ob.sel->lv[z],"name"));ll_add(props,p);} ^~~~~~ ./c/decker.c: In function 'can_coalesce': ./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/decker.c:2920:14: note: in expansion of macro 'ifield' if(!matchr(ifield(ob.sel->lv[z],"name"),after->kv[z]))return 0; // item names must match (including order!) ^~~~~~ ./c/decker.c: In function 'ob_move': ./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/decker.c:2934:26: note: in expansion of macro 'ifield' lv*w=ob.sel->lv[z],*n=ifield(w,"name"); ^~~~~~ ./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/decker.c:2935:9: note: in expansion of macro 'ifield' lv*f=ifield(w,"pos");pair fv=getpair(f); ^~~~~~ ./c/decker.c: In function 'ob_resize': ./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/decker.c:2955:35: note: in expansion of macro 'ifield' lv*before=lmd(),*after=lmd(),*n=ifield(w,"name"),*r=lmd(); ^~~~~~ ./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/decker.c:2956:37: note: in expansion of macro 'ifield' lv*bp=lmd();dset(bp,lmistr("pos"),ifield(w,"pos") ),dset(bp,lmistr("size"),ifield(w,"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/decker.c:2956:91: note: in expansion of macro 'ifield' lv*bp=lmd();dset(bp,lmistr("pos"),ifield(w,"pos") ),dset(bp,lmistr("size"),ifield(w,"size") ); ^~~~~~ ./c/decker.c: In function 'proto_prop': ./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/decker.c:2970:33: note: in expansion of macro 'ifield' dset(r,lmistr("before"),l_list(ifield(target,key))); ^~~~~~ ./c/decker.c: In function 'proto_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/decker.c:2976:29: note: in expansion of macro 'ifield' lv*r=lmd(),*o=image_resize(ifield(target,"image"),getpair(ifield(target,"size"))),*n=image_make(lmbuff(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/decker.c:2976:60: note: in expansion of macro 'ifield' lv*r=lmd(),*o=image_resize(ifield(target,"image"),getpair(ifield(target,"size"))),*n=image_make(lmbuff(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/decker.c:2977:67: note: in expansion of macro 'ifield' rect c=rect_pair((pair){0,0},size);draw_9seg(c,n->b,o->b,getrect(ifield(target,"margin")),c,1,NULL); ^~~~~~ ./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/decker.c:2980:31: note: in expansion of macro 'ifield' dset(r,lmistr("before"),lml3(ifield(target,"size"),image_clone(o),ifield(target,"margin"))); ^~~~~~ ./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/decker.c:2980:68: note: in expansion of macro 'ifield' dset(r,lmistr("before"),lml3(ifield(target,"size"),image_clone(o),ifield(target,"margin"))); ^~~~~~ ./c/decker.c: In function 'is_resizable': ./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/decker.c:2995:79: note: in expansion of macro 'ifield' int is_resizable(void){return ob.sel->c==1&&(contraption_is(ob.sel->lv[0])?lb(ifield(ifield(ob.sel->lv[0],"def"),"resizable")):1);} ^~~~~~ ./c/decker.c:2995:86: note: in expansion of macro 'ifield' int is_resizable(void){return ob.sel->c==1&&(contraption_is(ob.sel->lv[0])?lb(ifield(ifield(ob.sel->lv[0],"def"),"resizable")):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/decker.c:2995:79: note: in expansion of macro 'ifield' int is_resizable(void){return ob.sel->c==1&&(contraption_is(ob.sel->lv[0])?lb(ifield(ifield(ob.sel->lv[0],"def"),"resizable")):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/decker.c:2995:79: note: in expansion of macro 'ifield' int is_resizable(void){return ob.sel->c==1&&(contraption_is(ob.sel->lv[0])?lb(ifield(ifield(ob.sel->lv[0],"def"),"resizable")):1);} ^~~~~~ ./c/decker.c:2995:86: note: in expansion of macro 'ifield' int is_resizable(void){return ob.sel->c==1&&(contraption_is(ob.sel->lv[0])?lb(ifield(ifield(ob.sel->lv[0],"def"),"resizable")):1);} ^~~~~~ ./c/decker.c: In function 'object_editor': ./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/decker.c:2997:24: note: in expansion of macro 'ifield' char*pal=patterns_pal(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/decker.c:3004:10: note: in expansion of macro 'ifield' if(lb(ifield(wid,"volatile"))){ ^~~~~~ ./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/decker.c:3010:10: note: in expansion of macro 'ifield' if(lb(ifield(wid,"animated")))draw_rect(badge,1),draw_icon((pair){badge.x+1,badge.y+1},ANIM,32); ^~~~~~ ./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/decker.c:3021:69: note: in expansion of macro 'ifield' pair p={RTEXT_END,RTEXT_END};EACH(z,ob.sel){p=pair_min(p,getpair(ifield(ob.sel->lv[z],"pos")));} ^~~~~~ ./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/decker.c:3045:68: note: in expansion of macro 'ifield' pair p={RTEXT_END,RTEXT_END};EACH(z,ob.sel){p=pair_min(p,getpair(ifield(ob.sel->lv[z],"pos")));} ^~~~~~ ./c/decker.c: In function 'prototype_size_editor': ./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/decker.c:3079:17: note: in expansion of macro 'ifield' rect m=getrect(ifield(def,"margin")),om=m,drag={0,0,0,0};pair s=getpair(ifield(def,"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/decker.c:3079:74: note: in expansion of macro 'ifield' rect m=getrect(ifield(def,"margin")),om=m,drag={0,0,0,0};pair s=getpair(ifield(def,"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/decker.c:3104:49: note: in expansion of macro 'ifield' m=getrect(normalize_margin(lmrect(m),getpair(ifield(def,"size")))); ^~~~~~ ./c/decker.c: In function 'sfx_doloop': ./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/decker.c:3139:42: note: in expansion of macro 'ifield' int pp=pending_popstate;fire_hunk_async(ifield(deck,"card"),b); ^~~~~~ ./c/decker.c: In function 'n_play': ./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/decker.c:3176:36: note: in expansion of macro 'ifield' lv*x=l_first(z);if(lis(x))x=dget(ifield(deck,"sounds"),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/decker.c:3178:27: note: in expansion of macro 'ifield' else if(sound_is(x)&&ln(ifield(x,"size"))>0){sfx_install(x,&audio_loop),orig_loop=x;} // play ^~~~~~ ./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/decker.c:3182:43: note: in expansion of macro 'ifield' lv*x=l_first(z),*sfx=sound_is(x)?x: dget(ifield(deck,"sounds"),ls(x));if(!sfx)return NONE; ^~~~~~ ./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/decker.c:3183:24: note: in expansion of macro 'ifield' if(!sound_is(sfx)||ln(ifield(sfx,"size"))<1)return NONE; ^~~~~~ ./c/decker.c: In function 'event_quit': ./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/decker.c:3266:8: note: in expansion of macro 'ifield' if(lb(ifield(deck,"locked")))should_exit=1; ^~~~~~ ./c/decker.c: In function 'event_key': ./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/decker.c:3320:40: note: in expansion of macro 'ifield' if(c==KEY_UP )msg.target_navigate=ifield(deck,"card"),msg.arg_navigate=lmistr("up"); ^~~~~~ ./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/decker.c:3321:40: note: in expansion of macro 'ifield' if(c==KEY_DOWN )msg.target_navigate=ifield(deck,"card"),msg.arg_navigate=lmistr("down"); ^~~~~~ ./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/decker.c:3322:40: note: in expansion of macro 'ifield' if(c==KEY_LEFT )msg.target_navigate=ifield(deck,"card"),msg.arg_navigate=lmistr("left"); ^~~~~~ ./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/decker.c:3323:40: note: in expansion of macro 'ifield' if(c==KEY_RIGHT)msg.target_navigate=ifield(deck,"card"),msg.arg_navigate=lmistr("right"); ^~~~~~ ./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/decker.c:3325:110: note: in expansion of macro 'ifield' if((uimode==mode_interact||uimode==mode_object||uimode==mode_draw)&&ms.type==modal_none&&!kc.on&&deck&&!lb(ifield(deck,"locked"))){ ^~~~~~ ./c/decker.c: In function 'event_file': ./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/decker.c:3367:8: note: in expansion of macro 'ifield' if(lb(ifield(deck,"locked")))return; ^~~~~~ ./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/decker.c:3391:10: note: in expansion of macro 'ifield' lv*pat=ifield(deck,"patterns");iwrite(pat,lmn(32),lmn(0xFFFFFF));iwrite(pat,lmn(47),NONE); ^~~~~~ ./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/decker.c:3391:34: note: in expansion of macro 'iwrite' lv*pat=ifield(deck,"patterns");iwrite(pat,lmn(32),lmn(0xFFFFFF));iwrite(pat,lmn(47),NONE); ^~~~~~ ./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/decker.c:3391:68: note: in expansion of macro 'iwrite' lv*pat=ifield(deck,"patterns");iwrite(pat,lmn(32),lmn(0xFFFFFF));iwrite(pat,lmn(47),NONE); ^~~~~~ ./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/decker.c:3399:4: note: in expansion of macro 'iwrite' iwrite(pat,lmn(47),t->lv[a]),iwrite(pat,lmn(32),t->lv[b]); ^~~~~~ ./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/decker.c:3399:33: note: in expansion of macro 'iwrite' iwrite(pat,lmn(47),t->lv[a]),iwrite(pat,lmn(32),t->lv[b]); ^~~~~~ ./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/decker.c:3402:32: note: in expansion of macro 'iwrite' for(int z=0;z<14&&zc;z++)iwrite(pat,lmn(33+z),t->lv[z]); ^~~~~~ ./c/decker.c: In function '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/decker.c:3426:111: note: in expansion of macro 'ifield' if(framebuffer_flip(disp,size,scale,dr.trans_mask&&uimode==mode_draw,dr.show_anim?frame_count:0,patterns_pal(ifield(deck,"patterns")),context.buffer)){ ^~~~~~ ./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/decker.c:3427:25: note: in expansion of macro 'ifield' char*pal=patterns_pal(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/decker.c:3428:57: note: in expansion of macro 'ifield' int showwings=!kc.on&&toolbars_enable&&tscale>0&&!(lb(ifield(deck,"locked")))&&ms.type==modal_none&&uimode!=mode_script; ^~~~~~ ./c/decker.c: In function 'find_animated': ./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/decker.c:3460:9: note: in expansion of macro 'ifield' if(lb(ifield(wid,"animated"))&&dget(viewed,wid)==NULL)dset(r,wid,NONE); ^~~~~~ ./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/decker.c:3464:10: note: in expansion of macro 'ifield' if(lb(ifield(cwid,"animated"))&&dget(viewed,cwid)==NULL)dset(r,cwid,ONE); ^~~~~~ ./c/decker.c: In function 'fire_view': ./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/decker.c:3478:10: note: in expansion of macro 'ifield' lv*wids=ifield(target,"widgets");EACH(z,wids){ ^~~~~~ ./c/decker.c: In function 'paste_any': ./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/decker.c:3529:11: note: in expansion of macro 'ifield' lv*card=ifield(deck,"card");int n=ln(ifield(card,"index"));iwrite(c,lmistr("index"),lmn(n+1));n_go(deck,l_list(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/decker.c:3529:40: note: in expansion of macro 'ifield' lv*card=ifield(deck,"card");int n=ln(ifield(card,"index"));iwrite(c,lmistr("index"),lmn(n+1));n_go(deck,l_list(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/decker.c:3529:62: note: in expansion of macro 'iwrite' lv*card=ifield(deck,"card");int n=ln(ifield(card,"index"));iwrite(c,lmistr("index"),lmn(n+1));n_go(deck,l_list(c)); ^~~~~~ ./c/decker.c: In function 'gestures': ./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/decker.c:3536:28: note: in expansion of macro 'ifield' if(ev.drag&&ob.sel->c&&lb(ifield(ob.sel->lv[0],"draggable")))return; // must not be dragging a canvas ^~~~~~ ./c/decker.c: In function 'all_menus': ./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/decker.c:3627:58: note: in expansion of macro 'ifield' lv*c=n_deck_add(deck,l_list(lmistr("card")));int n=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:3627:65: note: in expansion of macro 'ifield' lv*c=n_deck_add(deck,l_list(lmistr("card")));int n=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:3627:58: note: in expansion of macro 'ifield' lv*c=n_deck_add(deck,l_list(lmistr("card")));int n=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:3627:58: note: in expansion of macro 'ifield' lv*c=n_deck_add(deck,l_list(lmistr("card")));int n=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./c/decker.c:3627:65: note: in expansion of macro 'ifield' lv*c=n_deck_add(deck,l_list(lmistr("card")));int n=ln(ifield(ifield(deck,"card"),"index")); ^~~~~~ ./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/decker.c:3628:4: note: in expansion of macro 'iwrite' iwrite(c,lmistr("index"),lmn(n+1)),n_go(deck,l_list(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/decker.c:3699:54: note: in expansion of macro 'ifield' pair s=buff_size(dr.limbo);char*pal=patterns_pal(ifield(deck,"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/decker.c:3747:24: note: in expansion of macro 'iwrite' lv*c=ob.sel->lv[0];iwrite(c,lmistr("size"),ifield(i,"size")),dset(c->b,lmistr("image"),i); ^~~~~~ ./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/decker.c:3747:48: note: in expansion of macro 'ifield' lv*c=ob.sel->lv[0];iwrite(c,lmistr("size"),ifield(i,"size")),dset(c->b,lmistr("image"),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/decker.c:3751:76: note: in expansion of macro 'iwrite' if(menu_item("Move to Front",ob.sel->c,'\0')){ob_order();EACH(z,ob.sel){iwrite(ob.sel->lv[z],lmistr("index"),lmn(RTEXT_END));}mark_dirty();} ^~~~~~ ./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/decker.c:3754:77: note: in expansion of macro 'iwrite' if(menu_item("Move to Back" ,ob.sel->c,'\0')){ob_order();EACHR(z,ob.sel){iwrite(ob.sel->lv[z],lmistr("index"),NONE);};mark_dirty();} ^~~~~~ ./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/decker.c:3810:22: note: in expansion of macro 'ifield' lv*def=con(),*defs=ifield(deck,"contraptions"); ^~~~~~ ./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/decker.c:3820:12: note: in expansion of macro 'ifield' int r=lb(ifield(def,"resizable")); ^~~~~~ ./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/decker.c:3821:45: note: in expansion of macro 'iwrite' if(menu_check("Resizable",1,r,'\0')){r^=1,iwrite(def,lmistr("resizable"),lmn(r)),mark_dirty();} ^~~~~~ ./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/decker.c:3880:30: note: in expansion of macro 'ifield' if(menu_item("Order..." ,ifield(con(),"widgets")->c,'O'))modal_enter(modal_orderwids); ^~~~~~ ./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/decker.c:3885:11: note: in expansion of macro 'ifield' aa&=lb(ifield(ob.sel->lv[z],"animated")); ^~~~~~ ./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/decker.c:3886:11: note: in expansion of macro 'ifield' av&=lb(ifield(ob.sel->lv[z],"volatile")); ^~~~~~ ./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/decker.c:3899:51: note: in expansion of macro 'ifield' int m=1;for(int z=1;zc;z++)if(!matchr(ifield(ob.sel->lv[0],"script"),ifield(ob.sel->lv[z],"script"))){m=0;break;} ^~~~~~ ./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/decker.c:3899:82: note: in expansion of macro 'ifield' int m=1;for(int z=1;zc;z++)if(!matchr(ifield(ob.sel->lv[0],"script"),ifield(ob.sel->lv[z],"script"))){m=0;break;} ^~~~~~ ./c/decker.c: In function 'main_view': ./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/decker.c:3926:72: note: in expansion of macro 'ifield' lv*back=con_image();pair bsize=image_size(back);char*pal=patterns_pal(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/decker.c:3978:9: note: in expansion of macro 'ifield' lv*n=ifield(wid,"name");pair s=font_textsize(FONT_BODY,n->sv); ^~~~~~ ./c/decker.c: In function 'tick': ./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/decker.c:4041:51: note: in expansion of macro 'ifield' if(uimode==mode_interact&&ev.drag&&ob.sel->c&&lb(ifield(ob.sel->lv[0],"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/decker.c:4042:91: note: in expansion of macro 'ifield' lv*c=ivalue(ob.sel->lv[0],"card");pair off=(contraption_is(c)||prototype_is(c))?getpair(ifield(c,"pos")):(pair){0,0}; ^~~~~~ ./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/decker.c:4043:3: note: in expansion of macro 'iwrite' iwrite(ob.sel->lv[0],lmistr("pos"),lmpair(pair_sub((pair){ev.pos.x-ob.prev.x,ev.pos.y-ob.prev.y},off))),mark_dirty(); ^~~~~~ ./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/decker.c:4051:58: note: in expansion of macro 'ifield' rect r={frame.size.x-60,2,50,12};char*pal=patterns_pal(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/decker.c:4060:16: note: in expansion of macro 'ifield' draw_textr(b,ifield(con(),"name")->sv,FONT_BODY,1); ^~~~~~ ./c/decker.c: In function 'quit': ./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/decker.c:4101:16: note: in expansion of macro 'ifield' if(!dirty||lb(ifield(deck,"locked"))){should_exit=1;return;} ^~~~~~ ./c/decker.c: In function 'save_deck': ./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/decker.c:4111:13: note: in expansion of macro 'ifield' if(!strcmp(ifield(deck,"name")->sv,""))iwrite(deck,lmistr("name"),lmcstr(directory_last(path->sv))); ^~~~~~ ./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/decker.c:4111:41: note: in expansion of macro 'iwrite' if(!strcmp(ifield(deck,"name")->sv,""))iwrite(deck,lmistr("name"),lmcstr(directory_last(path->sv))); ^~~~~~ ./c/decker.c: In function 'resize_window': ./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/decker.c:4116:10: note: in expansion of macro 'ifield' lv*card=ifield(deck,"card"); ^~~~~~ ./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/decker.c:4117:20: note: in expansion of macro 'ifield' pair size=getpair(ifield(card,"size")), dis=get_display_size(); ^~~~~~ ./c/decker.c: In function 'load_deck': ./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/decker.c:4130:11: note: in expansion of macro 'ifield' lv*fonts=ifield(deck,"fonts"); ^~~~~~ ./c/decker.c: In function 'main': ./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/decker.c:4208:16: note: in expansion of macro 'iwrite' if(startcard){iwrite(deck,lmistr("card"),lmcstr(startcard));} ^~~~~~ ./c/decker.c:4204:44: error: '/start.deck' directive output may be truncated writing 11 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=] char p[PATH_MAX];snprintf(p,sizeof(p),"%s/start.deck",base); ^~~~~~~~~~~ ./c/decker.c:4204:20: note: 'snprintf' output between 12 and 4107 bytes into a destination of size 4096 char p[PATH_MAX];snprintf(p,sizeof(p),"%s/start.deck",base); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./c/decker.c: In function '__sparc_get_pc_thunk.l7': cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror] cc1: all warnings being treated as errors gmake: *** [Makefile:59: decker] Error 1 *** Error 2 in graphics/decker (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/decker-1.51/.build_done': @cd /usr/obj/ports/d...) *** Error 2 in graphics/decker (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=decker-1.51; export _LOCKS_HELD=" decker-1.51"...) ===> Exiting graphics/decker with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1733260776.25 max_stuck=184.80/depends=31.26/show-prepare-results=8.51/build=259.62 Error: job failed with 512 on sparc64-0c at 1733260776