=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for frankenwm-1.0.23 frankenwm build options: creating config.h from config.def.h CC frankenwm.c CFLAGS = -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -std=c99 -pedantic -Wall -Wextra -I. -I. -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R7/include -g LDFLAGS = -Wl,-zrelro -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -lc -lX11 -L/usr/X11R7/lib -L/usr/pkg/lib -lxcb-util -lxcb-icccm -lxcb-keysyms -Wl,-R/usr/pkg/lib -lxcb-ewmh -Wl,-rpath,/usr/X11R7/lib -lxcb -g CC = gcc frankenwm.c:354:8: error: unknown type name 'xcb_ewmh_connection_t' 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] 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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'? 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'; did you mean 'xcb_icccm_get_wm_icon_name_reply'? [-Wimplicit-function-declaration] if (xcb_ewmh_get_wm_window_type_reply(ewmh, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_icon_name_reply frankenwm.c:989:33: warning: implicit declaration of function 'xcb_ewmh_get_wm_window_type'; did you mean 'xcb_icccm_get_wm_icon_name'? [-Wimplicit-function-declaration] xcb_ewmh_get_wm_window_type(ewmh, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_icon_name frankenwm.c:991:33: error: request for member 'atoms' in something not a structure or union if (wtype) *wtype = type.atoms[0]; ^ frankenwm.c:992:42: error: request for member 'atoms_len' in something not a structure or union 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 print_window_type(win, type.atoms[i]); ^ frankenwm.c:994:21: error: request for member 'atoms' in something not a structure or union 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 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 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 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 if (wtype) *wtype = type.atoms[i]; ^ frankenwm.c:1006:33: error: request for member 'atoms' in something not a structure or union atype = type.atoms[i]; ^ frankenwm.c:1010:9: warning: implicit declaration of function 'xcb_ewmh_get_atoms_reply_wipe'; did you mean 'xcb_icccm_get_wm_class_reply_wipe'? [-Wimplicit-function-declaration] xcb_ewmh_get_atoms_reply_wipe(&type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_class_reply_wipe frankenwm.c: In function 'cleanup': frankenwm.c:1072:5: warning: implicit declaration of function 'xcb_ewmh_connection_wipe'; did you mean 'xcb_is_function_key'? [-Wimplicit-function-declaration] xcb_ewmh_connection_wipe(ewmh); ^~~~~~~~~~~~~~~~~~~~~~~~ xcb_is_function_key frankenwm.c:1075:48: error: request for member '_NET_SUPPORTED' in something not a structure or union 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'; did you mean 'client_to_desktop'? [-Wimplicit-function-declaration] xcb_ewmh_set_wm_desktop(ewmh, c->win, arg->i); ^~~~~~~~~~~~~~~~~~~~~~~ client_to_desktop frankenwm.c: In function 'clientmessage': frankenwm.c:1169:30: error: request for member '_NET_WM_STATE' in something not a structure or union 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 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 || (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 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 || (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 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 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 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 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 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 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 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 #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' if (!ISFMFTM(t)) { ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' 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 #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' if (ISFMFTM(c)) ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' 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 #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' if (ISFMFTM(c)) ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' 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 #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' if (!ISFMFTM(c)) ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' 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'? 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 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'; did you mean 'xcb_icccm_get_wm_protocols_reply_t'? xcb_ewmh_get_utf8_strings_reply_t wtitle; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_protocols_reply_t frankenwm.c:2035:52: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union 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 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 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] cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, ev->window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_name_unchecked frankenwm.c:2061:12: error: incompatible types when assigning to type 'xcb_get_property_cookie_t {aka struct xcb_get_property_cookie_t}' from type 'int' cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, ev->window); ^ 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] 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 if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2073:13: warning: implicit declaration of function 'xcb_ewmh_get_utf8_strings_reply_wipe'; did you mean 'xcb_icccm_get_wm_protocols_reply_wipe'? [-Wimplicit-function-declaration] xcb_ewmh_get_utf8_strings_reply_wipe(&wtitle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_protocols_reply_wipe frankenwm.c:2082:51: error: request for member 'strings' in something not a structure or union 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 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 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 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 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 #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' 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 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 || 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 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 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 #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' (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 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 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] c->win, ewmh->_NET_WM_STATE, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer #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' (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 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 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] xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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] xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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'? 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] ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); ^~~~~~ In file included from frankenwm.c:3:0: /usr/include/stdlib.h:109:7: note: expected 'size_t {aka long unsigned int}' but argument is of type 'long int *' void *calloc(size_t, size_t); ^~~~~~ frankenwm.c:2845:14: warning: implicit declaration of function 'xcb_ewmh_init_atoms'; did you mean 'xcb_get_atoms'? [-Wimplicit-function-declaration] cookie = xcb_ewmh_init_atoms(dis, ewmh); ^~~~~~~~~~~~~~~~~~~ xcb_get_atoms frankenwm.c:2845:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cookie = xcb_ewmh_init_atoms(dis, ewmh); ^ frankenwm.c:2846:5: warning: implicit declaration of function 'xcb_ewmh_init_atoms_replies'; did you mean 'xcb_intern_atom_reply'? [-Wimplicit-function-declaration] xcb_ewmh_init_atoms_replies(ewmh, cookie, (void *)0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_intern_atom_reply frankenwm.c:2849:36: error: request for member '_NET_SUPPORTED' in something not a structure or union xcb_atom_t net_atoms[] = { ewmh->_NET_SUPPORTED, ^~ frankenwm.c:2849:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_CLIENT_LIST, ^~ frankenwm.c:2851:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_STRUT, ^~ frankenwm.c:2852:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_STRUT_PARTIAL, ^~ frankenwm.c:2853:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_STATE_FULLSCREEN, ^~ frankenwm.c:2855:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_STATE, ^~ frankenwm.c:2856:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_SUPPORTING_WM_CHECK, ^~ frankenwm.c:2857:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_ACTIVE_WINDOW, ^~ frankenwm.c:2858:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_NUMBER_OF_DESKTOPS, ^~ frankenwm.c:2859:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_CURRENT_DESKTOP, ^~ frankenwm.c:2860:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_DESKTOP_GEOMETRY, ^~ frankenwm.c:2861:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_DESKTOP_VIEWPORT, ^~ frankenwm.c:2862:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WORKAREA, ^~ frankenwm.c:2863:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_SHOWING_DESKTOP, ^~ frankenwm.c:2864:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_CLOSE_WINDOW, ^~ frankenwm.c:2865:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_DESKTOP, ^~ frankenwm.c:2866:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 ewmh->_NET_WM_WINDOW_TYPE }; ^~ frankenwm.c:2867:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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'; did you mean 'xcb_coloritem_t'? xcb_ewmh_coordinates_t viewports[2] = {{ 0, 0 }}; ^~~~~~~~~~~~~~~~~~~~~~ xcb_coloritem_t 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 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'; did you mean 'xcb_name_error_t'? xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; ^~~~~~~~~~~~~~~~~~~ xcb_name_error_t 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 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 #define M_WW (current_monitor->ww) ^ frankenwm.c:2871:48: note: in expansion of macro 'M_WW' xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; ^~~~ frankenwm.c:346:23: note: (near initialization for 'workarea[0]') #define M_WW (current_monitor->ww) ^ frankenwm.c:2871:48: note: in expansion of macro 'M_WW' xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; ^~~~ frankenwm.c:347:23: warning: excess elements in scalar initializer #define M_WH (current_monitor->wh) ^ frankenwm.c:2871:54: note: in expansion of macro 'M_WH' xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; ^~~~ frankenwm.c:347:23: note: (near initialization for 'workarea[0]') #define M_WH (current_monitor->wh) ^ frankenwm.c:2871:54: note: in expansion of macro 'M_WH' 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] 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'; did you mean 'xcb_aux_get_screen'? [-Wimplicit-function-declaration] xcb_ewmh_set_supported(ewmh, default_screen, LENGTH(net_atoms), net_atoms); ^~~~~~~~~~~~~~~~~~~~~~ xcb_aux_get_screen frankenwm.c:2881:5: warning: implicit declaration of function 'xcb_ewmh_set_supporting_wm_check' [-Wimplicit-function-declaration] 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] xcb_ewmh_set_number_of_desktops(ewmh, default_screen, DESKTOPS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2884:5: warning: implicit declaration of function 'xcb_ewmh_set_desktop_geometry'; did you mean 'xcb_get_geometry'? [-Wimplicit-function-declaration] xcb_ewmh_set_desktop_geometry(ewmh, default_screen, M_WW, M_WH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_get_geometry frankenwm.c:2885:5: warning: implicit declaration of function 'xcb_ewmh_set_desktop_viewport' [-Wimplicit-function-declaration] xcb_ewmh_set_desktop_viewport(ewmh, default_screen, 1, viewports); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2886:5: warning: implicit declaration of function 'xcb_ewmh_set_workarea'; did you mean 'xcb_icccm_set_wm_name'? [-Wimplicit-function-declaration] xcb_ewmh_set_workarea(ewmh, default_screen, 1, workarea); ^~~~~~~~~~~~~~~~~~~~~ xcb_icccm_set_wm_name frankenwm.c:2887:5: warning: implicit declaration of function 'xcb_ewmh_set_showing_desktop' [-Wimplicit-function-declaration] 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 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] ewmh->_NET_SUPPORTED, XCB_ATOM_ATOM, 32, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ frankenwm.c:2924:36: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union xcb_atom_t wtype = ewmh->_NET_WM_WINDOW_TYPE_NORMAL; ^~ frankenwm.c:2924:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] 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 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] dis, 0, children[i], ewmh->_NET_WM_STATE, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_get_property_unchecked (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:2963:45: error: request for member '_NET_WM_STATE_HIDDEN' in something not a structure or union if (v[i] == ewmh->_NET_WM_STATE_HIDDEN) ^~ frankenwm.c:2963:38: warning: comparison between pointer and integer if (v[i] == ewmh->_NET_WM_STATE_HIDDEN) ^~ frankenwm.c:2982:23: warning: implicit declaration of function 'xcb_ewmh_get_wm_desktop_reply'; did you mean 'xcb_icccm_get_wm_hints_reply'? [-Wimplicit-function-declaration] if (!(xcb_ewmh_get_wm_desktop_reply(ewmh, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcb_icccm_get_wm_hints_reply frankenwm.c:2983:23: warning: implicit declaration of function 'xcb_ewmh_get_wm_desktop'; did you mean 'client_to_desktop'? [-Wimplicit-function-declaration] xcb_ewmh_get_wm_desktop(ewmh, children[i]), &dsk, NULL))) { ^~~~~~~~~~~~~~~~~~~~~~~ client_to_desktop frankenwm.c:2996:46: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union if (wtype == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) ^~ frankenwm.c:2996:39: warning: comparison between pointer and integer 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 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 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] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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 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 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] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); ^~~~ frankenwm.c:510:6: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' 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 #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' if (!ISFMFTM(t)) { ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer #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' if (!ISFMFTM(t)) { ^~~~~~~ frankenwm.c:44:131: error: request for member '_NET_WM_WINDOW_TYPE_NORMAL' in something not a structure or union #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' for (c = M_GETNEXT(c); c && ISFMFTM(c); c = M_GETNEXT(c)); ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer #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' 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 #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' if (ISFMFTM(c)) ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer #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' 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 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] xcb_delete_property(dis, screen->root, ewmh->_NET_ACTIVE_WINDOW); ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6890:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_delete_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ 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 #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' || (M_MODE == MONOCLE && !ISFMFTM(c) && !MONOCLE_BORDERS) ^~~~~~~ frankenwm.c:44:124: warning: comparison between pointer and integer #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' || (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 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 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 && a->type != ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION) ^~ frankenwm.c:3507:25: warning: comparison between pointer and integer && 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 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] ewmh->_NET_ACTIVE_WINDOW, XCB_ATOM_WINDOW, 32, 1, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ 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 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 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] ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ frankenwm.c:3633:51: warning: passing argument 5 of 'xcb_change_property' makes integer from pointer without a cast [-Wint-conversion] ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ 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 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] screen->root, ewmh->_NET_CLIENT_LIST, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ 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 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] screen->root, ewmh->_NET_CLIENT_LIST, ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~ 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 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] ewmh->_NET_WM_STRUT_PARTIAL, XCB_ATOM_CARDINAL, 0, 4), NULL); ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_get_property_unchecked (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~ frankenwm.c:3730:35: error: request for member '_NET_WM_STRUT' in something not a structure or union 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] ewmh->_NET_WM_STRUT, XCB_ATOM_CARDINAL, 0, 4), NULL); ^~~~ In file included from /tmp/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:205:0, from frankenwm.c:15: /tmp/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t {aka unsigned int}' but argument is of type 'long int *' xcb_get_property_unchecked (xcb_connection_t *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:35: frankenwm.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/wm/frankenwm *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/wm/frankenwm