+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/frankenwm-1.0.23/work.log + su pbulk -c '"$@"' make /usr/pkg/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: creating config.h from config.def.h CC frankenwm.c CFLAGS = -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -std=c99 -pedantic -Wall -Wextra -I. -I. -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -g LDFLAGS = -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lc -lX11 -L/usr/pkg/lib -lxcb-util -lxcb-icccm -lxcb-keysyms -lxcb-ewmh -Wl,-R/usr/pkg/lib -lxcb -g In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/X11/Xlib.h:47:0, from frankenwm.c:13: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/X11/Xfuncproto.h:174:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define _X_NONNULL(args...) __attribute__((nonnull(args))) ^ CC = cc frankenwm.c:354:1: 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' xcb_ewmh_get_atoms_reply_t type; ^ frankenwm.c:988:5: warning: implicit declaration of function 'xcb_ewmh_get_wm_window_type_reply' [-Wimplicit-function-declaration] 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] xcb_ewmh_get_wm_window_type(ewmh, ^ 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' [-Wimplicit-function-declaration] 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] xcb_ewmh_connection_wipe(ewmh); ^ 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' [-Wimplicit-function-declaration] 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 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' xcb_ewmh_get_atoms_reply_t type; ^ 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' 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 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:5: warning: implicit declaration of function 'xcb_ewmh_get_wm_name_unchecked' [-Wimplicit-function-declaration] cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, ev->window); ^ frankenwm.c:2061:12: error: incompatible types when assigning to type 'xcb_get_property_cookie_t' from type 'int' cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, ev->window); ^ frankenwm.c:2063:5: warning: implicit declaration of function 'xcb_ewmh_get_wm_name_reply' [-Wimplicit-function-declaration] if (xcb_ewmh_get_wm_name_reply(ewmh, cookie, &wtitle, (void *)0)) { ^ In file included from /usr/include/string.h:633:0, from frankenwm.c:9: frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ frankenwm.c:2066:27: error: request for member 'strings' in something not a structure or union if (!strcmp(wtitle.strings, SCRPDNAME)) { ^ 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' [-Wimplicit-function-declaration] xcb_ewmh_get_utf8_strings_reply_wipe(&wtitle); ^ 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:2782:29: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] XCB_ATOM_ATOM, 32, True, data); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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 [enabled by default] #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:9: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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:9: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, c->win, ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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) ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); ^ frankenwm.c:2842:29: note: each undeclared identifier is reported only once for each function it appears in frankenwm.c:2842:5: warning: passing argument 2 of 'calloc' makes integer from pointer without a cast [enabled by default] ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); ^ In file included from frankenwm.c:3:0: /usr/include/stdlib.h:467:14: note: expected 'size_t' but argument is of type 'long int *' extern void *calloc (size_t __nmemb, size_t __size) ^ frankenwm.c:2845:5: warning: implicit declaration of function 'xcb_ewmh_init_atoms' [-Wimplicit-function-declaration] cookie = xcb_ewmh_init_atoms(dis, ewmh); ^ frankenwm.c:2845:12: warning: assignment makes pointer from integer without a cast [enabled by default] cookie = xcb_ewmh_init_atoms(dis, ewmh); ^ frankenwm.c:2846:5: warning: implicit declaration of function 'xcb_ewmh_init_atoms_replies' [-Wimplicit-function-declaration] 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 xcb_atom_t net_atoms[] = { ewmh->_NET_SUPPORTED, ^ frankenwm.c:2849:5: warning: initialization makes integer from pointer without a cast [enabled by default] xcb_atom_t net_atoms[] = { ewmh->_NET_SUPPORTED, ^ frankenwm.c:2849:5: warning: (near initialization for 'net_atoms[0]') [enabled by default] 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 [enabled by default] ewmh->_NET_CLIENT_LIST, ^ frankenwm.c:2851:32: warning: (near initialization for 'net_atoms[1]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_STRUT, ^ frankenwm.c:2852:32: warning: (near initialization for 'net_atoms[2]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_STRUT_PARTIAL, ^ frankenwm.c:2853:32: warning: (near initialization for 'net_atoms[3]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_STATE_FULLSCREEN, ^ frankenwm.c:2855:32: warning: (near initialization for 'net_atoms[4]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_STATE, ^ frankenwm.c:2856:32: warning: (near initialization for 'net_atoms[5]') [enabled by default] 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 [enabled by default] ewmh->_NET_SUPPORTING_WM_CHECK, ^ frankenwm.c:2857:32: warning: (near initialization for 'net_atoms[6]') [enabled by default] 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 [enabled by default] ewmh->_NET_ACTIVE_WINDOW, ^ frankenwm.c:2858:32: warning: (near initialization for 'net_atoms[7]') [enabled by default] 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 [enabled by default] ewmh->_NET_NUMBER_OF_DESKTOPS, ^ frankenwm.c:2859:32: warning: (near initialization for 'net_atoms[8]') [enabled by default] 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 [enabled by default] ewmh->_NET_CURRENT_DESKTOP, ^ frankenwm.c:2860:32: warning: (near initialization for 'net_atoms[9]') [enabled by default] 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 [enabled by default] ewmh->_NET_DESKTOP_GEOMETRY, ^ frankenwm.c:2861:32: warning: (near initialization for 'net_atoms[10]') [enabled by default] 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 [enabled by default] ewmh->_NET_DESKTOP_VIEWPORT, ^ frankenwm.c:2862:32: warning: (near initialization for 'net_atoms[11]') [enabled by default] 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 [enabled by default] ewmh->_NET_WORKAREA, ^ frankenwm.c:2863:32: warning: (near initialization for 'net_atoms[12]') [enabled by default] 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 [enabled by default] ewmh->_NET_SHOWING_DESKTOP, ^ frankenwm.c:2864:32: warning: (near initialization for 'net_atoms[13]') [enabled by default] 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 [enabled by default] ewmh->_NET_CLOSE_WINDOW, ^ frankenwm.c:2865:32: warning: (near initialization for 'net_atoms[14]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_DESKTOP, ^ frankenwm.c:2866:32: warning: (near initialization for 'net_atoms[15]') [enabled by default] 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 [enabled by default] ewmh->_NET_WM_WINDOW_TYPE }; ^ frankenwm.c:2867:32: warning: (near initialization for 'net_atoms[16]') [enabled by default] frankenwm.c:2869:5: error: unknown type name 'xcb_ewmh_coordinates_t' xcb_ewmh_coordinates_t viewports[2] = {{ 0, 0 }}; ^ frankenwm.c:2869:5: warning: braces around scalar initializer [enabled by default] frankenwm.c:2869:5: warning: (near initialization for 'viewports[0]') [enabled by default] frankenwm.c:2869:5: warning: excess elements in scalar initializer [enabled by default] frankenwm.c:2869:5: warning: (near initialization for 'viewports[0]') [enabled by default] frankenwm.c:2871:5: error: unknown type name 'xcb_ewmh_geometry_t' xcb_ewmh_geometry_t workarea[2] = {{ 0, 0, M_WW, M_WH }}; ^ frankenwm.c:2871:5: warning: braces around scalar initializer [enabled by default] frankenwm.c:2871:5: warning: (near initialization for 'workarea[0]') [enabled by default] frankenwm.c:2871:5: warning: excess elements in scalar initializer [enabled by default] frankenwm.c:2871:5: warning: (near initialization for 'workarea[0]') [enabled by default] frankenwm.c:2871:5: warning: excess elements in scalar initializer [enabled by default] frankenwm.c:2871:5: warning: (near initialization for 'workarea[0]') [enabled by default] frankenwm.c:2871:5: warning: excess elements in scalar initializer [enabled by default] frankenwm.c:2871:5: warning: (near initialization for 'workarea[0]') [enabled by default] frankenwm.c:2878:5: warning: implicit declaration of function 'xcb_ewmh_set_wm_name' [-Wimplicit-function-declaration] xcb_ewmh_set_wm_name(ewmh, checkwin, sizeof(WM_NAME)-1, WM_NAME); ^ frankenwm.c:2880:5: warning: implicit declaration of function 'xcb_ewmh_set_supported' [-Wimplicit-function-declaration] 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] 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' [-Wimplicit-function-declaration] 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] 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] 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] 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:2891:25: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] LENGTH(net_atoms), net_atoms); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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 [enabled by default] 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:2956:49: warning: passing argument 4 of 'xcb_get_property_unchecked' makes integer from pointer without a cast [enabled by default] XCB_ATOM_ATOM, 0, 1), NULL); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t' 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 [enabled by default] if (v[i] == ewmh->_NET_WM_STATE_HIDDEN) ^ frankenwm.c:2982:17: warning: implicit declaration of function 'xcb_ewmh_get_wm_desktop_reply' [-Wimplicit-function-declaration] 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] 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 if (wtype == ewmh->_NET_WM_WINDOW_TYPE_NORMAL) ^ frankenwm.c:2996:39: warning: comparison between pointer and integer [enabled by default] 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:17: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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:17: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_FULLSCREEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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:17: warning: passing argument 3 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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:17: warning: passing argument 4 of 'xcb_remove_property' makes integer from pointer without a cast [enabled by default] xcb_remove_property(dis, children[i], ewmh->_NET_WM_STATE, ewmh->_NET_WM_STATE_HIDDEN); ^ frankenwm.c:510:6: note: expected 'xcb_atom_t' 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 [enabled by default] #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 [enabled by default] #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 [enabled by default] #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:9: warning: passing argument 3 of 'xcb_delete_property' makes integer from pointer without a cast [enabled by default] xcb_delete_property(dis, screen->root, ewmh->_NET_ACTIVE_WINDOW); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6890:1: note: expected 'xcb_atom_t' 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 [enabled by default] #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 [enabled by default] 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 [enabled by default] && 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:3517:33: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] &M_CURRENT->win); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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 [enabled by default] ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' but argument is of type 'long int *' xcb_change_property (xcb_connection_t *c, ^ frankenwm.c:3633:25: warning: passing argument 5 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] ewmh->_NET_DESKTOP_NAMES, ewmh->UTF8_STRING, 8, 0, NULL); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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:3644:25: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] XCB_ATOM_WINDOW, 32, 0, &empty); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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:3671:29: warning: passing argument 4 of 'xcb_change_property' makes integer from pointer without a cast [enabled by default] XCB_ATOM_WINDOW, 32, num, wins); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6847:1: note: expected 'xcb_atom_t' 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 [enabled by default] ewmh->_NET_WM_STRUT_PARTIAL, XCB_ATOM_CARDINAL, 0, 4), NULL); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t' 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 [enabled by default] ewmh->_NET_WM_STRUT, XCB_ATOM_CARDINAL, 0, 4), NULL); ^ In file included from /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xcb.h:209:0, from frankenwm.c:15: /home/pbulk/build/wm/frankenwm/work/.buildlink/include/xcb/xproto.h:6964:1: note: expected 'xcb_atom_t' but argument is of type 'long int *' xcb_get_property_unchecked (xcb_connection_t *c, ^ make: *** [frankenwm.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/wm/frankenwm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/wm/frankenwm