+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/frankenwm-1.0.23/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/frankenwm-1.0.23/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for frankenwm-1.0.23 frankenwm build options: CFLAGS = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -std=c99 -pedantic -Wall -Wextra -I. -I. -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/usr/include -g LDFLAGS = -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lc -lX11 -L/opt/local/lib -lxcb-util -lxcb-icccm -lxcb-keysyms -lxcb-ewmh -Wl,-R/opt/local/lib -lxcb -g CC = gcc creating config.h from config.def.h CC frankenwm.c frankenwm.c:354:8: error: unknown type name 'xcb_ewmh_connection_t' 354 | static xcb_ewmh_connection_t *ewmh; | ^~~~~~~~~~~~~~~~~~~~~ frankenwm.c: In function 'change_desktop': frankenwm.c:929:5: warning: implicit declaration of function 'xcb_ewmh_set_current_desktop' [-Wimplicit-function-declaration] 929 | xcb_ewmh_set_current_desktop(ewmh, default_screen, arg->i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c: In function 'print_window_type': frankenwm.c:936:23: error: request for member '_NET_WM_WINDOW_TYPE_DESKTOP' in something not a structure or union 936 | if (a == ewmh->_NET_WM_WINDOW_TYPE_DESKTOP) s = "_NET_WM_WINDOW_TYPE_DESKTOP"; | ^~ frankenwm.c:937:23: error: request for member '_NET_WM_WINDOW_TYPE_DOCK' in something not a structure or union 937 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_DOCK) s = "_NET_WM_WINDOW_TYPE_DOCK"; | ^~ frankenwm.c:938:23: error: request for member '_NET_WM_WINDOW_TYPE_TOOLBAR' in something not a structure or union 938 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLBAR) s = "_NET_WM_WINDOW_TYPE_TOOLBAR"; | ^~ frankenwm.c:939:23: error: request for member '_NET_WM_WINDOW_TYPE_MENU' in something not a structure or union 939 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_MENU) s = "_NET_WM_WINDOW_TYPE_MENU"; | ^~ frankenwm.c:940:23: error: request for member '_NET_WM_WINDOW_TYPE_UTILITY' in something not a structure or union 940 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_UTILITY) s = "_NET_WM_WINDOW_TYPE_UTILITY"; | ^~ frankenwm.c:941:23: error: request for member '_NET_WM_WINDOW_TYPE_SPLASH' in something not a structure or union 941 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_SPLASH) s = "_NET_WM_WINDOW_TYPE_SPLASH"; | ^~ frankenwm.c:942:23: error: request for member '_NET_WM_WINDOW_TYPE_DIALOG' in something not a structure or union 942 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_DIALOG) s = "_NET_WM_WINDOW_TYPE_DIALOG"; | ^~ frankenwm.c:943:23: error: request for member '_NET_WM_WINDOW_TYPE_DROPDOWN_MENU' in something not a structure or union 943 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU) s = "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU"; | ^~ frankenwm.c:944:23: error: request for member '_NET_WM_WINDOW_TYPE_POPUP_MENU' in something not a structure or union 944 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_POPUP_MENU) s = "_NET_WM_WINDOW_TYPE_POPUP_MENU"; | ^~ frankenwm.c:945:23: error: request for member '_NET_WM_WINDOW_TYPE_TOOLTIP' in something not a structure or union 945 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLTIP) s = "_NET_WM_WINDOW_TYPE_TOOLTIP"; | ^~ frankenwm.c:946:23: error: request for member '_NET_WM_WINDOW_TYPE_NOTIFICATION' in something not a structure or union 946 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION) s = "_NET_WM_WINDOW_TYPE_NOTIFICATION"; | ^~ frankenwm.c:947:23: error: request for member '_NET_WM_WINDOW_TYPE_COMBO' in something not a structure or union 947 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_COMBO) s = "_NET_WM_WINDOW_TYPE_COMBO"; | ^~ frankenwm.c:948:23: error: request for member '_NET_WM_WINDOW_TYPE_DND' in something not a structure or union 948 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_DND) s = "_NET_WM_WINDOW_TYPE_DND"; | ^~ frankenwm.c:949:23: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 949 | else if (a == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) s = "_NET_WM_WINDOW_TYPE_NORMAL"; | ^~ frankenwm.c: In function 'check_if_window_is_alien': frankenwm.c:969:29: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 969 | if (wtype) *wtype = ewmh->_NET_WM_WINDOW_TYPE_NORMAL; | ^~ frankenwm.c:986:5: error: unknown type name 'xcb_ewmh_get_atoms_reply_t'; did you mean 'xcb_intern_atom_reply_t'? 986 | xcb_ewmh_get_atoms_reply_t type; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | xcb_intern_atom_reply_t frankenwm.c:988:9: warning: implicit declaration of function 'xcb_ewmh_get_wm_window_type_reply' [-Wimplicit-function-declaration] 988 | if (xcb_ewmh_get_wm_window_type_reply(ewmh, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:989:33: warning: implicit declaration of function 'xcb_ewmh_get_wm_window_type' [-Wimplicit-function-declaration] 989 | xcb_ewmh_get_wm_window_type(ewmh, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:991:33: error: request for member 'atoms' in something not a structure or union 991 | if (wtype) *wtype = type.atoms[0]; | ^ frankenwm.c:992:42: error: request for member 'atoms_len' in something not a structure or union 992 | for (unsigned int i = 0; i < type.atoms_len; i++) { | ^ frankenwm.c:993:28: error: request for member 'atoms' in something not a structure or union 993 | print_window_type(win, type.atoms[i]); | ^ frankenwm.c:994:21: error: request for member 'atoms' in something not a structure or union 994 | if (type.atoms[i] == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) { | ^ frankenwm.c:994:38: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 994 | if (type.atoms[i] == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) { | ^~ frankenwm.c:998:21: error: request for member 'atoms' in something not a structure or union 998 | if (type.atoms[i] == ewmh->_NET_WM_WINDOW_TYPE_DIALOG) { | ^ frankenwm.c:998:38: error: request for member '_NET_WM_WINDOW_TYPE_DIALOG' in something not a structure or union 998 | if (type.atoms[i] == ewmh->_NET_WM_WINDOW_TYPE_DIALOG) { | ^~ frankenwm.c:999:46: error: request for member 'atoms' in something not a structure or union 999 | if (wtype) *wtype = type.atoms[i]; | ^ frankenwm.c:1006:33: error: request for member 'atoms' in something not a structure or union 1006 | atype = type.atoms[i]; | ^ frankenwm.c:1010:9: warning: implicit declaration of function 'xcb_ewmh_get_atoms_reply_wipe' [-Wimplicit-function-declaration] 1010 | xcb_ewmh_get_atoms_reply_wipe(&type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c: In function 'cleanup': frankenwm.c:1072:5: warning: implicit declaration of function 'xcb_ewmh_connection_wipe' [-Wimplicit-function-declaration] 1072 | xcb_ewmh_connection_wipe(ewmh); | ^~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:1075:48: error: request for member '_NET_SUPPORTED' in something not a structure or union 1075 | xcb_delete_property(dis, screen->root, ewmh->_NET_SUPPORTED); | ^~ frankenwm.c: In function 'client_to_desktop': frankenwm.c:1139:5: warning: implicit declaration of function 'xcb_ewmh_set_wm_desktop' [-Wimplicit-function-declaration] 1139 | xcb_ewmh_set_wm_desktop(ewmh, c->win, arg->i); | ^~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c: In function 'clientmessage': frankenwm.c:1169:30: error: request for member '_NET_WM_STATE' in something not a structure or union 1169 | if (c && ev->type == ewmh->_NET_WM_STATE) { | ^~ frankenwm.c:1170:50: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 1170 | if (((unsigned)ev->data.data32[1] == ewmh->_NET_WM_STATE_FULLSCREEN | ^~ frankenwm.c:1171:50: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 1171 | || (unsigned)ev->data.data32[2] == ewmh->_NET_WM_STATE_FULLSCREEN)) { | ^~ frankenwm.c:1178:50: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 1178 | if (((unsigned)ev->data.data32[1] == ewmh->_NET_WM_STATE_HIDDEN | ^~ frankenwm.c:1179:50: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 1179 | || (unsigned)ev->data.data32[2] == ewmh->_NET_WM_STATE_HIDDEN)) { | ^~ frankenwm.c:1199:29: error: request for member '_NET_CURRENT_DESKTOP' in something not a structure or union 1199 | if (ev->type == ewmh->_NET_CURRENT_DESKTOP | ^~ frankenwm.c:1203:38: error: request for member '_NET_CLOSE_WINDOW' in something not a structure or union 1203 | if (c && ev->type == ewmh->_NET_CLOSE_WINDOW) | ^~ frankenwm.c:1206:37: error: request for member '_NET_ACTIVE_WINDOW' in something not a structure or union 1206 | if (ev->type == ewmh->_NET_ACTIVE_WINDOW) { | ^~ frankenwm.c:1220:46: error: request for member '_NET_WM_DESKTOP' in something not a structure or union 1220 | if (c && ev->type == ewmh->_NET_WM_DESKTOP | ^~ frankenwm.c: In function 'configurerequest': frankenwm.c:1252:37: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 1252 | if (c && c->type == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) { | ^~ frankenwm.c: In function 'destroy_display': frankenwm.c:1435:49: error: request for member '_NET_WM_STATE' in something not a structure or union 1435 | xcb_remove_property(dis, t->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:1435:70: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 1435 | xcb_remove_property(dis, t->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c: In function 'dualstack': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1491:14: note: in expansion of macro 'ISFMFTM' 1491 | if (!ISFMFTM(t)) { | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1535:13: note: in expansion of macro 'ISFMFTM' 1535 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c: In function 'equal': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1601:13: note: in expansion of macro 'ISFMFTM' 1601 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1608:13: note: in expansion of macro 'ISFMFTM' 1608 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c: In function 'fibonacci': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1644:13: note: in expansion of macro 'ISFMFTM' 1644 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1649:18: note: in expansion of macro 'ISFMFTM' 1649 | if (!ISFMFTM(n)) | ^~~~~~~ frankenwm.c: In function 'grid': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1886:14: note: in expansion of macro 'ISFMFTM' 1886 | if (!ISFMFTM(c)) | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:1901:13: note: in expansion of macro 'ISFMFTM' 1901 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c: In function 'mapnotify': frankenwm.c:2005:5: error: unknown type name 'xcb_ewmh_get_atoms_reply_t'; did you mean 'xcb_intern_atom_reply_t'? 2005 | xcb_ewmh_get_atoms_reply_t type; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | xcb_intern_atom_reply_t frankenwm.c:2009:38: error: request for member 'atoms' in something not a structure or union 2009 | create_alien(ev->window, type.atoms[0]); | ^ frankenwm.c: In function 'maprequest': frankenwm.c:2034:5: error: unknown type name 'xcb_ewmh_get_utf8_strings_reply_t' 2034 | xcb_ewmh_get_utf8_strings_reply_t wtitle; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2035:52: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 2035 | xcb_atom_t wtype = ewmh->_NET_WM_WINDOW_TYPE_NORMAL; | ^~ frankenwm.c:2054:46: error: request for member '_NET_WM_STATE' in something not a structure or union 2054 | xcb_remove_property(dis, ev->window, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:2054:67: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 2054 | xcb_remove_property(dis, ev->window, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:2061:14: warning: implicit declaration of function 'xcb_ewmh_get_wm_name_unchecked'; did you mean 'xcb_icccm_get_wm_name_unchecked'? [-Wimplicit-function-declaration] 2061 | cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, ev->window); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xcb_icccm_get_wm_name_unchecked frankenwm.c:2061:14: error: incompatible types when assigning to type 'xcb_get_property_cookie_t' from type 'int' frankenwm.c:2063:9: warning: implicit declaration of function 'xcb_ewmh_get_wm_name_reply'; did you mean 'xcb_icccm_get_wm_name_reply'? [-Wimplicit-function-declaration] 2063 | if (xcb_ewmh_get_wm_name_reply(ewmh, cookie, &wtitle, (void *)0)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | xcb_icccm_get_wm_name_reply frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union 2066 | if (!strcmp(wtitle.strings, SCRPDNAME)) { | ^ frankenwm.c:2073:13: warning: implicit declaration of function 'xcb_ewmh_get_utf8_strings_reply_wipe' [-Wimplicit-function-declaration] 2073 | xcb_ewmh_get_utf8_strings_reply_wipe(&wtitle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2082:51: error: request for member 'strings' in something not a structure or union 2082 | if (!regexec(&appruleregex[i], &wtitle.strings[0], 0, NULL, 0)) { | ^ frankenwm.c:2107:61: error: request for member '_NET_WM_STATE' in something not a structure or union 2107 | dis, 0, ev->window, ewmh->_NET_WM_STATE, | ^~ frankenwm.c:2115:33: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 2115 | if (v[i] == ewmh->_NET_WM_STATE_FULLSCREEN) | ^~ frankenwm.c: In function 'minimize_client': frankenwm.c:2181:44: error: request for member '_NET_WM_STATE' in something not a structure or union 2181 | xcb_add_property(dis, new->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:2181:65: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 2181 | xcb_add_property(dis, new->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c: In function 'monocle': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:2293:14: note: in expansion of macro 'ISFMFTM' 2293 | if (!ISFMFTM(c)) | ^~~~~~~ frankenwm.c: In function 'propertynotify': frankenwm.c:2384:25: error: request for member '_NET_WM_STRUT' in something not a structure or union 2384 | if (ev->atom == ewmh->_NET_WM_STRUT | ^~ frankenwm.c:2385:25: error: request for member '_NET_WM_STRUT_PARTIAL' in something not a structure or union 2385 | || ev->atom == ewmh->_NET_WM_STRUT_PARTIAL) { | ^~ frankenwm.c: In function 'restore_client': frankenwm.c:2524:45: error: request for member '_NET_WM_STATE' in something not a structure or union 2524 | xcb_remove_property(dis, t->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:2524:66: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 2524 | xcb_remove_property(dis, t->c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c: In function 'setmaximize': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:2706:39: note: in expansion of macro 'ISFMFTM' 2706 | (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) | ^~~~~~~ frankenwm.c: In function 'setfullscreen': frankenwm.c:2776:29: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 2776 | long data[] = { ewmh->_NET_WM_STATE_FULLSCREEN }; | ^~ frankenwm.c:2781:41: error: request for member '_NET_WM_STATE' in something not a structure or union 2781 | c->win, ewmh->_NET_WM_STATE, | ^~ frankenwm.c:2781:37: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 2781 | c->win, ewmh->_NET_WM_STATE, | ^~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:2789:46: note: in expansion of macro 'ISFMFTM' 2789 | (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) | ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:2789:46: note: in expansion of macro 'ISFMFTM' 2789 | (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) | ^~~~~~~ frankenwm.c:2791:46: error: request for member '_NET_WM_STATE' in something not a structure or union 2791 | xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~ frankenwm.c:2791:67: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 2791 | xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~ frankenwm.c:2791:42: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 2791 | xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:78: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c:2791:63: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 2791 | xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:95: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c: In function 'setup': frankenwm.c:2842:29: error: 'xcb_ewmh_connection_t' undeclared (first use in this function); did you mean 'xcb_connection_t'? 2842 | ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); | ^~~~~~~~~~~~~~~~~~~~~ | xcb_connection_t frankenwm.c:2842:29: note: each undeclared identifier is reported only once for each function it appears in frankenwm.c:2842:22: warning: passing argument 2 of 'calloc' makes integer from pointer without a cast [-Wint-conversion] 2842 | ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /usr/include/stdlib.h:40, from frankenwm.c:3: /usr/include/iso/stdlib_iso.h:134:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'long int *' 134 | extern void *calloc(size_t, size_t); | ^~~~~~ frankenwm.c:2845:14: warning: implicit declaration of function 'xcb_ewmh_init_atoms' [-Wimplicit-function-declaration] 2845 | cookie = xcb_ewmh_init_atoms(dis, ewmh); | ^~~~~~~~~~~~~~~~~~~ frankenwm.c:2845:12: warning: assignment to 'xcb_intern_atom_cookie_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2845 | cookie = xcb_ewmh_init_atoms(dis, ewmh); | ^ frankenwm.c:2846:5: warning: implicit declaration of function 'xcb_ewmh_init_atoms_replies' [-Wimplicit-function-declaration] 2846 | xcb_ewmh_init_atoms_replies(ewmh, cookie, (void *)0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2849:36: error: request for member '_NET_SUPPORTED' in something not a structure or union 2849 | xcb_atom_t net_atoms[] = { ewmh->_NET_SUPPORTED, | ^~ frankenwm.c:2849:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2849 | xcb_atom_t net_atoms[] = { ewmh->_NET_SUPPORTED, | ^~~~ frankenwm.c:2849:32: note: (near initialization for 'net_atoms[0]') frankenwm.c:2851:36: error: request for member '_NET_CLIENT_LIST' in something not a structure or union 2851 | ewmh->_NET_CLIENT_LIST, | ^~ frankenwm.c:2851:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2851 | ewmh->_NET_CLIENT_LIST, | ^~~~ frankenwm.c:2851:32: note: (near initialization for 'net_atoms[1]') frankenwm.c:2852:36: error: request for member '_NET_WM_STRUT' in something not a structure or union 2852 | ewmh->_NET_WM_STRUT, | ^~ frankenwm.c:2852:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2852 | ewmh->_NET_WM_STRUT, | ^~~~ frankenwm.c:2852:32: note: (near initialization for 'net_atoms[2]') frankenwm.c:2853:36: error: request for member '_NET_WM_STRUT_PARTIAL' in something not a structure or union 2853 | ewmh->_NET_WM_STRUT_PARTIAL, | ^~ frankenwm.c:2853:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2853 | ewmh->_NET_WM_STRUT_PARTIAL, | ^~~~ frankenwm.c:2853:32: note: (near initialization for 'net_atoms[3]') frankenwm.c:2855:36: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 2855 | ewmh->_NET_WM_STATE_FULLSCREEN, | ^~ frankenwm.c:2855:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2855 | ewmh->_NET_WM_STATE_FULLSCREEN, | ^~~~ frankenwm.c:2855:32: note: (near initialization for 'net_atoms[4]') frankenwm.c:2856:36: error: request for member '_NET_WM_STATE' in something not a structure or union 2856 | ewmh->_NET_WM_STATE, | ^~ frankenwm.c:2856:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2856 | ewmh->_NET_WM_STATE, | ^~~~ frankenwm.c:2856:32: note: (near initialization for 'net_atoms[5]') frankenwm.c:2857:36: error: request for member '_NET_SUPPORTING_WM_CHECK' in something not a structure or union 2857 | ewmh->_NET_SUPPORTING_WM_CHECK, | ^~ frankenwm.c:2857:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2857 | ewmh->_NET_SUPPORTING_WM_CHECK, | ^~~~ frankenwm.c:2857:32: note: (near initialization for 'net_atoms[6]') frankenwm.c:2858:36: error: request for member '_NET_ACTIVE_WINDOW' in something not a structure or union 2858 | ewmh->_NET_ACTIVE_WINDOW, | ^~ frankenwm.c:2858:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2858 | ewmh->_NET_ACTIVE_WINDOW, | ^~~~ frankenwm.c:2858:32: note: (near initialization for 'net_atoms[7]') frankenwm.c:2859:36: error: request for member '_NET_NUMBER_OF_DESKTOPS' in something not a structure or union 2859 | ewmh->_NET_NUMBER_OF_DESKTOPS, | ^~ frankenwm.c:2859:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2859 | ewmh->_NET_NUMBER_OF_DESKTOPS, | ^~~~ frankenwm.c:2859:32: note: (near initialization for 'net_atoms[8]') frankenwm.c:2860:36: error: request for member '_NET_CURRENT_DESKTOP' in something not a structure or union 2860 | ewmh->_NET_CURRENT_DESKTOP, | ^~ frankenwm.c:2860:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2860 | ewmh->_NET_CURRENT_DESKTOP, | ^~~~ frankenwm.c:2860:32: note: (near initialization for 'net_atoms[9]') frankenwm.c:2861:36: error: request for member '_NET_DESKTOP_GEOMETRY' in something not a structure or union 2861 | ewmh->_NET_DESKTOP_GEOMETRY, | ^~ frankenwm.c:2861:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2861 | ewmh->_NET_DESKTOP_GEOMETRY, | ^~~~ frankenwm.c:2861:32: note: (near initialization for 'net_atoms[10]') frankenwm.c:2862:36: error: request for member '_NET_DESKTOP_VIEWPORT' in something not a structure or union 2862 | ewmh->_NET_DESKTOP_VIEWPORT, | ^~ frankenwm.c:2862:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2862 | ewmh->_NET_DESKTOP_VIEWPORT, | ^~~~ frankenwm.c:2862:32: note: (near initialization for 'net_atoms[11]') frankenwm.c:2863:36: error: request for member '_NET_WORKAREA' in something not a structure or union 2863 | ewmh->_NET_WORKAREA, | ^~ frankenwm.c:2863:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2863 | ewmh->_NET_WORKAREA, | ^~~~ frankenwm.c:2863:32: note: (near initialization for 'net_atoms[12]') frankenwm.c:2864:36: error: request for member '_NET_SHOWING_DESKTOP' in something not a structure or union 2864 | ewmh->_NET_SHOWING_DESKTOP, | ^~ frankenwm.c:2864:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2864 | ewmh->_NET_SHOWING_DESKTOP, | ^~~~ frankenwm.c:2864:32: note: (near initialization for 'net_atoms[13]') frankenwm.c:2865:36: error: request for member '_NET_CLOSE_WINDOW' in something not a structure or union 2865 | ewmh->_NET_CLOSE_WINDOW, | ^~ frankenwm.c:2865:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2865 | ewmh->_NET_CLOSE_WINDOW, | ^~~~ frankenwm.c:2865:32: note: (near initialization for 'net_atoms[14]') frankenwm.c:2866:36: error: request for member '_NET_WM_DESKTOP' in something not a structure or union 2866 | ewmh->_NET_WM_DESKTOP, | ^~ frankenwm.c:2866:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2866 | ewmh->_NET_WM_DESKTOP, | ^~~~ frankenwm.c:2866:32: note: (near initialization for 'net_atoms[15]') frankenwm.c:2867:36: error: request for member '_NET_WM_WINDOW_TYPE' in something not a structure or union 2867 | ewmh->_NET_WM_WINDOW_TYPE }; | ^~ frankenwm.c:2867:32: warning: initialization of 'unsigned int' from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2867 | ewmh->_NET_WM_WINDOW_TYPE }; | ^~~~ frankenwm.c:2867:32: note: (near initialization for 'net_atoms[16]') frankenwm.c:2869:5: error: unknown type name 'xcb_ewmh_coordinates_t' 2869 | xcb_ewmh_coordinates_t viewports[2] = {{ 0, 0 }}; | ^~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2869:5: warning: braces around scalar initializer frankenwm.c:2869:5: note: (near initialization for 'viewports[0]') frankenwm.c:2869:49: warning: excess elements in scalar initializer 2869 | xcb_ewmh_coordinates_t viewports[2] = {{ 0, 0 }}; | ^ frankenwm.c:2869:49: note: (near initialization for 'viewports[0]') frankenwm.c:2871:5: error: unknown type name 'xcb_ewmh_geometry_t' 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^~~~~~~~~~~~~~~~~~~ frankenwm.c:2871:5: warning: braces around scalar initializer frankenwm.c:2871:5: note: (near initialization for 'workarea[0]') frankenwm.c:2871:45: warning: excess elements in scalar initializer 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^ frankenwm.c:2871:45: note: (near initialization for 'workarea[0]') frankenwm.c:346:23: warning: excess elements in scalar initializer 346 | #define M_WW (current_monitor->ww) | ^ frankenwm.c:2871:48: note: in expansion of macro 'M_WW' 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^~~~ frankenwm.c:346:23: note: (near initialization for 'workarea[0]') 346 | #define M_WW (current_monitor->ww) | ^ frankenwm.c:2871:48: note: in expansion of macro 'M_WW' 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^~~~ frankenwm.c:347:23: warning: excess elements in scalar initializer 347 | #define M_WH (current_monitor->wh) | ^ frankenwm.c:2871:54: note: in expansion of macro 'M_WH' 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^~~~ frankenwm.c:347:23: note: (near initialization for 'workarea[0]') 347 | #define M_WH (current_monitor->wh) | ^ frankenwm.c:2871:54: note: in expansion of macro 'M_WH' 2871 | xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; | ^~~~ frankenwm.c:2878:5: warning: implicit declaration of function 'xcb_ewmh_set_wm_name'; did you mean 'xcb_icccm_set_wm_name'? [-Wimplicit-function-declaration] 2878 | xcb_ewmh_set_wm_name(ewmh, checkwin, sizeof(WM_NAME)-1, WM_NAME); | ^~~~~~~~~~~~~~~~~~~~ | xcb_icccm_set_wm_name frankenwm.c:2880:5: warning: implicit declaration of function 'xcb_ewmh_set_supported' [-Wimplicit-function-declaration] 2880 | xcb_ewmh_set_supported(ewmh, default_screen, LENGTH(net_atoms), net_atoms); | ^~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2881:5: warning: implicit declaration of function 'xcb_ewmh_set_supporting_wm_check' [-Wimplicit-function-declaration] 2881 | xcb_ewmh_set_supporting_wm_check(ewmh, screen->root, checkwin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2882:5: warning: implicit declaration of function 'xcb_ewmh_set_number_of_desktops' [-Wimplicit-function-declaration] 2882 | xcb_ewmh_set_number_of_desktops(ewmh, default_screen, DESKTOPS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2884:5: warning: implicit declaration of function 'xcb_ewmh_set_desktop_geometry' [-Wimplicit-function-declaration] 2884 | xcb_ewmh_set_desktop_geometry(ewmh, default_screen, M_WW, M_WH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2885:5: warning: implicit declaration of function 'xcb_ewmh_set_desktop_viewport' [-Wimplicit-function-declaration] 2885 | xcb_ewmh_set_desktop_viewport(ewmh, default_screen, 1, viewports); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2886:5: warning: implicit declaration of function 'xcb_ewmh_set_workarea' [-Wimplicit-function-declaration] 2886 | xcb_ewmh_set_workarea(ewmh, default_screen, 1, workarea); | ^~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2887:5: warning: implicit declaration of function 'xcb_ewmh_set_showing_desktop' [-Wimplicit-function-declaration] 2887 | xcb_ewmh_set_showing_desktop(ewmh, default_screen, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2890:29: error: request for member '_NET_SUPPORTED' in something not a structure or union 2890 | ewmh->_NET_SUPPORTED, XCB_ATOM_ATOM, 32, | ^~ frankenwm.c:2890:25: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 2890 | ewmh->_NET_SUPPORTED, XCB_ATOM_ATOM, 32, | ^~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c:2924:36: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 2924 | xcb_atom_t wtype = ewmh->_NET_WM_WINDOW_TYPE_NORMAL; | ^~ frankenwm.c:2924:32: warning: initialization of 'xcb_atom_t' {aka 'unsigned int'} from 'long int *' makes integer from pointer without a cast [-Wint-conversion] 2924 | xcb_atom_t wtype = ewmh->_NET_WM_WINDOW_TYPE_NORMAL; | ^~~~ frankenwm.c:2955:73: error: request for member '_NET_WM_STATE' in something not a structure or union 2955 | dis, 0, children[i], ewmh->_NET_WM_STATE, | ^~ frankenwm.c:2955:69: warning: passing argument 4 of 'xcb_get_property_unchecked' makes integer from pointer without a cast [-Wint-conversion] 2955 | dis, 0, children[i], ewmh->_NET_WM_STATE, | ^~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6967:47: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6967 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c:2963:45: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 2963 | if (v[i] == ewmh->_NET_WM_STATE_HIDDEN) | ^~ frankenwm.c:2963:38: warning: comparison between pointer and integer 2963 | if (v[i] == ewmh->_NET_WM_STATE_HIDDEN) | ^~ frankenwm.c:2982:23: warning: implicit declaration of function 'xcb_ewmh_get_wm_desktop_reply' [-Wimplicit-function-declaration] 2982 | if (!(xcb_ewmh_get_wm_desktop_reply(ewmh, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2983:23: warning: implicit declaration of function 'xcb_ewmh_get_wm_desktop' [-Wimplicit-function-declaration] 2983 | xcb_ewmh_get_wm_desktop(ewmh, children[i]), &dsk, NULL))) { | ^~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2996:46: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 2996 | if (wtype == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:2996:39: warning: comparison between pointer and integer 2996 | if (wtype == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3013:59: error: request for member '_NET_WM_STATE' in something not a structure or union 3013 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~ frankenwm.c:3013:80: error: request for member '_NET_WM_STATE_FULLSCREEN' in something not a structure or union 3013 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~ frankenwm.c:3013:55: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 3013 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:78: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c:3013:76: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 3013 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:95: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c:3014:59: error: request for member '_NET_WM_STATE' in something not a structure or union 3014 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:3014:80: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union 3014 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~ frankenwm.c:3014:55: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 3014 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:78: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c:3014:76: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [-Wint-conversion] 3014 | xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * frankenwm.c:510:95: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 510 | void xcb_remove_property(xcb_connection_t *con, xcb_window_t win, xcb_atom_t prop, xcb_atom_t atom) | ~~~~~~~~~~~^~~~ frankenwm.c: In function 'stack': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3160:14: note: in expansion of macro 'ISFMFTM' 3160 | if (!ISFMFTM(t)) { | ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3160:14: note: in expansion of macro 'ISFMFTM' 3160 | if (!ISFMFTM(t)) { | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3225:33: note: in expansion of macro 'ISFMFTM' 3225 | for (c = M_GETNEXT(c); c && ISFMFTM(c); c = M_GETNEXT(c)); | ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3225:33: note: in expansion of macro 'ISFMFTM' 3225 | for (c = M_GETNEXT(c); c && ISFMFTM(c); c = M_GETNEXT(c)); | ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3239:13: note: in expansion of macro 'ISFMFTM' 3239 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3239:13: note: in expansion of macro 'ISFMFTM' 3239 | if (ISFMFTM(c)) | ^~~~~~~ frankenwm.c: In function 'nada': frankenwm.c:3421:52: error: request for member '_NET_ACTIVE_WINDOW' in something not a structure or union 3421 | xcb_delete_property(dis, screen->root, ewmh->_NET_ACTIVE_WINDOW); | ^~ frankenwm.c:3421:48: warning: passing argument 3 of 'xcb_delete_property' makes integer from pointer without a cast [-Wint-conversion] 3421 | xcb_delete_property(dis, screen->root, ewmh->_NET_ACTIVE_WINDOW); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6892:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6892 | xcb_atom_t property); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c: In function 'update_current': frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3463:67: note: in expansion of macro 'ISFMFTM' 3463 | || (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) | ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer 44 | #define ISFMFTM(c) (c->isfullscreen || c->ismaximized || c->isfloating || c->istransient || c->isminimized || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) | ^~ frankenwm.c:3463:67: note: in expansion of macro 'ISFMFTM' 3463 | || (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) | ^~~~~~~ frankenwm.c:3489:81: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 3489 | if (c->ismaximized || c->isfloating || c->istransient || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) { | ^~ frankenwm.c:3489:74: warning: comparison between pointer and integer 3489 | if (c->ismaximized || c->isfloating || c->istransient || c->type != ewmh->_NET_WM_WINDOW_TYPE_NORMAL) { | ^~ frankenwm.c:3507:32: error: request for member '_NET_WM_WINDOW_TYPE_NOTIFICATION' in something not a structure or union 3507 | && a->type != ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION) | ^~ frankenwm.c:3507:25: warning: comparison between pointer and integer 3507 | && a->type != ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION) | ^~ frankenwm.c:3516:37: error: request for member '_NET_ACTIVE_WINDOW' in something not a structure or union 3516 | ewmh->_NET_ACTIVE_WINDOW, XCB_ATOM_WINDOW, 32, 1, | ^~ frankenwm.c:3516:33: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 3516 | ewmh->_NET_ACTIVE_WINDOW, XCB_ATOM_WINDOW, 32, 1, | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c: In function 'Setup_EWMH_Taskbar_Support': frankenwm.c:3633:29: error: request for member '_NET_DESKTOP_NAMES' in something not a structure or union 3633 | ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); | ^~ frankenwm.c:3633:55: error: request for member 'UTF8_STRING' in something not a structure or union 3633 | ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); | ^~ frankenwm.c:3633:25: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 3633 | ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c:3633:51: warning: passing argument 5 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 3633 | ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); | ^~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6851:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6851 | xcb_atom_t type, | ~~~~~~~~~~~~~~~~~~^~~~ frankenwm.c: In function 'Cleanup_EWMH_Taskbar_Support': frankenwm.c:3643:43: error: request for member '_NET_CLIENT_LIST' in something not a structure or union 3643 | screen->root, ewmh->_NET_CLIENT_LIST, | ^~ frankenwm.c:3643:39: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 3643 | screen->root, ewmh->_NET_CLIENT_LIST, | ^~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c: In function 'Update_EWMH_Taskbar_Properties': frankenwm.c:3670:47: error: request for member '_NET_CLIENT_LIST' in something not a structure or union 3670 | screen->root, ewmh->_NET_CLIENT_LIST, | ^~ frankenwm.c:3670:43: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] 3670 | screen->root, ewmh->_NET_CLIENT_LIST, | ^~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6850:40: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6850 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c: In function 'Update_Global_Strut': frankenwm.c:3726:31: error: request for member '_NET_WM_STRUT_PARTIAL' in something not a structure or union 3726 | ewmh->_NET_WM_STRUT_PARTIAL, XCB_ATOM_CARDINAL, 0, 4), NULL); | ^~ frankenwm.c:3726:27: warning: passing argument 4 of 'xcb_get_property_unchecked' makes integer from pointer without a cast [-Wint-conversion] 3726 | ewmh->_NET_WM_STRUT_PARTIAL, XCB_ATOM_CARDINAL, 0, 4), NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6967:47: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6967 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ frankenwm.c:3730:35: error: request for member '_NET_WM_STRUT' in something not a structure or union 3730 | ewmh->_NET_WM_STRUT, XCB_ATOM_CARDINAL, 0, 4), NULL); | ^~ frankenwm.c:3730:31: warning: passing argument 4 of 'xcb_get_property_unchecked' makes integer from pointer without a cast [-Wint-conversion] 3730 | ewmh->_NET_WM_STRUT, XCB_ATOM_CARDINAL, 0, 4), NULL); | ^~~~~~~~~~~~~~~~~~~ | | | long int * In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6967:47: note: expected 'xcb_atom_t' {aka 'unsigned int'} but argument is of type 'long int *' 6967 | xcb_atom_t property, | ~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake: *** [Makefile:35: frankenwm.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/frankenwm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/frankenwm