+ 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/picom-9.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/picom-9.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for picom-9.1nb1 ninja: Entering directory `output' [1/30] Compiling C object src/picom.p/picom.c.o FAILED: src/picom.p/picom.c.o cc -Isrc/picom.p -Isrc -I../src -Isubprojects/test.h -I../subprojects/test.h -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/ev -I/usr/include -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DCOMPTON_VERSION="v9.1"' -D_GNU_SOURCE -DHAS_STDC_PREDEF_H -Wall -Wignored-qualifiers -Wmissing-parameter-type -Wnonnull -Wshadow -Wno-type-limits -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-parameter -Wno-missing-braces -Wconversion -Wempty-body -pipe -O2 -D_REENTRANT -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DGL_GLEXT_PROTOTYPES -DCONFIG_DBUS -DHAS_INOTIFY -MD -MQ src/picom.p/picom.c.o -MF src/picom.p/picom.c.o.d -o src/picom.p/picom.c.o -c ../src/picom.c In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:59:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' extern thread_local struct log *tls_logger; ^ ../src/log.h: In function 'log_init_tls': ../src/log.h:63:2: error: 'tls_logger' undeclared (first use in this function) tls_logger = log_new(); ^ ../src/log.h:63:2: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/log.h:5:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h: In function 'log_set_level_tls': ../src/log.h:67:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_add_target_tls': ../src/log.h:71:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_remove_target_tls': ../src/log.h:76:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_get_level_tls': ../src/log.h:81:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_deinit_tls': ../src/log.h:86:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ In file included from ../src/backend/gl/glx.h:20:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/region.h: In function 'rc_region_ref': ../src/utils.h:253:3: error: unknown type name '__auto_type' __auto_type b = (name##_internal_t *)a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:253:19: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type b = (name##_internal_t *)a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:254:4: error: invalid type argument of '->' (have 'int') b->ref_count++; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/region.h: In function 'rc_region_unref': ../src/utils.h:258:3: error: unknown type name '__auto_type' __auto_type b = (name##_internal_t *)*a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:258:19: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type b = (name##_internal_t *)*a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:261:4: error: invalid type argument of '->' (have 'int') b->ref_count--; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:262:9: error: invalid type argument of '->' (have 'int') if (!b->ref_count) { \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:263:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dtor((type *)b); \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:241:17: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] typedef struct { \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/region.h: In function 'dump_region': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/region.h:25:2: note: in expansion of macro 'log_trace' log_trace("nrects: %d", nrects); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/region.h: In function 'from_x_rects': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/region.h:44:16: note: in expansion of macro 'ccalloc' rect_t *ret = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/region.h:44:16: note: in expansion of macro 'ccalloc' rect_t *ret = ccalloc(nrects, rect_t); ^ ../src/region.h: In function '_resize_region': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/region.h:69:2: note: in expansion of macro 'auto' auto newrects = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ In file included from ../src/backend/gl/glx.h:20:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/utils.h:208:2: warning: initialization makes integer from pointer without a cast [enabled by default] ({ \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ In file included from ../src/x.h:16:0, from ../src/backend/gl/glx.h:21, from ../src/common.h:45, from ../src/picom.c:35: ../src/region.h:80:11: error: subscripted value is neither array nor pointer nor vector newrects[nnewrects] = ^ ../src/region.h:86:2: warning: passing argument 2 of 'pixman_region32_init_rects' makes pointer from integer without a cast [enabled by default] pixman_region32_init_rects(output, newrects, nnewrects); ^ In file included from ../src/common.h:38:0, from ../src/picom.c:35: /home/pbulk/build/x11/picom/work/.buildlink/include/pixman-1/pixman.h:653:25: note: expected 'const struct pixman_box32_t *' but argument is of type 'int' pixman_bool_t pixman_region32_init_rects (pixman_region32_t *region, ^ In file included from ../src/x.h:16:0, from ../src/backend/gl/glx.h:21, from ../src/common.h:45, from ../src/picom.c:35: ../src/region.h:88:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(newrects); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h: In function 'x_new_id': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/x.h:96:2: note: in expansion of macro 'auto' auto ret = xcb_generate_id(c); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:96:28: warning: conversion to 'int' from 'uint32_t' may change the sign of the result [-Wsign-conversion] auto ret = xcb_generate_id(c); ^ ../src/x.h:97:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret == (uint32_t)-1) { ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/x.h:98:3: note: in expansion of macro 'log_fatal' log_fatal("We seems to have run of XIDs. This is either a bug in the X " ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:103:2: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] return ret; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/config.h: In function 'parse_backend': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:36:26: note: in expansion of macro 'LOG' #define log_warn(x, ...) LOG(WARN, x, ##__VA_ARGS__) ^ ../src/config.h:299:3: note: in expansion of macro 'log_warn' log_warn("backend xr_glx_hybird should be xr_glx_hybrid, the misspelt " ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/common.h: In function 'set_ignore': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:463:2: note: in expansion of macro 'auto' auto i = cmalloc(ignore_t); ^ In file included from ../src/backend/gl/glx.h:20:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/utils.h:201:23: warning: initialization makes integer from pointer without a cast [enabled by default] #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type)))) ^ ../src/common.h:463:11: note: in expansion of macro 'cmalloc' auto i = cmalloc(ignore_t); ^ In file included from ../src/picom.c:35:0: ../src/common.h:467:3: error: invalid type argument of '->' (have 'int') i->sequence = sequence; ^ ../src/common.h:468:3: error: invalid type argument of '->' (have 'int') i->next = 0; ^ ../src/common.h:469:19: warning: assignment makes pointer from integer without a cast [enabled by default] *ps->ignore_tail = i; ^ ../src/common.h:470:22: error: invalid type argument of '->' (have 'int') ps->ignore_tail = &i->next; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/common.h: In function 'wid_has_prop': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:489:2: note: in expansion of macro 'auto' auto r = xcb_get_property_reply( ^ In file included from ../src/picom.c:35:0: ../src/common.h:489:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_property_reply( ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:495:2: note: in expansion of macro 'auto' auto rtype = r->type; ^ In file included from ../src/picom.c:35:0: ../src/common.h:495:16: error: invalid type argument of '->' (have 'int') auto rtype = r->type; ^ ../src/common.h:496:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.h: In function 'dump_drawable': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.h:107:2: note: in expansion of macro 'auto' auto r = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, drawable), NULL); ^ In file included from ../src/picom.c:40:0: ../src/picom.h:107:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, drawable), NULL); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/picom.h:109:3: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: Failed", drawable); ^ ../src/picom.h:113:23: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:29: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:35: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:45: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:56: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:73: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ In file included from ../src/picom.c:40:0: ../src/picom.h:114:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'set_root_flags': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/picom.c:102:2: note: in expansion of macro 'log_debug' log_debug("Setting root flags: %" PRIu64, flags); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'cxinerama_upd_scrs': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:152:2: note: in expansion of macro 'auto' auto xinerama_scrs = ^ ../src/picom.c:153:6: warning: initialization makes integer from pointer without a cast [enabled by default] xcb_xinerama_query_screens_reply(ps->c, xcb_xinerama_query_screens(ps->c), NULL); ^ ../src/picom.c:159:6: warning: passing argument 1 of 'xcb_xinerama_query_screens_screen_info' makes pointer from integer without a cast [enabled by default] xcb_xinerama_query_screens_screen_info(xinerama_scrs); ^ In file included from ../src/picom.c:30:0: /home/pbulk/build/x11/picom/work/.buildlink/include/xcb/xinerama.h:521:1: note: expected 'const struct xcb_xinerama_query_screens_reply_t *' but argument is of type 'int' xcb_xinerama_query_screens_screen_info (const xcb_xinerama_query_screens_reply_t *R); ^ ../src/picom.c:160:2: warning: passing argument 1 of 'xcb_xinerama_query_screens_screen_info_length' makes pointer from integer without a cast [enabled by default] ps->xinerama_nscrs = xcb_xinerama_query_screens_screen_info_length(xinerama_scrs); ^ In file included from ../src/picom.c:30:0: /home/pbulk/build/x11/picom/work/.buildlink/include/xcb/xinerama.h:524:1: note: expected 'const struct xcb_xinerama_query_screens_reply_t *' but argument is of type 'int' xcb_xinerama_query_screens_screen_info_length (const xcb_xinerama_query_screens_reply_t *R); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/picom.c:162:26: note: in expansion of macro 'ccalloc' ps->xinerama_scr_regs = ccalloc(ps->xinerama_nscrs, region_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/picom.c:162:26: note: in expansion of macro 'ccalloc' ps->xinerama_scr_regs = ccalloc(ps->xinerama_nscrs, region_t); ^ ../src/picom.c:168:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(xinerama_scrs); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'find_win_all': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:180:2: note: in expansion of macro 'auto' auto w = find_managed_win(ps, wid); ^ ../src/picom.c:180:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = find_managed_win(ps, wid); ^ ../src/picom.c:182:5: warning: assignment makes integer from pointer without a cast [enabled by default] w = find_toplevel(ps, wid); ^ ../src/picom.c:184:5: warning: assignment makes integer from pointer without a cast [enabled by default] w = find_managed_window_or_parent(ps, wid); ^ ../src/picom.c:185:2: warning: return makes pointer from integer without a cast [enabled by default] return w; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'add_damage': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/picom.c:214:2: note: in expansion of macro 'log_trace' log_trace("Adding damage: "); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'fade_timeout': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:227:2: note: in expansion of macro 'auto' auto now = get_time_ms(); ^ ../src/picom.c:227:24: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion] auto now = get_time_ms(); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:231:2: note: in expansion of macro 'auto' auto diff = ps->o.fade_delta + ps->fade_time - now; ^ ../src/picom.c:231:47: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] auto diff = ps->o.fade_delta + ps->fade_time - now; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'run_fade': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:245:2: note: in expansion of macro 'auto' auto w = *_w; ^ ../src/picom.c:245:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = *_w; ^ ../src/picom.c:246:7: error: invalid type argument of '->' (have 'int') if (w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED) { ^ ../src/picom.c:246:36: error: invalid type argument of '->' (have 'int') if (w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED) { ^ In file included from ../src/utils.h:4:0, from ../src/backend/gl/glx.h:20, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:248:11: error: invalid type argument of '->' (have 'int') assert(w->opacity_target == w->opacity); ^ ../src/picom.c:248:32: error: invalid type argument of '->' (have 'int') assert(w->opacity_target == w->opacity); ^ ../src/picom.c:252:2: warning: passing argument 2 of 'win_should_fade' makes pointer from integer without a cast [enabled by default] if (!win_should_fade(ps, w)) { ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:313:16: note: expected 'const struct managed_win *' but argument is of type 'int' bool attr_pure win_should_fade(session_t *ps, const struct managed_win *w); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/picom.c:253:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x %s doesn't need fading", w->base.id, w->name); ^ ../src/picom.c:253:54: error: invalid type argument of '->' (have 'int') log_debug("Window %#010x %s doesn't need fading", w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:253:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x %s doesn't need fading", w->base.id, w->name); ^ ../src/picom.c:253:66: error: invalid type argument of '->' (have 'int') log_debug("Window %#010x %s doesn't need fading", w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:253:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x %s doesn't need fading", w->base.id, w->name); ^ ../src/picom.c:254:4: error: invalid type argument of '->' (have 'int') w->opacity = w->opacity_target; ^ ../src/picom.c:254:17: error: invalid type argument of '->' (have 'int') w->opacity = w->opacity_target; ^ ../src/picom.c:256:7: error: invalid type argument of '->' (have 'int') if (w->opacity == w->opacity_target) { ^ ../src/picom.c:256:21: error: invalid type argument of '->' (have 'int') if (w->opacity == w->opacity_target) { ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:260:54: error: invalid type argument of '->' (have 'int') log_debug("Fading finished for window %#010x %s", w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:260:3: note: in expansion of macro 'log_debug' log_debug("Fading finished for window %#010x %s", w->base.id, w->name); ^ ../src/picom.c:260:66: error: invalid type argument of '->' (have 'int') log_debug("Fading finished for window %#010x %s", w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:260:3: note: in expansion of macro 'log_debug' log_debug("Fading finished for window %#010x %s", w->base.id, w->name); ^ ../src/picom.c:265:53: error: invalid type argument of '->' (have 'int') log_trace("Window %#010x (%s) opacity was: %lf", w->base.id, w->name, ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:265:3: note: in expansion of macro 'log_trace' log_trace("Window %#010x (%s) opacity was: %lf", w->base.id, w->name, ^ ../src/picom.c:265:65: error: invalid type argument of '->' (have 'int') log_trace("Window %#010x (%s) opacity was: %lf", w->base.id, w->name, ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:265:3: note: in expansion of macro 'log_trace' log_trace("Window %#010x (%s) opacity was: %lf", w->base.id, w->name, ^ ../src/picom.c:266:14: error: invalid type argument of '->' (have 'int') w->opacity); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:265:3: note: in expansion of macro 'log_trace' log_trace("Window %#010x (%s) opacity was: %lf", w->base.id, w->name, ^ ../src/picom.c:267:8: error: invalid type argument of '->' (have 'int') if (w->opacity < w->opacity_target) { ^ ../src/picom.c:267:21: error: invalid type argument of '->' (have 'int') if (w->opacity < w->opacity_target) { ^ ../src/picom.c:268:5: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ In file included from ../src/backend/gl/glx.h:20:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:268:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:269:29: error: invalid type argument of '->' (have 'int') 0.0, w->opacity_target); ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:269:29: error: invalid type argument of '->' (have 'int') 0.0, w->opacity_target); ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:268:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:268:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:269:29: error: invalid type argument of '->' (have 'int') 0.0, w->opacity_target); ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:269:29: error: invalid type argument of '->' (have 'int') 0.0, w->opacity_target); ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:268:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:268:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps, ^ ../src/picom.c:271:5: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ In file included from ../src/backend/gl/glx.h:20:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:271:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/picom.c:271:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/utils.h:136:22: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/picom.c:272:24: error: invalid type argument of '->' (have 'int') w->opacity_target, 1); ^ ../src/utils.h:136:28: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/picom.c:271:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/picom.c:271:24: error: invalid type argument of '->' (have 'int') w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/utils.h:136:34: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/utils.h:140:35: note: in expansion of macro 'min2' #define clamp(val, min, max) max2(min2(val, max), min) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ ../src/picom.c:272:24: error: invalid type argument of '->' (have 'int') w->opacity_target, 1); ^ ../src/utils.h:136:40: note: in definition of macro 'max2' #define max2(a, b) ((a) > (b) ? (a) : (b)) ^ ../src/picom.c:271:17: note: in expansion of macro 'clamp' w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps, ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:274:37: error: invalid type argument of '->' (have 'int') log_trace("... updated to: %lf", w->opacity); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:274:3: note: in expansion of macro 'log_trace' log_trace("... updated to: %lf", w->opacity); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'update_ewmh_active_win': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:345:2: note: in expansion of macro 'auto' auto w = find_win_all(ps, wid); ^ ../src/picom.c:345:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = find_win_all(ps, wid); ^ ../src/picom.c:349:3: warning: passing argument 2 of 'win_set_focused' makes pointer from integer without a cast [enabled by default] win_set_focused(ps, w); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:312:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_focused(session_t *ps, struct managed_win *w); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'recheck_focus': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:378:2: note: in expansion of macro 'auto' auto w = find_win_all(ps, wid); ^ ../src/picom.c:378:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = find_win_all(ps, wid); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/picom.c:380:2: note: in expansion of macro 'log_trace' log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid, ^ ../src/picom.c:381:18: error: invalid type argument of '->' (have 'int') (w ? w->base.id : XCB_NONE), (w ? w->name : NULL)); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:380:2: note: in expansion of macro 'log_trace' log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid, ^ ../src/picom.c:381:47: error: invalid type argument of '->' (have 'int') (w ? w->base.id : XCB_NONE), (w ? w->name : NULL)); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:380:2: note: in expansion of macro 'log_trace' log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid, ^ ../src/picom.c:385:3: warning: passing argument 2 of 'win_set_focused' makes pointer from integer without a cast [enabled by default] win_set_focused(ps, w); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:312:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_focused(session_t *ps, struct managed_win *w); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'destroy_backend': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:36:26: note: in expansion of macro 'LOG' #define log_warn(x, ...) LOG(WARN, x, ##__VA_ARGS__) ^ ../src/picom.c:421:5: note: in expansion of macro 'log_warn' log_warn("Stale flags set for mapped window %#010x " ^ ../src/picom.c: In function 'initialize_backend': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:494:4: note: in expansion of macro 'log_fatal' log_fatal("Failed to initialize backend, aborting..."); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:515:4: note: in expansion of macro 'auto' auto w = (struct managed_win *)_w; ^ ../src/picom.c:515:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = (struct managed_win *)_w; ^ In file included from ../src/utils.h:4:0, from ../src/backend/gl/glx.h:20, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:516:12: error: invalid type argument of '->' (have 'int') assert(w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED); ^ ../src/picom.c:516:41: error: invalid type argument of '->' (have 'int') assert(w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c:520:15: error: invalid type argument of '->' (have 'int') w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:518:4: note: in expansion of macro 'log_debug' log_debug("Marking window %#010x (%s) for update after " ^ ../src/picom.c:520:27: error: invalid type argument of '->' (have 'int') w->base.id, w->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:518:4: note: in expansion of macro 'log_debug' log_debug("Marking window %#010x (%s) for update after " ^ ../src/picom.c:521:4: warning: passing argument 1 of 'win_set_flags' makes pointer from integer without a cast [enabled by default] win_set_flags(w, WIN_FLAGS_IMAGES_STALE); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:443:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_flags(struct managed_win *w, uint64_t flags); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'configure_root': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:532:2: note: in expansion of macro 'auto' auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:74:3: error: unknown type name '__auto_type' __auto_type __r = func##_reply(c, func(c, __VA_ARGS__), &__e); \ ^ ../src/picom.c:532:11: note: in expansion of macro 'XCB_AWAIT' auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root); ^ ../src/picom.c:532:21: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root); ^ ../src/x.h:74:21: note: in definition of macro 'XCB_AWAIT' __auto_type __r = func##_reply(c, func(c, __VA_ARGS__), &__e); \ ^ ../src/picom.c:532:21: warning: (near initialization for 'r') [enabled by default] auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root); ^ ../src/x.h:74:21: note: in definition of macro 'XCB_AWAIT' __auto_type __r = func##_reply(c, func(c, __VA_ARGS__), &__e); \ ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:534:3: note: in expansion of macro 'log_fatal' log_fatal("Failed to fetch root geometry"); ^ ../src/picom.c:538:63: error: invalid type argument of '->' (have 'int') log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height); ^ ../src/log.h:30:61: note: in definition of macro 'LOG' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:538:2: note: in expansion of macro 'log_info' log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height); ^ ../src/picom.c:538:73: error: invalid type argument of '->' (have 'int') log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height); ^ ../src/log.h:30:61: note: in definition of macro 'LOG' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.c:538:2: note: in expansion of macro 'log_info' log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height); ^ ../src/picom.c:558:20: error: invalid type argument of '->' (have 'int') ps->root_width = r->width; ^ ../src/picom.c:559:21: error: invalid type argument of '->' (have 'int') ps->root_height = r->height; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:565:2: note: in expansion of macro 'auto' auto top_w = win_stack_find_next_managed(ps, &ps->window_stack); ^ ../src/picom.c:565:15: warning: initialization makes integer from pointer without a cast [enabled by default] auto top_w = win_stack_find_next_managed(ps, &ps->window_stack); ^ ../src/picom.c:567:25: error: invalid type argument of '->' (have 'int') rc_region_unref(&top_w->reg_ignore); ^ ../src/picom.c:568:8: error: invalid type argument of '->' (have 'int') top_w->reg_ignore_valid = false; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'paint_preprocess': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:629:2: note: in expansion of macro 'auto' auto now = get_time_ms(); ^ ../src/picom.c:629:24: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion] auto now = get_time_ms(); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/picom.c:718:4: note: in expansion of macro 'log_trace' log_trace("Window %#010x (%s) will not be painted because it has " ^ ../src/picom.c:855:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (!ev_is_active(&ps->unredir_timer)) { ^ ../src/picom.c:856:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_set( ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'root_damaged': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:887:3: note: in expansion of macro 'auto' auto pixmap = x_get_root_back_pixmap(ps->c, ps->root, ps->atoms); ^ ../src/picom.c:887:39: warning: conversion to 'int' from 'xcb_pixmap_t' may change the sign of the result [-Wsign-conversion] auto pixmap = x_get_root_back_pixmap(ps->c, ps->root, ps->atoms); ^ ../src/picom.c:890:8: warning: conversion to 'xcb_pixmap_t' from 'int' may change the sign of the result [-Wsign-conversion] ps->backend_data, pixmap, x_get_visual_info(ps->c, ps->vis), false); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:37:27: note: in expansion of macro 'LOG' #define log_error(x, ...) LOG(ERROR, x, ##__VA_ARGS__) ^ ../src/picom.c:896:5: note: in expansion of macro 'log_error' log_error("Failed to bind root back pixmap"); ^ ../src/picom.c: In function 'xerror': ../src/picom.c:908:40: warning: unused parameter 'dpy' [-Wunused-parameter] static int xerror(Display attr_unused *dpy, XErrorEvent *ev) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'register_cm': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:959:2: note: in expansion of macro 'auto' auto e = xcb_request_check( ^ ../src/picom.c:959:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = xcb_request_check( ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:964:3: note: in expansion of macro 'log_fatal' log_fatal("Failed to create window."); ^ ../src/picom.c:965:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:979:5: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check( ^ ../src/picom.c:985:4: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to set window property %d", ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:987:4: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:992:4: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check( ^ ../src/picom.c:997:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to set the WM_CLASS property"); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:998:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:1004:3: error: unknown type name '__auto_type' const auto hostname_max = (unsigned long)sysconf(_SC_HOST_NAME_MAX); ^ ../src/picom.c:1004:29: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] const auto hostname_max = (unsigned long)sysconf(_SC_HOST_NAME_MAX); ^ ../src/picom.c:1005:3: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] char *hostname = malloc(hostname_max); ^ ../src/picom.c:1007:3: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] if (gethostname(hostname, hostname_max) == 0) { ^ ../src/picom.c:1008:6: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check( ^ ../src/picom.c:1014:5: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to set the WM_CLIENT_MACHINE" ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:1016:5: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1027:3: note: in expansion of macro 'auto' auto pid = getpid(); ^ ../src/picom.c:1033:4: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check( ^ ../src/picom.c:1039:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to set COMPTON_VERSION."); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:1040:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'write_pid': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:37:27: note: in expansion of macro 'LOG' #define log_error(x, ...) LOG(ERROR, x, ##__VA_ARGS__) ^ ../src/picom.c:1081:3: note: in expansion of macro 'log_error' log_error("Failed to write PID to \"%s\".", ps->o.write_pid_path); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'init_overlay': ../src/x.h:61:3: error: unknown type name '__auto_type' __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:61:21: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:21: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:36: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:53: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:64:21: error: invalid type argument of '->' (have 'int') __e->error_code); \ ^ ../src/picom.c:1107:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ ../src/picom.c:1107:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] if (!XCB_AWAIT_VOID(xcb_shape_mask, ps->c, XCB_SHAPE_SO_SET, ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:1109:4: note: in expansion of macro 'log_fatal' log_fatal("Failed to set the bounding shape of overlay, giving " ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:61:3: error: unknown type name '__auto_type' __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:61:21: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:21: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:36: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:63:53: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/x.h:64:21: error: invalid type argument of '->' (have 'int') __e->error_code); \ ^ ../src/picom.c:1113:8: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ ../src/picom.c:1113:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] if (!XCB_AWAIT_VOID(xcb_shape_rectangles, ps->c, XCB_SHAPE_SO_SET, ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:61:3: error: unknown type name '__auto_type' __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/x.h:61:21: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/x.h:63:21: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/x.h:63:36: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/x.h:63:53: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/x.h:64:21: error: invalid type argument of '->' (have 'int') __e->error_code); \ ^ ../src/picom.c:1129:3: note: in expansion of macro 'XCB_AWAIT_VOID' XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay); ^ ../src/picom.c:1129:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'init_debug_window': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1143:2: note: in expansion of macro 'auto' auto err = xcb_request_check( ^ ../src/picom.c:1143:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto err = xcb_request_check( ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:99:3: note: in expansion of macro 'auto' auto tmp = (val); \ ^ ../src/picom.c:1152:55: note: in expansion of macro 'to_u16_checked' ps->root, 0, 0, to_u16_checked(ps->root_width), ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:60:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:100:3: note: in expansion of macro 'ASSERT_IN_RANGE' ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \ ^ ../src/picom.c:1152:55: note: in expansion of macro 'to_u16_checked' ps->root, 0, 0, to_u16_checked(ps->root_width), ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:99:3: note: in expansion of macro 'auto' auto tmp = (val); \ ^ ../src/picom.c:1153:39: note: in expansion of macro 'to_u16_checked' to_u16_checked(ps->root_height), 0, ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:60:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:100:3: note: in expansion of macro 'ASSERT_IN_RANGE' ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \ ^ ../src/picom.c:1153:39: note: in expansion of macro 'to_u16_checked' to_u16_checked(ps->root_height), 0, ^ ../src/picom.c:1150:6: warning: assignment makes integer from pointer without a cast [enabled by default] err = xcb_request_check( ^ ../src/picom.c:1160:6: warning: assignment makes integer from pointer without a cast [enabled by default] err = xcb_request_check(ps->c, xcb_map_window(ps->c, ps->debug_window)); ^ ../src/picom.c:1167:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(err); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'redirect_start': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/picom.c:1200:2: note: in expansion of macro 'log_debug' log_debug("Redirecting the screen."); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:61:3: error: unknown type name '__auto_type' __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:61:21: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:61:21: warning: (near initialization for 'success') [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:63:21: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:63:36: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:63:53: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/x.h:64:21: error: invalid type argument of '->' (have 'int') __e->error_code); \ ^ ../src/picom.c:1208:17: note: in expansion of macro 'XCB_AWAIT_VOID' bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ ../src/picom.c:1208:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] bool success = XCB_AWAIT_VOID(xcb_composite_redirect_subwindows, ps->c, ps->root, ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/picom.c:1228:20: note: in expansion of macro 'ccalloc' ps->damage_ring = ccalloc(ps->ndamage, region_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/picom.c:1228:20: note: in expansion of macro 'ccalloc' ps->damage_ring = ccalloc(ps->ndamage, region_t); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'unredirect': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/picom.c:1258:2: note: in expansion of macro 'log_debug' log_debug("Unredirecting the screen."); ^ ../src/picom.c: In function 'handle_queued_x_events': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:1300:3: note: in expansion of macro 'log_fatal' log_fatal("X11 server connection broke (error %d)", err); ^ In file included from ../src/picom.c:32:0: /home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:177:32: warning: unused parameter 'loop' [-Wunused-parameter] # define EV_P struct ev_loop *loop /* a loop as sole parameter in a declaration */ ^ ../src/picom.c:1284:36: note: in expansion of macro 'EV_P' static void handle_queued_x_events(EV_P attr_unused, ev_prepare *w, int revents attr_unused) { ^ ../src/picom.c:1284:73: warning: unused parameter 'revents' [-Wunused-parameter] static void handle_queued_x_events(EV_P attr_unused, ev_prepare *w, int revents attr_unused) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'handle_new_windows': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1308:4: note: in expansion of macro 'auto' auto new_w = fill_win(ps, w); ^ ../src/picom.c:1308:17: warning: initialization makes integer from pointer without a cast [enabled by default] auto new_w = fill_win(ps, w); ^ ../src/picom.c:1309:14: error: invalid type argument of '->' (have 'int') if (!new_w->managed) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1312:4: note: in expansion of macro 'auto' auto mw = (struct managed_win *)new_w; ^ ../src/picom.c:1312:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] auto mw = (struct managed_win *)new_w; ^ ../src/picom.c:1312:14: warning: initialization makes integer from pointer without a cast [enabled by default] ../src/picom.c:1313:10: error: invalid type argument of '->' (have 'int') if (mw->a.map_state == XCB_MAP_STATE_VIEWABLE) { ^ ../src/picom.c:1314:5: warning: passing argument 1 of 'win_set_flags' makes pointer from integer without a cast [enabled by default] win_set_flags(mw, WIN_FLAGS_MAPPED); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:443:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_flags(struct managed_win *w, uint64_t flags); ^ ../src/picom.c:1319:7: error: invalid type argument of '->' (have 'int') mw->ever_damaged = true; ^ In file included from ../src/picom.c:32:0: ../src/picom.c: In function 'tmout_unredir_callback': /home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:177:32: warning: unused parameter 'loop' [-Wunused-parameter] # define EV_P struct ev_loop *loop /* a loop as sole parameter in a declaration */ ^ ../src/picom.c:1340:36: note: in expansion of macro 'EV_P' static void tmout_unredir_callback(EV_P attr_unused, ev_timer *w, int revents attr_unused) { ^ ../src/picom.c:1340:71: warning: unused parameter 'revents' [-Wunused-parameter] static void tmout_unredir_callback(EV_P attr_unused, ev_timer *w, int revents attr_unused) { ^ In file included from ../src/picom.c:32:0: ../src/picom.c: In function 'fade_timer_callback': /home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:177:32: warning: unused parameter 'loop' [-Wunused-parameter] # define EV_P struct ev_loop *loop /* a loop as sole parameter in a declaration */ ^ ../src/picom.c:1346:33: note: in expansion of macro 'EV_P' static void fade_timer_callback(EV_P attr_unused, ev_timer *w, int revents attr_unused) { ^ ../src/picom.c:1346:68: warning: unused parameter 'revents' [-Wunused-parameter] static void fade_timer_callback(EV_P attr_unused, ev_timer *w, int revents attr_unused) { ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'handle_pending_updates': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/picom.c:1353:3: note: in expansion of macro 'log_debug' log_debug("Delayed handling of events, entering critical section"); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1354:3: note: in expansion of macro 'auto' auto e = xcb_request_check(ps->c, xcb_grab_server_checked(ps->c)); ^ ../src/picom.c:1354:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = xcb_request_check(ps->c, xcb_grab_server_checked(ps->c)); ^ ../src/picom.c:1356:4: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_fatal_x_error(e, "failed to grab x server"); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1378:4: note: in expansion of macro 'auto' auto r = xcb_get_input_focus_reply( ^ ../src/picom.c:1378:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_input_focus_reply( ^ ../src/picom.c:1380:34: error: invalid type argument of '->' (have 'int') if (!ps->active_win || (r && r->focus != ps->active_win->base.id)) { ^ ../src/picom.c:1383:4: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:1389:5: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check(ps->c, xcb_ungrab_server_checked(ps->c)); ^ ../src/picom.c:1391:4: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_fatal_x_error(e, "failed to ungrab x server"); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'draw_callback_impl': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1414:4: note: in expansion of macro 'auto' auto _ attr_unused = win_skip_fading(ps, w); ^ ../src/picom.c:1414:9: warning: unused variable '_' [-Wunused-variable] auto _ attr_unused = win_skip_fading(ps, w); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1420:4: note: in expansion of macro 'auto' auto w = find_managed_win(ps, ps->o.benchmark_wid); ^ ../src/picom.c:1420:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto w = find_managed_win(ps, ps->o.benchmark_wid); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:1422:5: note: in expansion of macro 'log_fatal' log_fatal("Couldn't find specified benchmark window."); ^ ../src/picom.c:1425:4: warning: passing argument 2 of 'add_damage_from_win' makes pointer from integer without a cast [enabled by default] add_damage_from_win(ps, w); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:362:6: note: expected 'const struct managed_win *' but argument is of type 'int' void add_damage_from_win(session_t *ps, const struct managed_win *w); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1436:2: note: in expansion of macro 'auto' auto bottom = paint_preprocess(ps, &fade_running); ^ ../src/picom.c:1436:16: warning: initialization makes integer from pointer without a cast [enabled by default] auto bottom = paint_preprocess(ps, &fade_running); ^ ../src/picom.c:1452:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!fade_running && ev_is_active(&ps->fade_timer)) { ^ ../src/picom.c:1454:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (fade_running && !ev_is_active(&ps->fade_timer)) { ^ ../src/picom.c:1455:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_set(&ps->fade_timer, fade_timeout(ps), 0); ^ ../src/picom.c:1465:4: warning: passing argument 2 of 'paint_all_new' makes pointer from integer without a cast [enabled by default] paint_all_new(ps, bottom, false); ^ In file included from ../src/common.h:54:0, from ../src/picom.c:35: ../src/backend/backend.h:280:6: note: expected 'struct managed_win * const' but argument is of type 'int' void paint_all_new(session_t *ps, struct managed_win *const t, bool ignore_damage) ^ ../src/picom.c:1467:4: warning: passing argument 2 of 'paint_all' makes pointer from integer without a cast [enabled by default] paint_all(ps, bottom, false); ^ In file included from ../src/common.h:60:0, from ../src/picom.c:35: ../src/render.h:40:6: note: expected 'struct managed_win * const' but argument is of type 'int' void paint_all(session_t *ps, struct managed_win *const t, bool ignore_damage); ^ In file included from ../src/picom.c:32:0: ../src/picom.c: In function 'x_event_callback': /home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:177:32: warning: unused parameter 'loop' [-Wunused-parameter] # define EV_P struct ev_loop *loop /* a loop as sole parameter in a declaration */ ^ ../src/picom.c:1499:30: note: in expansion of macro 'EV_P' static void x_event_callback(EV_P attr_unused, ev_io *w, int revents attr_unused) { ^ ../src/picom.c:1499:62: warning: unused parameter 'revents' [-Wunused-parameter] static void x_event_callback(EV_P attr_unused, ev_io *w, int revents attr_unused) { ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'reset_enable': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:35:26: note: in expansion of macro 'LOG' #define log_info(x, ...) LOG(INFO, x, ##__VA_ARGS__) ^ ../src/picom.c:1514:2: note: in expansion of macro 'log_info' log_info("picom is resetting..."); ^ ../src/picom.c:1513:43: warning: unused parameter 'w' [-Wunused-parameter] static void reset_enable(EV_P_ ev_signal *w attr_unused, int revents attr_unused) { ^ ../src/picom.c:1513:62: warning: unused parameter 'revents' [-Wunused-parameter] static void reset_enable(EV_P_ ev_signal *w attr_unused, int revents attr_unused) { ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'exit_enable': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:35:26: note: in expansion of macro 'LOG' #define log_info(x, ...) LOG(INFO, x, ##__VA_ARGS__) ^ ../src/picom.c:1520:2: note: in expansion of macro 'log_info' log_info("picom is quitting..."); ^ In file included from ../src/picom.c:32:0: /home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:177:32: warning: unused parameter 'loop' [-Wunused-parameter] # define EV_P struct ev_loop *loop /* a loop as sole parameter in a declaration */ ^ ../src/picom.c:1518:25: note: in expansion of macro 'EV_P' static void exit_enable(EV_P attr_unused, ev_signal *w, int revents attr_unused) { ^ ../src/picom.c:1518:61: warning: unused parameter 'revents' [-Wunused-parameter] static void exit_enable(EV_P attr_unused, ev_signal *w, int revents attr_unused) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'config_file_change_cb': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1525:2: note: in expansion of macro 'auto' auto ps = (struct session *)_ps; ^ ../src/picom.c:1525:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto ps = (struct session *)_ps; ^ ../src/picom.c:1526:17: error: invalid type argument of '->' (have 'int') reset_enable(ps->loop, NULL, 0); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'session_init': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1613:2: note: in expansion of macro 'auto' auto stderr_logger = stderr_logger_new(); ^ ../src/picom.c:1613:23: warning: initialization makes integer from pointer without a cast [enabled by default] auto stderr_logger = stderr_logger_new(); ^ ../src/picom.c:1617:3: warning: passing argument 1 of 'log_add_target_tls' makes pointer from integer without a cast [enabled by default] log_add_target_tls(stderr_logger); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:70:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_add_target_tls(struct log_target *tgt) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1641:2: note: in expansion of macro 'auto' auto screen = x_screen_of_display(ps->c, ps->scr); ^ ../src/picom.c:1641:16: warning: initialization makes integer from pointer without a cast [enabled by default] auto screen = x_screen_of_display(ps->c, ps->scr); ^ ../src/picom.c:1642:18: error: invalid type argument of '->' (have 'int') ps->vis = screen->root_visual; ^ ../src/picom.c:1643:20: error: invalid type argument of '->' (have 'int') ps->depth = screen->root_depth; ^ ../src/picom.c:1644:19: error: invalid type argument of '->' (have 'int') ps->root = screen->root; ^ ../src/picom.c:1645:25: error: invalid type argument of '->' (have 'int') ps->root_width = screen->width_in_pixels; ^ ../src/picom.c:1646:26: error: invalid type argument of '->' (have 'int') ps->root_height = screen->height_in_pixels; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1650:2: note: in expansion of macro 'auto' auto e = xcb_request_check( ^ ../src/picom.c:1650:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = xcb_request_check( ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/x.h:86:2: note: in expansion of macro 'LOG' LOG(ERROR, fmt " (%s)", ##__VA_ARGS__, x_strerror(e)) ^ ../src/picom.c:1657:3: note: in expansion of macro 'log_error_x_error' log_error_x_error(e, "Failed to setup root window event mask"); ^ ../src/picom.c:1657:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/x.h:61:3: error: unknown type name '__auto_type' __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/x.h:61:21: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__)); \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/x.h:63:21: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/x.h:63:36: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/x.h:63:53: error: invalid type argument of '->' (have 'int') x_print_error(__e->sequence, __e->major_code, __e->minor_code, \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/x.h:64:21: error: invalid type argument of '->' (have 'int') __e->error_code); \ ^ ../src/picom.c:1726:7: note: in expansion of macro 'XCB_AWAIT_VOID' if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ ../src/picom.c:1726:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] if (!XCB_AWAIT_VOID(xcb_xfixes_create_region, ps->c, ps->damaged_region, 0, NULL)) { ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1757:3: note: in expansion of macro 'auto' auto l = file_logger_new(ps->o.logpath); ^ ../src/picom.c:1757:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto l = file_logger_new(ps->o.logpath); ^ ../src/picom.c:1761:5: warning: passing argument 1 of 'log_remove_target_tls' makes pointer from integer without a cast [enabled by default] log_remove_target_tls(stderr_logger); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:75:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_remove_target_tls(struct log_target *tgt) { ^ ../src/picom.c:1762:19: warning: assignment makes integer from pointer without a cast [enabled by default] stderr_logger = NULL; ^ ../src/picom.c:1764:4: warning: passing argument 1 of 'log_add_target_tls' makes pointer from integer without a cast [enabled by default] log_add_target_tls(l); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:70:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_add_target_tls(struct log_target *tgt) { ^ ../src/picom.c:1765:18: warning: assignment makes integer from pointer without a cast [enabled by default] stderr_logger = NULL; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1834:3: note: in expansion of macro 'auto' auto r = xcb_present_query_version_reply( ^ ../src/picom.c:1834:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_present_query_version_reply( ^ ../src/picom.c:1841:4: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1851:3: note: in expansion of macro 'auto' auto r = xcb_sync_initialize_reply( ^ ../src/picom.c:1851:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_sync_initialize_reply( ^ ../src/picom.c:1855:14: error: invalid type argument of '->' (have 'int') if (r && (r->major_version > 3 || ^ ../src/picom.c:1856:15: error: invalid type argument of '->' (have 'int') (r->major_version == 3 && r->minor_version >= 1))) { ^ ../src/picom.c:1856:40: error: invalid type argument of '->' (have 'int') (r->major_version == 3 && r->minor_version >= 1))) { ^ ../src/picom.c:1858:4: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:1865:5: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check( ^ ../src/picom.c:1869:5: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to create a XSync fence. " ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:1875:4: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:1974:3: note: in expansion of macro 'auto' auto gl_logger = gl_string_marker_logger_new(); ^ ../src/picom.c:1974:20: warning: initialization makes integer from pointer without a cast [enabled by default] auto gl_logger = gl_string_marker_logger_new(); ^ ../src/picom.c:1977:4: warning: passing argument 1 of 'log_add_target_tls' makes pointer from integer without a cast [enabled by default] log_add_target_tls(gl_logger); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:70:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_add_target_tls(struct log_target *tgt) { ^ ../src/picom.c:2011:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->dpy), EV_READ); ^ ../src/picom.c:2011:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2011:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2011:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2013:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init(&ps->unredir_timer, tmout_unredir_callback); ^ ../src/picom.c:2013:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2013:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2013:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2014:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_idle_init(&ps->draw_idle, draw_callback); ^ ../src/picom.c:2014:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2014:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2014:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2016:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init(&ps->fade_timer, fade_timer_callback); ^ ../src/picom.c:2016:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2016:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2016:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2019:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); ^ ../src/picom.c:2019:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2019:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2019:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2020:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_signal_init(&ps->int_signal, exit_enable, SIGINT); ^ ../src/picom.c:2020:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2020:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2020:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2038:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_prepare_init(&ps->event_check, handle_queued_x_events); ^ ../src/picom.c:2038:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2038:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2038:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/picom.c:2041:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority(&ps->event_check, EV_MINPRI); ^ ../src/picom.c:2058:4: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check(ps->c, xcb_grab_server_checked(ps->c)); ^ ../src/picom.c:2060:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_fatal_x_error(e, "Failed to grab X server"); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:2061:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:2076:4: warning: assignment makes integer from pointer without a cast [enabled by default] e = xcb_request_check(ps->c, xcb_ungrab_server(ps->c)); ^ ../src/picom.c:2078:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_fatal_x_error(e, "Failed to ungrab server"); ^ In file included from ../src/backend/gl/glx.h:21:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/picom.c:2079:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:31:0, from ../src/uthash_extra.h:3, from ../src/common.h:43, from ../src/picom.c:35: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/picom.c:2109:3: warning: passing argument 1 of 'log_remove_target_tls' makes pointer from integer without a cast [enabled by default] log_remove_target_tls(stderr_logger); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:75:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_remove_target_tls(struct log_target *tgt) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'session_destroy': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:2159:4: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/picom.c:2159:14: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/picom.c:2160:4: warning: passing argument 2 of 'free_win_res' makes pointer from integer without a cast [enabled by default] free_win_res(ps, mw); ^ In file included from ../src/picom.h:25:0, from ../src/picom.c:40: ../src/win.h:458:6: note: expected 'struct managed_win *' but argument is of type 'int' void free_win_res(session_t *ps, struct managed_win *w); ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/picom.c: In function 'main': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:2326:3: note: in expansion of macro 'auto' auto stderr_logger = stderr_logger_new(); ^ ../src/picom.c:2326:24: warning: initialization makes integer from pointer without a cast [enabled by default] auto stderr_logger = stderr_logger_new(); ^ ../src/picom.c:2328:4: warning: passing argument 1 of 'log_add_target_tls' makes pointer from integer without a cast [enabled by default] log_add_target_tls(stderr_logger); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:70:37: note: expected 'struct log_target *' but argument is of type 'int' static inline attr_nonnull_all void log_add_target_tls(struct log_target *tgt) { ^ In file included from ../src/log.h:8:0, from ../src/backend/gl/glx.h:18, from ../src/common.h:45, from ../src/picom.c:35: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.c:2345:3: note: in expansion of macro 'auto' auto pid = fork(); ^ In file included from ../src/backend/gl/glx.h:18:0, from ../src/common.h:45, from ../src/picom.c:35: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/picom.c:2377:4: note: in expansion of macro 'log_fatal' log_fatal("Can't open display."); ^ ../src/log.h: In function 'log_get_level_tls': ../src/log.h:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../src/picom.c: In function 'main': ../src/picom.c:2408:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pfds[1], &tmp, sizeof tmp); ^ [2/30] Compiling C object src/picom.p/win.c.o FAILED: src/picom.p/win.c.o cc -Isrc/picom.p -Isrc -I../src -Isubprojects/test.h -I../subprojects/test.h -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/ev -I/usr/include -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DCOMPTON_VERSION="v9.1"' -D_GNU_SOURCE -DHAS_STDC_PREDEF_H -Wall -Wignored-qualifiers -Wmissing-parameter-type -Wnonnull -Wshadow -Wno-type-limits -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-parameter -Wno-missing-braces -Wconversion -Wempty-body -pipe -O2 -D_REENTRANT -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DGL_GLEXT_PROTOTYPES -DCONFIG_DBUS -DHAS_INOTIFY -MD -MQ src/picom.p/win.c.o -MF src/picom.p/win.c.o.d -o src/picom.p/win.c.o -c ../src/win.c In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:59:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' extern thread_local struct log *tls_logger; ^ ../src/log.h: In function 'log_init_tls': ../src/log.h:63:2: error: 'tls_logger' undeclared (first use in this function) tls_logger = log_new(); ^ ../src/log.h:63:2: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/log.h:5:0, from ../src/config.h:24, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h: In function 'log_set_level_tls': ../src/log.h:67:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_add_target_tls': ../src/log.h:71:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_remove_target_tls': ../src/log.h:76:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_get_level_tls': ../src/log.h:81:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ ../src/log.h: In function 'log_deinit_tls': ../src/log.h:86:9: error: 'tls_logger' undeclared (first use in this function) assert(tls_logger); ^ In file included from ../src/region.h:10:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/region.h: In function 'rc_region_ref': ../src/utils.h:253:3: error: unknown type name '__auto_type' __auto_type b = (name##_internal_t *)a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:253:19: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type b = (name##_internal_t *)a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:254:4: error: invalid type argument of '->' (have 'int') b->ref_count++; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/region.h: In function 'rc_region_unref': ../src/utils.h:258:3: error: unknown type name '__auto_type' __auto_type b = (name##_internal_t *)*a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:258:19: warning: initialization makes integer from pointer without a cast [enabled by default] __auto_type b = (name##_internal_t *)*a; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:261:4: error: invalid type argument of '->' (have 'int') b->ref_count--; \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:262:9: error: invalid type argument of '->' (have 'int') if (!b->ref_count) { \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:263:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dtor((type *)b); \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ ../src/utils.h:241:17: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] typedef struct { \ ^ ../src/region.h:17:1: note: in expansion of macro 'RC_TYPE' RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline) ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/region.h: In function 'dump_region': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/region.h:25:2: note: in expansion of macro 'log_trace' log_trace("nrects: %d", nrects); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/region.h: In function 'from_x_rects': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/region.h:44:16: note: in expansion of macro 'ccalloc' rect_t *ret = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/region.h:44:16: note: in expansion of macro 'ccalloc' rect_t *ret = ccalloc(nrects, rect_t); ^ ../src/region.h: In function '_resize_region': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/region.h:69:2: note: in expansion of macro 'auto' auto newrects = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:209:3: note: in expansion of macro 'auto' auto tmp = (nmemb); \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:72:3: note: in expansion of macro 'auto' auto __tmp attr_unused = (var); \ ^ ../src/utils.h:210:3: note: in expansion of macro 'ASSERT_GEQ' ASSERT_GEQ(tmp, 0); \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ In file included from ../src/region.h:10:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/utils.h:208:2: warning: initialization makes integer from pointer without a cast [enabled by default] ({ \ ^ ../src/region.h:69:18: note: in expansion of macro 'ccalloc' auto newrects = ccalloc(nrects, rect_t); ^ In file included from ../src/config.h:25:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/region.h:80:11: error: subscripted value is neither array nor pointer nor vector newrects[nnewrects] = ^ ../src/region.h:86:2: warning: passing argument 2 of 'pixman_region32_init_rects' makes pointer from integer without a cast [enabled by default] pixman_region32_init_rects(output, newrects, nnewrects); ^ In file included from ../src/region.h:4:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: /home/pbulk/build/x11/picom/work/.buildlink/include/pixman-1/pixman.h:653:25: note: expected 'const struct pixman_box32_t *' but argument is of type 'int' pixman_bool_t pixman_region32_init_rects (pixman_region32_t *region, ^ In file included from ../src/config.h:25:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/region.h:88:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(newrects); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/config.h: In function 'parse_backend': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:36:26: note: in expansion of macro 'LOG' #define log_warn(x, ...) LOG(WARN, x, ##__VA_ARGS__) ^ ../src/config.h:299:3: note: in expansion of macro 'log_warn' log_warn("backend xr_glx_hybird should be xr_glx_hybrid, the misspelt " ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/x.h: In function 'x_new_id': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/x.h:96:2: note: in expansion of macro 'auto' auto ret = xcb_generate_id(c); ^ In file included from ../src/backend/backend.h:14:0, from ../src/win.c:20: ../src/x.h:96:28: warning: conversion to 'int' from 'uint32_t' may change the sign of the result [-Wsign-conversion] auto ret = xcb_generate_id(c); ^ ../src/x.h:97:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret == (uint32_t)-1) { ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:38:27: note: in expansion of macro 'LOG' #define log_fatal(x, ...) LOG(FATAL, x, ##__VA_ARGS__) ^ ../src/x.h:98:3: note: in expansion of macro 'log_fatal' log_fatal("We seems to have run of XIDs. This is either a bug in the X " ^ In file included from ../src/backend/backend.h:14:0, from ../src/win.c:20: ../src/x.h:103:2: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] return ret; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/common.h: In function 'set_ignore': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:463:2: note: in expansion of macro 'auto' auto i = cmalloc(ignore_t); ^ In file included from ../src/region.h:10:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/utils.h:201:23: warning: initialization makes integer from pointer without a cast [enabled by default] #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type)))) ^ ../src/common.h:463:11: note: in expansion of macro 'cmalloc' auto i = cmalloc(ignore_t); ^ In file included from ../src/win.c:22:0: ../src/common.h:467:3: error: invalid type argument of '->' (have 'int') i->sequence = sequence; ^ ../src/common.h:468:3: error: invalid type argument of '->' (have 'int') i->next = 0; ^ ../src/common.h:469:19: warning: assignment makes pointer from integer without a cast [enabled by default] *ps->ignore_tail = i; ^ ../src/common.h:470:22: error: invalid type argument of '->' (have 'int') ps->ignore_tail = &i->next; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/common.h: In function 'wid_has_prop': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:489:2: note: in expansion of macro 'auto' auto r = xcb_get_property_reply( ^ In file included from ../src/win.c:22:0: ../src/common.h:489:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_property_reply( ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/common.h:495:2: note: in expansion of macro 'auto' auto rtype = r->type; ^ In file included from ../src/win.c:22:0: ../src/common.h:495:16: error: invalid type argument of '->' (have 'int') auto rtype = r->type; ^ ../src/common.h:496:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/picom.h: In function 'dump_drawable': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/picom.h:107:2: note: in expansion of macro 'auto' auto r = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, drawable), NULL); ^ In file included from ../src/win.c:27:0: ../src/picom.h:107:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, drawable), NULL); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/picom.h:109:3: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: Failed", drawable); ^ ../src/picom.h:113:23: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:29: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:35: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:45: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:56: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ ../src/picom.h:113:73: error: invalid type argument of '->' (have 'int') drawable, r->x, r->y, r->width, r->height, r->border_width, r->depth); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/picom.h:112:2: note: in expansion of macro 'log_trace' log_trace("Drawable %#010x: x = %u, y = %u, wid = %u, hei = %d, b = %u, d = %u", ^ In file included from ../src/win.c:27:0: ../src/picom.h:114:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'group_on_factor_change': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:177:3: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:177:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:178:3: warning: passing argument 2 of 'win_get_leader' makes pointer from integer without a cast [enabled by default] if (win_get_leader(ps, mw) == leader) { ^ ../src/win.c:119:28: note: expected 'struct managed_win *' but argument is of type 'int' static inline xcb_window_t win_get_leader(session_t *ps, struct managed_win *w) { ^ ../src/win.c:179:4: warning: passing argument 2 of 'win_on_factor_change' makes pointer from integer without a cast [enabled by default] win_on_factor_change(ps, mw); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:314:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_on_factor_change(session_t *ps, struct managed_win *w); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_get_name_if_managed': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:188:2: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:188:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:189:11: error: invalid type argument of '->' (have 'int') return mw->name; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'group_is_focused': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:208:3: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:208:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:209:3: warning: passing argument 2 of 'win_get_leader' makes pointer from integer without a cast [enabled by default] if (win_get_leader(ps, mw) == leader && win_is_focused_raw(ps, mw)) { ^ ../src/win.c:119:28: note: expected 'struct managed_win *' but argument is of type 'int' static inline xcb_window_t win_get_leader(session_t *ps, struct managed_win *w) { ^ ../src/win.c:209:3: warning: passing argument 2 of 'win_is_focused_raw' makes pointer from integer without a cast [enabled by default] if (win_get_leader(ps, mw) == leader && win_is_focused_raw(ps, mw)) { ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:428:16: note: expected 'const struct managed_win *' but argument is of type 'int' bool attr_pure win_is_focused_raw(const session_t *ps, const struct managed_win *w); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_get_region_frame_local': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:249:2: note: in expansion of macro 'auto' auto outer_width = w->widthb; ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:250:2: note: in expansion of macro 'auto' auto outer_height = w->heightb; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_release_pixmap': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:297:2: note: in expansion of macro 'log_debug' log_debug("Releasing pixmap of window %#010x (%s)", w->base.id, w->name); ^ ../src/win.c: In function 'win_release_shadow': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:307:2: note: in expansion of macro 'log_debug' log_debug("Releasing shadow of window %#010x (%s)", w->base.id, w->name); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_bind_pixmap': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:319:2: note: in expansion of macro 'auto' auto pixmap = x_new_id(b->c); ^ ../src/win.c:319:24: warning: conversion to 'int' from 'uint32_t' may change the sign of the result [-Wsign-conversion] auto pixmap = x_new_id(b->c); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:320:2: note: in expansion of macro 'auto' auto e = xcb_request_check( ^ ../src/win.c:321:6: warning: conversion to 'xcb_pixmap_t' from 'int' may change the sign of the result [-Wsign-conversion] b->c, xcb_composite_name_window_pixmap_checked(b->c, w->base.id, pixmap)); ^ ../src/win.c:320:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = xcb_request_check( ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:37:27: note: in expansion of macro 'LOG' #define log_error(x, ...) LOG(ERROR, x, ##__VA_ARGS__) ^ ../src/win.c:323:3: note: in expansion of macro 'log_error' log_error("Failed to get named pixmap for window %#010x(%s)", w->base.id, ^ ../src/win.c:325:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/win.c:330:6: warning: conversion to 'xcb_pixmap_t' from 'int' may change the sign of the result [-Wsign-conversion] b->ops->bind_pixmap(b, pixmap, x_get_visual_info(b->c, w->a.visual), true); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_bind_shadow': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:37:27: note: in expansion of macro 'LOG' #define log_error(x, ...) LOG(ERROR, x, ##__VA_ARGS__) ^ ../src/win.c:348:3: note: in expansion of macro 'log_error' log_error("Failed to bind shadow image, shadow will be disabled for " ^ ../src/win.c: In function 'win_process_update_flags': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/win.c:438:2: note: in expansion of macro 'log_trace' log_trace("Processing flags for window %#010x (%s), was visible: %d", w->base.id, ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_has_rounded_corners': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:580:2: note: in expansion of macro 'auto' auto minwidth = ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:582:2: note: in expansion of macro 'auto' auto minheight = ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_update_name': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:610:3: note: in expansion of macro 'log_debug' log_debug("(%#010x): _NET_WM_NAME unset, falling back to WM_NAME.", ^ ../src/win.c: In function 'win_update_role': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/win.c:653:2: note: in expansion of macro 'log_trace' log_trace("(%#010x): client = %#010x, role = \"%s\", " ^ ../src/win.c: In function 'win_set_shadow': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:867:2: note: in expansion of macro 'log_debug' log_debug("Updating shadow property of window %#010x (%s) to %d", w->base.id, ^ ../src/win.c: In function 'win_determine_shadow': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:930:2: note: in expansion of macro 'log_debug' log_debug("Determining shadow of window %#010x (%s)", w->base.id, w->name); ^ ../src/win.c: In function 'win_determine_blur_background': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1059:2: note: in expansion of macro 'log_debug' log_debug("Determining blur-background of window %#010x (%s)", w->base.id, w->name); ^ ../src/win.c: In function 'win_determine_rounded_corners': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1091:3: note: in expansion of macro 'log_debug' log_debug("Not rounding corners for window %#010x", w->base.id); ^ ../src/win.c: In function 'win_on_factor_change': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1127:2: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s) factor change", w->base.id, w->name); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_mark_client': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1217:2: note: in expansion of macro 'auto' auto e = xcb_request_check( ^ ../src/win.c:1217:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = xcb_request_check( ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:37:27: note: in expansion of macro 'LOG' #define log_error(x, ...) LOG(ERROR, x, ##__VA_ARGS__) ^ ../src/win.c:1222:3: note: in expansion of macro 'log_error' log_error("Failed to change event mask of window %#010x", client); ^ ../src/win.c:1223:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(e); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1244:2: note: in expansion of macro 'auto' auto r = xcb_get_window_attributes_reply( ^ ../src/win.c:1245:6: warning: passing argument 3 of 'xcb_get_window_attributes_reply' from incompatible pointer type [enabled by default] ps->c, xcb_get_window_attributes(ps->c, w->client_win), &e); ^ In file included from /home/pbulk/build/x11/picom/work/.buildlink/include/xcb/xcb.h:209:0, from /home/pbulk/build/x11/picom/work/.buildlink/include/xcb/composite.h:15, from ../src/win.c:12: /home/pbulk/build/x11/picom/work/.buildlink/include/xcb/xproto.h:6066:1: note: expected 'struct xcb_generic_error_t **' but argument is of type 'int *' xcb_get_window_attributes_reply (xcb_connection_t *c, ^ ../src/win.c:1244:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto r = xcb_get_window_attributes_reply( ^ ../src/win.c:1247:3: warning: passing argument 1 of 'x_strerror' makes pointer from integer without a cast [enabled by default] log_error_x_error(e, "Failed to get client window attributes"); ^ In file included from ../src/backend/backend.h:14:0, from ../src/win.c:20: ../src/x.h:235:13: note: expected 'struct xcb_generic_error_t *' but argument is of type 'int' const char *x_strerror(xcb_generic_error_t *e); ^ ../src/win.c:1251:56: error: invalid type argument of '->' (have 'int') w->client_pictfmt = x_get_pictform_for_visual(ps->c, r->visual); ^ ../src/win.c:1252:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(r); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_unmark_client': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1263:2: note: in expansion of macro 'log_debug' log_debug("Detaching client window %#010x from frame %#010x (%s)", client, ^ ../src/win.c: In function 'win_recheck_client': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1321:3: note: in expansion of macro 'log_debug' log_debug("(%#010x): client %#010x", w->base.id, cw); ^ ../src/win.c: In function 'add_win': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1372:2: note: in expansion of macro 'log_debug' log_debug("Adding window %#010x", id); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1377:2: note: in expansion of macro 'auto' auto new_w = cmalloc(struct win); ^ In file included from ../src/region.h:10:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/utils.h:201:23: warning: initialization makes integer from pointer without a cast [enabled by default] #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type)))) ^ ../src/win.c:1377:15: note: in expansion of macro 'cmalloc' auto new_w = cmalloc(struct win); ^ ../src/win.c:1378:32: error: invalid type argument of '->' (have 'int') list_insert_after(prev, &new_w->stack_neighbour); ^ ../src/win.c:1379:7: error: invalid type argument of '->' (have 'int') new_w->id = id; ^ ../src/win.c:1380:7: error: invalid type argument of '->' (have 'int') new_w->managed = false; ^ ../src/win.c:1381:7: error: invalid type argument of '->' (have 'int') new_w->is_new = true; ^ ../src/win.c:1382:7: error: invalid type argument of '->' (have 'int') new_w->destroyed = false; ^ In file included from ../src/uthash_extra.h:3:0, from ../src/common.h:43, from ../src/win.c:22: /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:36: error: invalid type argument of '->' (have 'int') HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:649:55: note: in definition of macro 'HASH_JEN' unsigned const char *_hj_key=(unsigned const char*)(key); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:151:3: note: in expansion of macro 'HASH_FUNCTION' HASH_FUNCTION(keyptr, keylen, hashv); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:421:3: note: in expansion of macro 'HASH_VALUE' HASH_VALUE(keyptr, keylen_in, _ha_hashv); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:400:8: error: invalid type argument of '->' (have 'int') (add)->hh.hashv = (hashval); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:401:8: error: invalid type argument of '->' (have 'int') (add)->hh.key = (const void*) (keyptr); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:36: error: invalid type argument of '->' (have 'int') HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:401:34: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.key = (const void*) (keyptr); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:402:8: error: invalid type argument of '->' (have 'int') (add)->hh.keylen = (unsigned) (keylen_in); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:404:10: error: invalid type argument of '->' (have 'int') (add)->hh.next = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:405:10: error: invalid type argument of '->' (have 'int') (add)->hh.prev = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:215:9: error: invalid type argument of '->' (have 'int') (head)->hh.tbl = (UT_hash_table*)uthash_malloc(sizeof(UT_hash_table)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:216:14: error: invalid type argument of '->' (have 'int') if (!(head)->hh.tbl) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:219:24: error: invalid type argument of '->' (have 'int') uthash_bzero((head)->hh.tbl, sizeof(UT_hash_table)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:34: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:220:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->tail = &((head)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:220:36: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->tail = &((head)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:221:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:222:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:42: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:224:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:226:11: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->signature = HASH_SIGNATURE; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:227:16: error: invalid type argument of '->' (have 'int') if (!(head)->hh.tbl->buckets) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:229:25: error: invalid type argument of '->' (have 'int') uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:79:34: note: in definition of macro 'uthash_free' #define uthash_free(ptr,sz) free(ptr) /* free fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:231:26: error: invalid type argument of '->' (have 'int') uthash_bzero((head)->hh.tbl->buckets, \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:34: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:408:14: warning: assignment makes pointer from integer without a cast [enabled by default] (head) = (add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:411:10: error: invalid type argument of '->' (have 'int') (add)->hh.tbl = (head)->hh.tbl; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:281:8: error: invalid type argument of '->' (have 'int') (add)->hh.next = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:412:5: note: in expansion of macro 'HASH_APPEND_LIST' HASH_APPEND_LIST(hh, head, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:282:8: error: invalid type argument of '->' (have 'int') (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:412:5: note: in expansion of macro 'HASH_APPEND_LIST' HASH_APPEND_LIST(hh, head, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:283:30: warning: assignment makes pointer from integer without a cast [enabled by default] (head)->hh.tbl->tail->next = (add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:412:5: note: in expansion of macro 'HASH_APPEND_LIST' HASH_APPEND_LIST(hh, head, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:284:33: error: invalid type argument of '->' (have 'int') (head)->hh.tbl->tail = &((add)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:412:5: note: in expansion of macro 'HASH_APPEND_LIST' HASH_APPEND_LIST(hh, head, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:770:4: note: in definition of macro 'HASH_ADD_TO_BKT' (addhh)->hh_next = _ha_head->hh_head; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:771:4: note: in definition of macro 'HASH_ADD_TO_BKT' (addhh)->hh_prev = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:773:35: note: in definition of macro 'HASH_ADD_TO_BKT' _ha_head->hh_head->hh_prev = (addhh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:775:24: note: in definition of macro 'HASH_ADD_TO_BKT' _ha_head->hh_head = (addhh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:777:12: note: in definition of macro 'HASH_ADD_TO_BKT' && !(addhh)->tbl->noexpand) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:76:34: note: in definition of macro 'uthash_malloc' #define uthash_malloc(sz) malloc(sz) /* malloc fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:41: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:845:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ideal_chain_maxlen = \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:846:10: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->num_items >> ((tbl)->log2_num_buckets+1U)) + \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:846:31: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->num_items >> ((tbl)->log2_num_buckets+1U)) + \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:847:12: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:847:33: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:848:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->nonideal_items = 0; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:849:38: note: in definition of macro 'HASH_EXPAND_BUCKETS' for (_he_bkt_i = 0; _he_bkt_i < (tbl)->num_buckets; _he_bkt_i++) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:850:18: note: in definition of macro 'HASH_EXPAND_BUCKETS' _he_thh = (tbl)->buckets[ _he_bkt_i ].hh_head; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:433:22: note: in definition of macro 'HASH_TO_BKT' bkt = ((hashv) & ((num_bkts) - 1U)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:855:38: note: in definition of macro 'HASH_EXPAND_BUCKETS' if (++(_he_newbkt->count) > (tbl)->ideal_chain_maxlen) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:856:12: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->nonideal_items++; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:857:62: note: in definition of macro 'HASH_EXPAND_BUCKETS' if (_he_newbkt->count > _he_newbkt->expand_mult * (tbl)->ideal_chain_maxlen) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:79:34: note: in definition of macro 'uthash_free' #define uthash_free(ptr,sz) free(ptr) /* free fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:871:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->num_buckets *= 2U; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:872:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->log2_num_buckets++; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:873:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->buckets = _he_new_buckets; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:30: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:55: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:875:11: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->ineff_expands+1U) : 0U; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:876:10: note: in definition of macro 'HASH_EXPAND_BUCKETS' if ((tbl)->ineff_expands > 1U) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:63: error: invalid type argument of '->' (have 'int') HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:877:8: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->noexpand = 1; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:422:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, keyptr, keylen_in, _ha_hashv, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:429:3: note: in expansion of macro 'HASH_ADD_KEYPTR' HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:499:5: note: in expansion of macro 'HASH_ADD' HASH_ADD(hh,head,intfield,sizeof(int),add) ^ ../src/win.c:1384:2: note: in expansion of macro 'HASH_ADD_INT' HASH_ADD_INT(ps->windows, id, new_w); ^ ../src/win.c:1386:2: warning: return makes pointer from integer without a cast [enabled by default] return new_w; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'fill_win': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1512:2: note: in expansion of macro 'auto' auto duplicated_win = find_managed_win(ps, w->id); ^ ../src/win.c:1512:24: warning: initialization makes integer from pointer without a cast [enabled by default] auto duplicated_win = find_managed_win(ps, w->id); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:1514:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x (recorded name: %s) added multiple times", w->id, ^ ../src/win.c:1515:27: error: invalid type argument of '->' (have 'int') duplicated_win->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:1514:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x (recorded name: %s) added multiple times", w->id, ^ ../src/win.c:1516:25: error: invalid type argument of '->' (have 'int') return &duplicated_win->base; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1541:2: note: in expansion of macro 'auto' auto new_internal = cmalloc(struct managed_win_internal); ^ In file included from ../src/region.h:10:0, from ../src/config.h:25, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/utils.h:201:23: warning: initialization makes integer from pointer without a cast [enabled by default] #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type)))) ^ ../src/win.c:1541:22: note: in expansion of macro 'cmalloc' auto new_internal = cmalloc(struct managed_win_internal); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1542:2: note: in expansion of macro 'auto' auto new = (struct managed_win *)new_internal; ^ ../src/win.c:1542:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] auto new = (struct managed_win *)new_internal; ^ ../src/win.c:1542:13: warning: initialization makes integer from pointer without a cast [enabled by default] ../src/win.c:1547:2: error: invalid type argument of unary '*' (have 'int') *new = win_def; ^ ../src/win.c:1548:5: error: invalid type argument of '->' (have 'int') new->base = *w; ^ ../src/win.c:1549:5: error: invalid type argument of '->' (have 'int') new->base.managed = true; ^ ../src/win.c:1550:5: error: invalid type argument of '->' (have 'int') new->a = *a; ^ ../src/win.c:1551:27: error: invalid type argument of '->' (have 'int') pixman_region32_init(&new->bounding_shape); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1556:2: note: in expansion of macro 'auto' auto g = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, w->id), &e); ^ ../src/win.c:1556:11: warning: initialization makes integer from pointer without a cast [enabled by default] auto g = xcb_get_geometry_reply(ps->c, xcb_get_geometry(ps->c, w->id), &e); ^ ../src/win.c:1560:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(new); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/win.c:1563:5: error: invalid type argument of '->' (have 'int') new->pending_g = (struct win_geometry){ ^ ../src/win.c:1564:12: error: invalid type argument of '->' (have 'int') .x = g->x, ^ ../src/win.c:1565:12: error: invalid type argument of '->' (have 'int') .y = g->y, ^ ../src/win.c:1566:16: error: invalid type argument of '->' (have 'int') .width = g->width, ^ ../src/win.c:1567:17: error: invalid type argument of '->' (have 'int') .height = g->height, ^ ../src/win.c:1568:23: error: invalid type argument of '->' (have 'int') .border_width = g->border_width, ^ ../src/win.c:1571:2: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(g); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/win.c:1574:5: error: invalid type argument of '->' (have 'int') new->damage = x_new_id(ps->c); ^ ../src/win.c:1576:49: error: invalid type argument of '->' (have 'int') ps->c, xcb_damage_create_checked(ps->c, new->damage, w->id, ^ ../src/win.c:1581:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(new); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ ../src/win.c:1587:16: error: invalid type argument of '->' (have 'int') ps->c, new->base.id, XCB_CW_EVENT_MASK, ^ ../src/win.c:1588:49: error: invalid type argument of '->' (have 'int') (const uint32_t[]){determine_evmask(ps, new->base.id, WIN_EVMODE_FRAME)}); ^ ../src/win.c:1592:36: error: invalid type argument of '->' (have 'int') xcb_shape_select_input(ps->c, new->base.id, 1); ^ ../src/win.c:1595:5: error: invalid type argument of '->' (have 'int') new->pictfmt = x_get_pictform_for_visual(ps->c, new->a.visual); ^ ../src/win.c:1595:53: error: invalid type argument of '->' (have 'int') new->pictfmt = x_get_pictform_for_visual(ps->c, new->a.visual); ^ ../src/win.c:1596:5: error: invalid type argument of '->' (have 'int') new->client_pictfmt = NULL; ^ ../src/win.c:1598:40: error: invalid type argument of '->' (have 'int') list_replace(&w->stack_neighbour, &new->base.stack_neighbour); ^ In file included from ../src/uthash_extra.h:3:0, from ../src/common.h:43, from ../src/win.c:22: ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:649:55: note: in definition of macro 'HASH_JEN' unsigned const char *_hj_key=(unsigned const char*)(key); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:151:3: note: in expansion of macro 'HASH_FUNCTION' HASH_FUNCTION(keyptr, keylen, hashv); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:268:3: note: in expansion of macro 'HASH_VALUE' HASH_VALUE(&((add)->fieldname), keylen_in, _hr_hashv); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:93:37: note: in definition of macro 'HASH_KEYCMP' #define HASH_KEYCMP(a,b,n) memcmp(a,b,n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:161:7: note: in expansion of macro 'HASH_FIND_IN_BKT' HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:258:3: note: in expansion of macro 'HASH_FIND_BYHASHVALUE' HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:400:4: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.hashv = (hashval); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:401:4: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.key = (const void*) (keyptr); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:401:34: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.key = (const void*) (keyptr); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:402:4: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.keylen = (unsigned) (keylen_in); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:404:6: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.next = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:405:6: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.prev = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:215:4: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl = (UT_hash_table*)uthash_malloc(sizeof(UT_hash_table)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:216:9: note: in definition of macro 'HASH_MAKE_TABLE' if (!(head)->hh.tbl) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:34: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:220:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->tail = &((head)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:220:31: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->tail = &((head)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:221:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:222:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:37: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:223:58: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:224:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:226:6: note: in definition of macro 'HASH_MAKE_TABLE' (head)->hh.tbl->signature = HASH_SIGNATURE; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:227:11: note: in definition of macro 'HASH_MAKE_TABLE' if (!(head)->hh.tbl->buckets) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:79:34: note: in definition of macro 'uthash_free' #define uthash_free(ptr,sz) free(ptr) /* free fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:34: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:406:5: note: in expansion of macro 'HASH_MAKE_TABLE' HASH_MAKE_TABLE(hh, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:408:17: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (head) = (add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:411:6: note: in definition of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' (add)->hh.tbl = (head)->hh.tbl; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:281:4: note: in definition of macro 'HASH_APPEND_LIST' (add)->hh.next = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:282:4: note: in definition of macro 'HASH_APPEND_LIST' (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:283:33: note: in definition of macro 'HASH_APPEND_LIST' (head)->hh.tbl->tail->next = (add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:284:29: note: in definition of macro 'HASH_APPEND_LIST' (head)->hh.tbl->tail = &((add)->hh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:770:4: note: in definition of macro 'HASH_ADD_TO_BKT' (addhh)->hh_next = _ha_head->hh_head; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:771:4: note: in definition of macro 'HASH_ADD_TO_BKT' (addhh)->hh_prev = NULL; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:773:35: note: in definition of macro 'HASH_ADD_TO_BKT' _ha_head->hh_head->hh_prev = (addhh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:775:24: note: in definition of macro 'HASH_ADD_TO_BKT' _ha_head->hh_head = (addhh); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:777:12: note: in definition of macro 'HASH_ADD_TO_BKT' && !(addhh)->tbl->noexpand) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:76:34: note: in definition of macro 'uthash_malloc' #define uthash_malloc(sz) malloc(sz) /* malloc fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:82:41: note: in definition of macro 'uthash_bzero' #define uthash_bzero(a,n) memset(a,'\0',n) ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:845:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ideal_chain_maxlen = \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:846:10: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->num_items >> ((tbl)->log2_num_buckets+1U)) + \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:846:31: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->num_items >> ((tbl)->log2_num_buckets+1U)) + \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:847:12: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:847:33: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:848:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->nonideal_items = 0; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:849:38: note: in definition of macro 'HASH_EXPAND_BUCKETS' for (_he_bkt_i = 0; _he_bkt_i < (tbl)->num_buckets; _he_bkt_i++) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:850:18: note: in definition of macro 'HASH_EXPAND_BUCKETS' _he_thh = (tbl)->buckets[ _he_bkt_i ].hh_head; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:433:22: note: in definition of macro 'HASH_TO_BKT' bkt = ((hashv) & ((num_bkts) - 1U)); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:855:38: note: in definition of macro 'HASH_EXPAND_BUCKETS' if (++(_he_newbkt->count) > (tbl)->ideal_chain_maxlen) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:856:12: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->nonideal_items++; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:857:62: note: in definition of macro 'HASH_EXPAND_BUCKETS' if (_he_newbkt->count > _he_newbkt->expand_mult * (tbl)->ideal_chain_maxlen) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:79:34: note: in definition of macro 'uthash_free' #define uthash_free(ptr,sz) free(ptr) /* free fcn */ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:778:5: note: in expansion of macro 'HASH_EXPAND_BUCKETS' HASH_EXPAND_BUCKETS(addhh,(addhh)->tbl, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:871:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->num_buckets *= 2U; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:872:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->log2_num_buckets++; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:873:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->buckets = _he_new_buckets; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:6: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:30: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:874:55: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:875:11: note: in definition of macro 'HASH_EXPAND_BUCKETS' ((tbl)->ineff_expands+1U) : 0U; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:876:10: note: in definition of macro 'HASH_EXPAND_BUCKETS' if ((tbl)->ineff_expands > 1U) { \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1600:40: error: invalid type argument of '->' (have 'int') HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:877:8: note: in definition of macro 'HASH_EXPAND_BUCKETS' (tbl)->noexpand = 1; \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:343:3: note: in expansion of macro 'HASH_ADD_TO_BKT' HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], hh, &(add)->hh, oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:414:3: note: in expansion of macro 'HASH_ADD_TO_TABLE' HASH_ADD_TO_TABLE(hh, head, keyptr, keylen_in, hashval, add, _ha_oomed); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:262:3: note: in expansion of macro 'HASH_ADD_KEYPTR_BYHASHVALUE' HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:269:3: note: in expansion of macro 'HASH_REPLACE_BYHASHVALUE' HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \ ^ /home/pbulk/build/x11/picom/work/.buildlink/include/uthash.h:501:5: note: in expansion of macro 'HASH_REPLACE' HASH_REPLACE(hh,head,intfield,sizeof(int),add,replaced) ^ ../src/win.c:1600:2: note: in expansion of macro 'HASH_REPLACE_INT' HASH_REPLACE_INT(ps->windows, id, &new->base, replaced); ^ ../src/win.c:1608:25: warning: passing argument 1 of 'win_set_flags' makes pointer from integer without a cast [enabled by default] WIN_FLAGS_FACTOR_CHANGED); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:443:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_flags(struct managed_win *w, uint64_t flags); ^ ../src/win.c:1616:2: warning: passing argument 1 of 'win_set_properties_stale' makes pointer from integer without a cast [enabled by default] win_set_properties_stale(new, init_stale_props, ARR_SIZE(init_stale_props)); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:451:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_set_properties_stale(struct managed_win *w, const xcb_atom_t *prop, int nprops); ^ ../src/win.c:1621:30: error: invalid type argument of '->' (have 'int') cdbus_ev_win_added(ps, &new->base); ^ ../src/win.c:1624:13: error: invalid type argument of '->' (have 'int') return &new->base; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_update_leader': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/win.c:1675:2: note: in expansion of macro 'log_trace' log_trace("(%#010x): client %#010x, leader %#010x, cache %#010x", w->base.id, ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_get_leader_raw': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1691:4: note: in expansion of macro 'auto' auto wp = find_toplevel(ps, w->cache_leader); ^ ../src/win.c:1691:14: warning: initialization makes integer from pointer without a cast [enabled by default] auto wp = find_toplevel(ps, w->cache_leader); ^ ../src/win.c:1697:5: warning: passing argument 2 of 'win_get_leader_raw' makes pointer from integer without a cast [enabled by default] w->cache_leader = win_get_leader_raw(ps, wp, recursions + 1); ^ ../src/win.c:1682:21: note: expected 'struct managed_win *' but argument is of type 'int' static xcb_window_t win_get_leader_raw(session_t *ps, struct managed_win *w, int recursions) { ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_update_class': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/win.c:1737:2: note: in expansion of macro 'log_trace' log_trace("(%#010x): client = %#010x, " ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_set_focused': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1797:2: note: in expansion of macro 'auto' auto old_active_win = ps->active_win; ^ ../src/win.c:1797:24: warning: initialization makes integer from pointer without a cast [enabled by default] auto old_active_win = ps->active_win; ^ ../src/win.c:1802:3: warning: passing argument 2 of 'win_on_focus_change' makes pointer from integer without a cast [enabled by default] win_on_focus_change(ps, old_active_win); ^ ../src/win.c:1747:13: note: expected 'struct managed_win *' but argument is of type 'int' static void win_on_focus_change(session_t *ps, struct managed_win *w) { ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_update_frame_extents': ../src/log.h:30:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:36:26: note: in expansion of macro 'LOG' #define log_warn(x, ...) LOG(WARN, x, ##__VA_ARGS__) ^ ../src/win.c:1934:5: note: in expansion of macro 'log_warn' log_warn("Your window manager sets a absurd " ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_ev_stop': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:1987:2: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:1987:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:1988:8: error: invalid type argument of '->' (have 'int') if (mw->client_win) { ^ ../src/win.c:1989:41: error: invalid type argument of '->' (have 'int') xcb_change_window_attributes(ps->c, mw->client_win, XCB_CW_EVENT_MASK, ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'destroy_win_finish': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:33:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__) ^ ../src/win.c:2026:2: note: in expansion of macro 'log_trace' log_trace("Trying to finish destroying (%#010x)", w->id); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2028:2: note: in expansion of macro 'auto' auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour); ^ ../src/win.c:2028:16: warning: initialization makes integer from pointer without a cast [enabled by default] auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2032:3: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:2032:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:2034:9: error: invalid type argument of '->' (have 'int') if (mw->state != WSTATE_UNMAPPED) { ^ ../src/win.c:2040:4: warning: passing argument 2 of 'unmap_win_finish' makes pointer from integer without a cast [enabled by default] unmap_win_finish(ps, mw); ^ ../src/win.c:2000:13: note: expected 'struct managed_win *' but argument is of type 'int' static void unmap_win_finish(session_t *ps, struct managed_win *w) { ^ ../src/win.c:2044:3: warning: passing argument 1 of 'win_check_flags_all' makes pointer from integer without a cast [enabled by default] if (!win_check_flags_all(mw, WIN_FLAGS_SHADOW_NONE)) { ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:449:6: note: expected 'struct managed_win *' but argument is of type 'int' bool win_check_flags_all(struct managed_win *w, uint64_t flags); ^ In file included from ../src/common.h:31:0, from ../src/win.c:22: ../src/win.c:2045:13: error: invalid type argument of '->' (have 'int') assert(mw->shadow_image != NULL); ^ ../src/win.c:2046:4: warning: passing argument 2 of 'win_release_shadow' makes pointer from integer without a cast [enabled by default] win_release_shadow(ps->backend_data, mw); ^ ../src/win.c:306:20: note: expected 'struct managed_win *' but argument is of type 'int' static inline void win_release_shadow(backend_t *base, struct managed_win *w) { ^ ../src/win.c:2057:27: error: invalid type argument of '->' (have 'int') rc_region_unref(&next_w->reg_ignore); ^ ../src/win.c:2058:10: error: invalid type argument of '->' (have 'int') next_w->reg_ignore_valid = false; ^ ../src/win.c:2061:10: warning: comparison between pointer and integer [enabled by default] if (mw == ps->active_win) { ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c:2067:23: error: invalid type argument of '->' (have 'int') w->id, mw->name); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2066:4: note: in expansion of macro 'log_debug' log_debug("window %#010x (%s) is destroyed while being focused", ^ ../src/win.c:2071:3: warning: passing argument 2 of 'free_win_res' makes pointer from integer without a cast [enabled by default] free_win_res(ps, mw); ^ ../src/win.c:1344:6: note: expected 'struct managed_win *' but argument is of type 'int' void free_win_res(session_t *ps, struct managed_win *w) { ^ ../src/win.c:2077:11: warning: comparison between pointer and integer [enabled by default] if (mw == w2->prev_trans) { ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'restack_win': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2104:3: note: in expansion of macro 'auto' auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour); ^ ../src/win.c:2104:17: warning: initialization makes integer from pointer without a cast [enabled by default] auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour); ^ ../src/win.c:2106:10: error: invalid type argument of '->' (have 'int') next_w->reg_ignore_valid = false; ^ ../src/win.c:2107:27: error: invalid type argument of '->' (have 'int') rc_region_unref(&next_w->reg_ignore); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'restack_above': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2139:2: note: in expansion of macro 'log_debug' log_debug("Restack %#010x (%s), old_below: %#010x, new_below: %#010x", w->id, ^ ../src/win.c: In function 'restack_top': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2166:2: note: in expansion of macro 'log_debug' log_debug("Restack %#010x (%s) to top", w->id, win_get_name_if_managed(w)); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'destroy_win_start': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2179:2: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:2179:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2182:2: note: in expansion of macro 'log_debug' log_debug("Destroying %#010x \"%s\", managed = %d", w->id, ^ ../src/win.c:2183:28: error: invalid type argument of '->' (have 'int') (w->managed ? mw->name : NULL), w->managed); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2182:2: note: in expansion of macro 'log_debug' log_debug("Destroying %#010x \"%s\", managed = %d", w->id, ^ ../src/win.c:2192:23: error: invalid type argument of '->' (have 'int') if (!w->managed || mw->state == WSTATE_UNMAPPED) { ^ ../src/win.c:2206:3: warning: passing argument 1 of 'win_clear_flags' makes pointer from integer without a cast [enabled by default] win_clear_flags(mw, WIN_FLAGS_IMAGES_STALE); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:445:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_clear_flags(struct managed_win *w, uint64_t flags); ^ ../src/win.c:2212:3: warning: passing argument 1 of 'win_check_flags_any' makes pointer from integer without a cast [enabled by default] if (win_check_flags_any(mw, WIN_FLAGS_SIZE_STALE | WIN_FLAGS_POSITION_STALE)) { ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:447:6: note: expected 'struct managed_win *' but argument is of type 'int' bool win_check_flags_any(struct managed_win *w, uint64_t flags); ^ ../src/win.c:2213:4: warning: passing argument 2 of 'add_damage_from_win' makes pointer from integer without a cast [enabled by default] add_damage_from_win(ps, mw); ^ ../src/win.c:282:6: note: expected 'const struct managed_win *' but argument is of type 'int' void add_damage_from_win(session_t *ps, const struct managed_win *w) { ^ ../src/win.c:2220:27: warning: passing argument 1 of 'win_clear_flags' makes pointer from integer without a cast [enabled by default] WIN_FLAGS_FACTOR_CHANGED | WIN_FLAGS_CLIENT_STALE); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:445:6: note: expected 'struct managed_win *' but argument is of type 'int' void win_clear_flags(struct managed_win *w, uint64_t flags); ^ ../src/win.c:2223:5: error: invalid type argument of '->' (have 'int') mw->state = WSTATE_DESTROYING; ^ ../src/win.c:2224:5: error: invalid type argument of '->' (have 'int') mw->a.map_state = XCB_MAP_STATE_UNMAPPED; ^ ../src/win.c:2225:5: error: invalid type argument of '->' (have 'int') mw->in_openclose = true; ^ ../src/win.c:2238:3: warning: passing argument 2 of 'win_skip_fading' makes pointer from integer without a cast [enabled by default] return win_skip_fading(ps, mw); ^ In file included from ../src/picom.h:25:0, from ../src/win.c:27: ../src/win.h:402:15: note: expected 'struct managed_win *' but argument is of type 'int' bool must_use win_skip_fading(session_t *ps, struct managed_win *w); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'unmap_win_start': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2249:2: note: in expansion of macro 'log_debug' log_debug("Unmapping %#010x \"%s\"", w->base.id, w->name); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:50:3: note: in expansion of macro 'auto' auto _ = (expr); \ ^ ../src/win.c:2292:3: note: in expansion of macro 'CHECK' CHECK(!win_skip_fading(ps, w)); ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_skip_fading': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2329:2: note: in expansion of macro 'log_debug' log_debug("Skipping fading process of window %#010x (%s)", w->base.id, w->name); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_update_screen': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2346:3: note: in expansion of macro 'auto' auto e = pixman_region32_extents(&screens[i]); ^ ../src/win.c:2346:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto e = pixman_region32_extents(&screens[i]); ^ ../src/win.c:2347:8: error: invalid type argument of '->' (have 'int') if (e->x1 <= w->g.x && e->y1 <= w->g.y && e->x2 >= w->g.x + w->widthb && ^ ../src/win.c:2347:27: error: invalid type argument of '->' (have 'int') if (e->x1 <= w->g.x && e->y1 <= w->g.y && e->x2 >= w->g.x + w->widthb && ^ ../src/win.c:2347:46: error: invalid type argument of '->' (have 'int') if (e->x1 <= w->g.x && e->y1 <= w->g.y && e->x2 >= w->g.x + w->widthb && ^ ../src/win.c:2348:8: error: invalid type argument of '->' (have 'int') e->y2 >= w->g.y + w->heightb) { ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:18: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:25: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:32: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:40: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:47: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c:2353:55: error: invalid type argument of '->' (have 'int') i, e->x1, e->y1, e->x2 - e->x1, e->y2 - e->y1); ^ ../src/log.h:23:61: note: in definition of macro 'LOG_UNLIKELY' log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/win.c:2350:4: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s), %dx%d+%dx%d, is on screen %d " ^ ../src/win.c: In function 'map_win_start': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2372:2: note: in expansion of macro 'log_debug' log_debug("Mapping (%#010x \"%s\")", w->base.id, w->name); ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:50:3: note: in expansion of macro 'auto' auto _ = (expr); \ ^ ../src/win.c:2381:3: note: in expansion of macro 'CHECK' CHECK(!win_skip_fading(ps, w)); ^ ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:50:3: note: in expansion of macro 'auto' auto _ = (expr); \ ^ ../src/win.c:2435:3: note: in expansion of macro 'CHECK' CHECK(!win_skip_fading(ps, w)); ^ ../src/win.c: In function 'win_update_opacity_target': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2443:2: note: in expansion of macro 'auto' auto opacity_target_old = w->opacity_target; ^ ../src/win.c:2443:29: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] auto opacity_target_old = w->opacity_target; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2455:3: note: in expansion of macro 'log_debug' log_debug("Window %#010x (%s) opacity %f, opacity target %f, set " ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/utils.h:50:3: note: in expansion of macro 'auto' auto _ = (expr); \ ^ ../src/win.c:2489:3: note: in expansion of macro 'CHECK' CHECK(!win_skip_fading(ps, w)); ^ ../src/win.c: In function 'find_managed_win': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2516:2: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:2516:12: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ In file included from ../src/common.h:31:0, from ../src/win.c:22: ../src/win.c:2517:11: error: invalid type argument of '->' (have 'int') assert(mw->state != WSTATE_DESTROYING); ^ ../src/win.c:2518:2: warning: return makes pointer from integer without a cast [enabled by default] return mw; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'find_toplevel': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2538:3: note: in expansion of macro 'auto' auto mw = (struct managed_win *)w; ^ ../src/win.c:2538:13: warning: initialization makes integer from pointer without a cast [enabled by default] auto mw = (struct managed_win *)w; ^ ../src/win.c:2539:9: error: invalid type argument of '->' (have 'int') if (mw->client_win == id) { ^ ../src/win.c:2540:4: warning: return makes pointer from integer without a cast [enabled by default] return mw; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'find_managed_window_or_parent': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2567:3: note: in expansion of macro 'auto' auto reply = xcb_query_tree_reply(ps->c, xcb_query_tree(ps->c, wid), NULL); ^ ../src/win.c:2567:16: warning: initialization makes integer from pointer without a cast [enabled by default] auto reply = xcb_query_tree_reply(ps->c, xcb_query_tree(ps->c, wid), NULL); ^ ../src/win.c:2568:13: warning: comparison between pointer and integer [enabled by default] if (reply == NULL) { ^ ../src/win.c:2572:14: error: invalid type argument of '->' (have 'int') wid = reply->parent; ^ ../src/win.c:2573:3: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default] free(reply); ^ In file included from ../src/win.c:10:0: /usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int' extern void free (void *__ptr) __THROW; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/win.c: In function 'win_set_flags': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2620:2: note: in expansion of macro 'log_debug' log_debug("Set flags %" PRIu64 " to window %#010x (%s)", flags, w->base.id, w->name); ^ ../src/win.c: In function 'win_clear_flags': ../src/log.h:23:15: error: 'tls_logger' undeclared (first use in this function) log_printf(tls_logger, LOG_LEVEL_##level, __func__, x, ##__VA_ARGS__); \ ^ ../src/log.h:34:27: note: in expansion of macro 'LOG_UNLIKELY' #define log_debug(x, ...) LOG_UNLIKELY(DEBUG, x, ##__VA_ARGS__) ^ ../src/win.c:2631:2: note: in expansion of macro 'log_debug' log_debug("Clear flags %" PRIu64 " from window %#010x (%s)", flags, w->base.id, ^ ../src/win.c: In function 'win_set_properties_stale': ../src/win.c:2643:2: error: unknown type name '__auto_type' const auto bits_per_element = sizeof(*w->stale_props) * 8; ^ ../src/win.c:2648:3: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] if (props[i] >= new_capacity * bits_per_element) { ^ ../src/win.c:2649:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] new_capacity = props[i] / bits_per_element + 1; ^ ../src/win.c:2666:3: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] w->stale_props[props[i] / bits_per_element] |= ^ ../src/win.c:2667:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1UL << (props[i] % bits_per_element); ^ ../src/win.c: In function 'win_fetch_and_unset_property_stale': ../src/win.c:2678:2: error: unknown type name '__auto_type' const auto bits_per_element = sizeof(*w->stale_props) * 8; ^ ../src/win.c:2679:2: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] if (prop >= w->stale_props_capacity * bits_per_element) { ^ ../src/win.c:2683:2: error: unknown type name '__auto_type' const auto mask = 1UL << (prop % bits_per_element); ^ ../src/win.c:2683:2: warning: conversion to 'xcb_atom_t' from 'int' may change the sign of the result [-Wsign-conversion] ../src/win.c:2683:24: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] const auto mask = 1UL << (prop % bits_per_element); ^ ../src/win.c:2684:2: warning: conversion to 'xcb_atom_t' from 'int' may change the sign of the result [-Wsign-conversion] bool ret = w->stale_props[prop / bits_per_element] & mask; ^ ../src/win.c:2684:2: warning: conversion to 'uint64_t' from 'int' may change the sign of the result [-Wsign-conversion] ../src/win.c:2685:2: warning: conversion to 'xcb_atom_t' from 'int' may change the sign of the result [-Wsign-conversion] w->stale_props[prop / bits_per_element] &= ~mask; ^ ../src/win.c:2685:45: warning: conversion to 'uint64_t' from 'int' may change the sign of the result [-Wsign-conversion] w->stale_props[prop / bits_per_element] &= ~mask; ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_is_bypassing_compositor': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2719:2: note: in expansion of macro 'auto' auto prop = x_get_prop(ps->c, w->client_win, ps->atoms->a_NET_WM_BYPASS_COMPOSITOR, ^ ../src/win.c:2719:14: error: incompatible types when initializing type 'int' using type 'winprop_t' auto prop = x_get_prop(ps->c, w->client_win, ps->atoms->a_NET_WM_BYPASS_COMPOSITOR, ^ ../src/win.c:2722:10: error: request for member 'nitems' in something not a structure or union if (prop.nitems && *prop.c32 == 1) { ^ ../src/win.c:2722:26: error: request for member 'c32' in something not a structure or union if (prop.nitems && *prop.c32 == 1) { ^ ../src/win.c:2726:2: warning: passing argument 1 of 'free_winprop' from incompatible pointer type [enabled by default] free_winprop(&prop); ^ In file included from ../src/backend/backend.h:14:0, from ../src/win.c:20: ../src/x.h:247:20: note: expected 'struct winprop_t *' but argument is of type 'int *' static inline void free_winprop(winprop_t *pprop) { ^ In file included from ../src/backend/backend.h:8:0, from ../src/win.c:20: ../src/win.c: In function 'win_stack_find_next_managed': ../src/compiler.h:10:24: error: unknown type name '__auto_type' #define auto __auto_type ^ ../src/win.c:2741:3: note: in expansion of macro 'auto' auto next = list_entry(i->next, struct win, stack_neighbour); ^ In file included from ../src/common.h:58:0, from ../src/win.c:22: ../src/list.h:13:2: warning: initialization makes integer from pointer without a cast [enabled by default] ({ \ ^ ../src/list.h:22:37: note: in expansion of macro 'container_of' #define list_entry(ptr, type, node) container_of(ptr, type, node) ^ ../src/win.c:2741:15: note: in expansion of macro 'list_entry' auto next = list_entry(i->next, struct win, stack_neighbour); ^ ../src/win.c:2742:11: error: invalid type argument of '->' (have 'int') if (next->managed) { ^ ../src/win.c:2743:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (struct managed_win *)next; ^ ../src/win.c:2745:12: error: invalid type argument of '->' (have 'int') i = &next->stack_neighbour; ^ In file included from ../src/config.h:24:0, from ../src/backend/backend.h:9, from ../src/win.c:20: ../src/log.h: In function 'log_get_level_tls': ../src/log.h:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../src/win.c: In function 'fill_win': ../src/win.c:1625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/picom *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/picom