+ 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-8.2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/picom-8.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for picom-8.2
cd /home/pbulk/build/x11/picom/work/picom-8.2 && cd . && /bin/env USETOOLS=no CMAKE=false PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CC=cc CFLAGS=-pipe\ -O2\ -pipe\ -O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/pkg/include/ev\ -I/usr/pkg/include/libdrm\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/include/ev\ -I/usr/pkg/include/libdrm\ -I/usr/include CXX=c++ CXXFLAGS=-pipe\ -O2\ -pipe\ -O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/pkg/include/ev\ -I/usr/pkg/include/libdrm\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib/ev\ -Wl,-R/usr/pkg/lib/ev\ -L/usr/lib64\ -Wl,-R/usr/lib64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/x11/picom/work/.cwrapper/bin:/home/pbulk/build/x11/picom/work/.buildlink/bin:/home/pbulk/build/x11/picom/work/.gcc/bin:/home/pbulk/build/x11/picom/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/home/pbulk/build/x11/picom/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/x11/picom/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/x11/picom/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/x11/picom/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/x11/picom/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/x11/picom/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/x11/picom/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/x11/picom/work/.buildlink/lib/pkgconfig:/home/pbulk/build/x11/picom/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/x11/picom/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/x11/picom/work/.cwrapper/config ninja -j 2 -C output
ninja: Entering directory `output'
[1/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 -O0 '-DCOMPTON_VERSION="v8.2"' -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 -O2 -D_FORTIFY_SOURCE=2 -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:19:
../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:19:
../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:19:
../src/region.h: In function 'rc_region_ref':
../src/utils.h:234: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:234: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:235: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:239: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:239: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:242: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:243: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:244: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:222: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:9: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:19:
../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:19:
../src/region.h: In function 'from_x_rects':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191: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:9: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191: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:19:
../src/utils.h:189: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:19:
../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:19:
/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:19:
../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:9: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:19:
../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:290: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:19:
../src/x.h: In function 'x_new_id':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/x.h:83: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:19:
../src/x.h:83: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:84: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:19:
../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:85: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:19:
../src/x.h:90: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:19:
../src/common.h: In function 'set_ignore':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:470: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:19:
../src/utils.h:182:23: warning: initialization makes integer from pointer without a cast [enabled by default]
 #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type))))
                       ^
../src/common.h:470:11: note: in expansion of macro 'cmalloc'
  auto i = cmalloc(ignore_t);
           ^
In file included from ../src/win.c:21:0:
../src/common.h:474:3: error: invalid type argument of '->' (have 'int')
  i->sequence = sequence;
   ^
../src/common.h:475:3: error: invalid type argument of '->' (have 'int')
  i->next = 0;
   ^
../src/common.h:476:19: warning: assignment makes pointer from integer without a cast [enabled by default]
  *ps->ignore_tail = i;
                   ^
../src/common.h:477: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:19:
../src/common.h: In function 'wid_has_prop':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:496:2: note: in expansion of macro 'auto'
  auto r = xcb_get_property_reply(
  ^
In file included from ../src/win.c:21:0:
../src/common.h:496: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:502:2: note: in expansion of macro 'auto'
  auto rtype = r->type;
  ^
In file included from ../src/win.c:21:0:
../src/common.h:502:16: error: invalid type argument of '->' (have 'int')
  auto rtype = r->type;
                ^
../src/common.h:503: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:9: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:19:
../src/picom.h: In function 'make_text_prop':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190:3: note: in expansion of macro 'auto'
   auto tmp = (nmemb);                                                      \
   ^
../src/picom.h:113:25: note: in expansion of macro 'ccalloc'
  XTextProperty *pprop = ccalloc(1, XTextProperty);
                         ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191:3: note: in expansion of macro 'ASSERT_GEQ'
   ASSERT_GEQ(tmp, 0);                                                      \
   ^
../src/picom.h:113:25: note: in expansion of macro 'ccalloc'
  XTextProperty *pprop = ccalloc(1, XTextProperty);
                         ^
In file included from ../src/config.h:24:0,
                 from ../src/backend/backend.h:9,
                 from ../src/win.c:19:
../src/picom.h: In function 'wid_set_text_prop':
../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.h:131:3: note: in expansion of macro 'log_error'
   log_error("Failed to make text property: %s.", str);
   ^
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/picom.h: In function 'dump_drawable':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.h:146: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:26:0:
../src/picom.h:146: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:19:
../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:148:3: note: in expansion of macro 'log_trace'
   log_trace("Drawable %#010x: Failed", drawable);
   ^
../src/picom.h:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:26:0:
../src/picom.h:153: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:9: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:19:
../src/win.c: In function 'group_on_factor_change':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:128:3: note: in expansion of macro 'auto'
   auto mw = (struct managed_win *)w;
   ^
../src/win.c:128:13: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto mw = (struct managed_win *)w;
             ^
../src/win.c:129: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:83: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:130: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:26:
../src/win.h:295: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:19:
../src/win.c: In function 'win_get_name_if_managed':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:141:2: note: in expansion of macro 'auto'
  auto mw = (struct managed_win *)w;
  ^
../src/win.c:141:12: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto mw = (struct managed_win *)w;
            ^
../src/win.c:142: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:19:
../src/win.c: In function 'group_is_focused':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:161:3: note: in expansion of macro 'auto'
   auto mw = (struct managed_win *)w;
   ^
../src/win.c:161:13: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto mw = (struct managed_win *)w;
             ^
../src/win.c:162: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:83: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:162: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:26:
../src/win.h:423: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:19:
../src/win.c: In function 'win_get_region_frame_local':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:198:2: note: in expansion of macro 'auto'
  auto outer_width = extents.left + extents.right + w->g.width;
  ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:199:2: note: in expansion of macro 'auto'
  auto outer_height = extents.top + extents.bottom + w->g.height;
  ^
In file included from ../src/config.h:24:0,
                 from ../src/backend/backend.h:9,
                 from ../src/win.c:19:
../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:242: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:252: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:19:
../src/win.c: In function 'win_bind_pixmap':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:264:2: note: in expansion of macro 'auto'
  auto pixmap = x_new_id(b->c);
  ^
../src/win.c:264: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:265:2: note: in expansion of macro 'auto'
  auto e = xcb_request_check(
  ^
../src/win.c:266: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:265: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:19:
../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:268: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:270: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:9: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:275: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:19:
../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:293:3: note: in expansion of macro 'log_error'
   log_error("Failed to bind shadow image, shadow will be disabled for "
   ^
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/win.c: In function 'win_has_rounded_corners':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:400:2: note: in expansion of macro 'auto'
  auto minwidth =
  ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:402: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:19:
../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:33:27: note: in expansion of macro 'LOG_UNLIKELY'
 #define log_trace(x, ...) LOG_UNLIKELY(TRACE, x, ##__VA_ARGS__)
                           ^
../src/win.c:430:3: note: in expansion of macro 'log_trace'
   log_trace("(%#010x): _NET_WM_NAME unset, falling back to WM_NAME.",
   ^
../src/win.c: In function 'win_get_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:477: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:695: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:756: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_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:911: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:19:
../src/win.c: In function 'win_mark_client':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:994:2: note: in expansion of macro 'auto'
  auto e = xcb_request_check(
  ^
../src/win.c:994: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:19:
../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:999:3: note: in expansion of macro 'log_error'
   log_error("Failed to change event mask of window %#010x", client);
   ^
../src/win.c:1000: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:9: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1020:2: note: in expansion of macro 'auto'
  auto r = xcb_get_window_attributes_reply(
  ^
../src/win.c:1021: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:11:
/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:1020:11: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto r = xcb_get_window_attributes_reply(
           ^
../src/win.c:1023: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:19:
../src/x.h:209: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:1027:56: error: invalid type argument of '->' (have 'int')
  w->client_pictfmt = x_get_pictform_for_visual(ps->c, r->visual);
                                                        ^
../src/win.c:1028: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:9: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:19:
../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:1039: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:1095: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:1141: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1146: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:19:
../src/utils.h:182:23: warning: initialization makes integer from pointer without a cast [enabled by default]
 #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type))))
                       ^
../src/win.c:1146:15: note: in expansion of macro 'cmalloc'
  auto new_w = cmalloc(struct win);
               ^
../src/win.c:1147:32: error: invalid type argument of '->' (have 'int')
  list_insert_after(prev, &new_w->stack_neighbour);
                                ^
../src/win.c:1148:7: error: invalid type argument of '->' (have 'int')
  new_w->id = id;
       ^
../src/win.c:1149:7: error: invalid type argument of '->' (have 'int')
  new_w->managed = false;
       ^
../src/win.c:1150:7: error: invalid type argument of '->' (have 'int')
  new_w->is_new = true;
       ^
../src/win.c:1151: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:21:
/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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153: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:1153:2: note: in expansion of macro 'HASH_ADD_INT'
  HASH_ADD_INT(ps->windows, id, new_w);
  ^
../src/win.c:1155: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:19:
../src/win.c: In function 'fill_win':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1275:2: note: in expansion of macro 'auto'
  auto duplicated_win = find_managed_win(ps, w->id);
  ^
../src/win.c:1275: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:19:
../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:1277:3: note: in expansion of macro 'log_debug'
   log_debug("Window %#010x (recorded name: %s) added multiple times", w->id,
   ^
../src/win.c:1278: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:1277:3: note: in expansion of macro 'log_debug'
   log_debug("Window %#010x (recorded name: %s) added multiple times", w->id,
   ^
../src/win.c:1279: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1304: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:19:
../src/utils.h:182:23: warning: initialization makes integer from pointer without a cast [enabled by default]
 #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type))))
                       ^
../src/win.c:1304: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1305:2: note: in expansion of macro 'auto'
  auto new = (struct managed_win *)new_internal;
  ^
../src/win.c:1305:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  auto new = (struct managed_win *)new_internal;
             ^
../src/win.c:1305:13: warning: initialization makes integer from pointer without a cast [enabled by default]
../src/win.c:1310:2: error: invalid type argument of unary '*' (have 'int')
  *new = win_def;
  ^
../src/win.c:1311:5: error: invalid type argument of '->' (have 'int')
  new->base = *w;
     ^
../src/win.c:1312:5: error: invalid type argument of '->' (have 'int')
  new->base.managed = true;
     ^
../src/win.c:1313:5: error: invalid type argument of '->' (have 'int')
  new->a = *a;
     ^
../src/win.c:1314:27: error: invalid type argument of '->' (have 'int')
  pixman_region32_init(&new->bounding_shape);
                           ^
../src/win.c:1319:5: error: invalid type argument of '->' (have 'int')
  new->damage = x_new_id(ps->c);
     ^
../src/win.c:1321:49: error: invalid type argument of '->' (have 'int')
      ps->c, xcb_damage_create_checked(ps->c, new->damage, w->id,
                                                 ^
../src/win.c:1325: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:9: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:1329:5: error: invalid type argument of '->' (have 'int')
  new->pictfmt = x_get_pictform_for_visual(ps->c, new->a.visual);
     ^
../src/win.c:1329:53: error: invalid type argument of '->' (have 'int')
  new->pictfmt = x_get_pictform_for_visual(ps->c, new->a.visual);
                                                     ^
../src/win.c:1330:5: error: invalid type argument of '->' (have 'int')
  new->client_pictfmt = NULL;
     ^
../src/win.c:1332: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:21:
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1334: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:1334:2: note: in expansion of macro 'HASH_REPLACE_INT'
  HASH_REPLACE_INT(ps->windows, id, &new->base, replaced);
  ^
../src/win.c:1341:30: error: invalid type argument of '->' (have 'int')
   cdbus_ev_win_added(ps, &new->base);
                              ^
../src/win.c:1344: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:19:
../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:1391: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:19:
../src/win.c: In function 'win_get_leader_raw':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1407:4: note: in expansion of macro 'auto'
    auto wp = find_toplevel(ps, w->cache_leader);
    ^
../src/win.c:1407:14: warning: initialization makes integer from pointer without a cast [enabled by default]
    auto wp = find_toplevel(ps, w->cache_leader);
              ^
../src/win.c:1413: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:1398: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:19:
../src/win.c: In function 'win_get_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:1451: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:19:
../src/win.c: In function 'win_set_focused':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1510:2: note: in expansion of macro 'auto'
  auto old_active_win = ps->active_win;
  ^
../src/win.c:1510:24: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto old_active_win = ps->active_win;
                        ^
../src/win.c:1515: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:1461: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/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/win.c: In function 'win_update_frame_extents':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:83:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, INT_MIN, INT_MAX);                                  \
   ^
../src/win.c:1641:7: note: in expansion of macro 'to_int_checked'
       to_int_checked(prop.c32[0]),
       ^
../src/win.c:1641:7: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion]
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:83:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, INT_MIN, INT_MAX);                                  \
   ^
../src/win.c:1642:7: note: in expansion of macro 'to_int_checked'
       to_int_checked(prop.c32[1]),
       ^
../src/win.c:1642:7: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion]
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:83:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, INT_MIN, INT_MAX);                                  \
   ^
../src/win.c:1643:7: note: in expansion of macro 'to_int_checked'
       to_int_checked(prop.c32[2]),
       ^
../src/win.c:1643:7: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion]
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:83:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, INT_MIN, INT_MAX);                                  \
   ^
../src/win.c:1644:7: note: in expansion of macro 'to_int_checked'
       to_int_checked(prop.c32[3]),
       ^
../src/win.c:1644:7: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion]
In file included from ../src/config.h:24:0,
                 from ../src/backend/backend.h:9,
                 from ../src/win.c:19:
../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:1661:2: note: in expansion of macro 'log_trace'
  log_trace("(%#010x): %d, %d, %d, %d", w->base.id, w->frame_extents.left,
  ^
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/win.c: In function 'win_ev_stop':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1687:2: note: in expansion of macro 'auto'
  auto mw = (struct managed_win *)w;
  ^
../src/win.c:1687:12: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto mw = (struct managed_win *)w;
            ^
../src/win.c:1688:8: error: invalid type argument of '->' (have 'int')
  if (mw->client_win) {
        ^
../src/win.c:1689: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:19:
../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:1723: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1725:2: note: in expansion of macro 'auto'
  auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour);
  ^
../src/win.c:1725: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1729:3: note: in expansion of macro 'auto'
   auto mw = (struct managed_win *)w;
   ^
../src/win.c:1729:13: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto mw = (struct managed_win *)w;
             ^
../src/win.c:1731:9: error: invalid type argument of '->' (have 'int')
   if (mw->state != WSTATE_UNMAPPED) {
         ^
../src/win.c:1737: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:1700: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:1748:27: error: invalid type argument of '->' (have 'int')
    rc_region_unref(&next_w->reg_ignore);
                           ^
../src/win.c:1749:10: error: invalid type argument of '->' (have 'int')
    next_w->reg_ignore_valid = false;
          ^
../src/win.c:1752: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:19:
../src/win.c:1758: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:1757:4: note: in expansion of macro 'log_debug'
    log_debug("window %#010x (%s) is destroyed while being focused",
    ^
../src/win.c:1762: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:1117: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:1768: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:19:
../src/win.c: In function 'restack_win':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1795:3: note: in expansion of macro 'auto'
   auto next_w = win_stack_find_next_managed(ps, &w->stack_neighbour);
   ^
../src/win.c:1795: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:1797:10: error: invalid type argument of '->' (have 'int')
    next_w->reg_ignore_valid = false;
          ^
../src/win.c:1798: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:19:
../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:1830: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:1857: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:19:
../src/win.c: In function 'destroy_win_start':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:1870:2: note: in expansion of macro 'auto'
  auto mw = (struct managed_win *)w;
  ^
../src/win.c:1870: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:19:
../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:1873:2: note: in expansion of macro 'log_debug'
  log_debug("Destroying %#010x \"%s\", managed = %d", w->id,
  ^
../src/win.c:1874: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:1873:2: note: in expansion of macro 'log_debug'
  log_debug("Destroying %#010x \"%s\", managed = %d", w->id,
  ^
../src/win.c:1883:23: error: invalid type argument of '->' (have 'int')
  if (!w->managed || mw->state == WSTATE_UNMAPPED) {
                       ^
../src/win.c:1893: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:26:
../src/win.h:440: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:1896:5: error: invalid type argument of '->' (have 'int')
   mw->state = WSTATE_DESTROYING;
     ^
../src/win.c:1897:5: error: invalid type argument of '->' (have 'int')
   mw->a.map_state = XCB_MAP_STATE_UNMAPPED;
     ^
../src/win.c:1898:5: error: invalid type argument of '->' (have 'int')
   mw->in_openclose = true;
     ^
../src/win.c:1911: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:26:
../src/win.h:397: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:19:
../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:1922: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:47:3: note: in expansion of macro 'auto'
   auto _ = (expr);                                                         \
   ^
../src/win.c:1965: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:19:
../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:2002: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:19:
../src/win.c: In function 'win_update_screen':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2019:3: note: in expansion of macro 'auto'
   auto e = pixman_region32_extents(&ps->xinerama_scr_regs[i]);
   ^
../src/win.c:2019:12: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto e = pixman_region32_extents(&ps->xinerama_scr_regs[i]);
            ^
../src/win.c:2020: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:2020: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:2020: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:2021: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:19:
../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:2039: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:47:3: note: in expansion of macro 'auto'
   auto _ = (expr);                                                         \
   ^
../src/win.c:2048:3: note: in expansion of macro 'CHECK'
   CHECK(!win_skip_fading(ps, w));
   ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:47:3: note: in expansion of macro 'auto'
   auto _ = (expr);                                                         \
   ^
../src/win.c:2164: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2172:2: note: in expansion of macro 'auto'
  auto opacity_target_old = w->opacity_target;
  ^
../src/win.c:2172: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:19:
../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:2184: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:19:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:47:3: note: in expansion of macro 'auto'
   auto _ = (expr);                                                         \
   ^
../src/win.c:2218:3: note: in expansion of macro 'CHECK'
   CHECK(!win_skip_fading(ps, w));
   ^
../src/win.c: In function 'find_managed_win':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2245:2: note: in expansion of macro 'auto'
  auto mw = (struct managed_win *)w;
  ^
../src/win.c:2245: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:21:
../src/win.c:2246:11: error: invalid type argument of '->' (have 'int')
  assert(mw->state != WSTATE_DESTROYING);
           ^
../src/win.c:2247: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:19:
../src/win.c: In function 'find_toplevel':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2267:3: note: in expansion of macro 'auto'
   auto mw = (struct managed_win *)w;
   ^
../src/win.c:2267:13: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto mw = (struct managed_win *)w;
             ^
../src/win.c:2268:9: error: invalid type argument of '->' (have 'int')
   if (mw->client_win == id) {
         ^
../src/win.c:2269: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:19:
../src/win.c: In function 'find_managed_window_or_parent':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2295: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:2295: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:2296:13: warning: comparison between pointer and integer [enabled by default]
   if (reply == NULL) {
             ^
../src/win.c:2300:14: error: invalid type argument of '->' (have 'int')
   wid = reply->parent;
              ^
../src/win.c:2301: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:9: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:19:
../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:2346:2: note: in expansion of macro 'log_debug'
  log_debug("Set flags %lu 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:2357:2: note: in expansion of macro 'log_debug'
  log_debug("Clear flags %lu from window %#010x (%s)", flags, w->base.id, w->name);
  ^
In file included from ../src/backend/backend.h:8:0,
                 from ../src/win.c:19:
../src/win.c: In function 'win_is_bypassing_compositor':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2395:2: note: in expansion of macro 'auto'
  auto prop = x_get_prop(ps, w->client_win, ps->atoms->a_NET_WM_BYPASS_COMPOSITOR,
  ^
../src/win.c:2395:14: error: incompatible types when initializing type 'int' using type 'winprop_t'
  auto prop = x_get_prop(ps, w->client_win, ps->atoms->a_NET_WM_BYPASS_COMPOSITOR,
              ^
../src/win.c:2398:10: error: request for member 'nitems' in something not a structure or union
  if (prop.nitems && *prop.c32 == 1) {
          ^
../src/win.c:2398:26: error: request for member 'c32' in something not a structure or union
  if (prop.nitems && *prop.c32 == 1) {
                          ^
../src/win.c:2402: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:19:
../src/x.h:221: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:19:
../src/win.c: In function 'win_stack_find_next_managed':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/win.c:2417: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:21:
../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:2417:15: note: in expansion of macro 'list_entry'
   auto next = list_entry(i->next, struct win, stack_neighbour);
               ^
../src/win.c:2418:11: error: invalid type argument of '->' (have 'int')
   if (next->managed) {
           ^
../src/win.c:2419:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    return (struct managed_win *)next;
           ^
../src/win.c:2421: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:19:
../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:1345:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[2/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 -O0 '-DCOMPTON_VERSION="v8.2"' -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 -O2 -D_FORTIFY_SOURCE=2 -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:33:
../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:33:
../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:33:
../src/region.h: In function 'rc_region_ref':
../src/utils.h:234: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:234: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:235: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:239: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:239: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:242: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:243: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:244: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:222: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:33:
/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:33:
../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:33:
../src/region.h: In function 'from_x_rects':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191: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:9: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190: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:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191: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:33:
../src/utils.h:189: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:33:
../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:33:
/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:33:
../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:33:
/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:33:
../src/x.h: In function 'x_new_id':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/x.h:83: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:33:
../src/x.h:83: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:84: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:33:
../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:85: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:33:
../src/x.h:90: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:33:
../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:290: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:33:
../src/common.h: In function 'set_ignore':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:470: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:33:
../src/utils.h:182:23: warning: initialization makes integer from pointer without a cast [enabled by default]
 #define cmalloc(type) ((type *)allocchk(malloc(sizeof(type))))
                       ^
../src/common.h:470:11: note: in expansion of macro 'cmalloc'
  auto i = cmalloc(ignore_t);
           ^
In file included from ../src/picom.c:33:0:
../src/common.h:474:3: error: invalid type argument of '->' (have 'int')
  i->sequence = sequence;
   ^
../src/common.h:475:3: error: invalid type argument of '->' (have 'int')
  i->next = 0;
   ^
../src/common.h:476:19: warning: assignment makes pointer from integer without a cast [enabled by default]
  *ps->ignore_tail = i;
                   ^
../src/common.h:477: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:33:
../src/common.h: In function 'wid_has_prop':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:496:2: note: in expansion of macro 'auto'
  auto r = xcb_get_property_reply(
  ^
In file included from ../src/picom.c:33:0:
../src/common.h:496: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/common.h:502:2: note: in expansion of macro 'auto'
  auto rtype = r->type;
  ^
In file included from ../src/picom.c:33:0:
../src/common.h:502:16: error: invalid type argument of '->' (have 'int')
  auto rtype = r->type;
                ^
../src/common.h:503: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:33:
/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:33:
../src/picom.h: In function 'make_text_prop':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190:3: note: in expansion of macro 'auto'
   auto tmp = (nmemb);                                                      \
   ^
../src/picom.h:113:25: note: in expansion of macro 'ccalloc'
  XTextProperty *pprop = ccalloc(1, XTextProperty);
                         ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191:3: note: in expansion of macro 'ASSERT_GEQ'
   ASSERT_GEQ(tmp, 0);                                                      \
   ^
../src/picom.h:113:25: note: in expansion of macro 'ccalloc'
  XTextProperty *pprop = ccalloc(1, XTextProperty);
                         ^
In file included from ../src/backend/gl/glx.h:18:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../src/picom.h: In function 'wid_set_text_prop':
../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.h:131:3: note: in expansion of macro 'log_error'
   log_error("Failed to make text property: %s.", str);
   ^
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:33:
../src/picom.h: In function 'dump_drawable':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.h:146: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:38:0:
../src/picom.h:146: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:33:
../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:148:3: note: in expansion of macro 'log_trace'
   log_trace("Drawable %#010x: Failed", drawable);
   ^
../src/picom.h:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:152: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:151: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:38:0:
../src/picom.h:153: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:33:
/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:33:
../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: %lu", 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:33:
../src/picom.c: In function 'cxinerama_upd_scrs':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:151:2: note: in expansion of macro 'auto'
  auto xinerama_scrs =
  ^
../src/picom.c:152: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:158: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:28: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:159: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:28: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190:3: note: in expansion of macro 'auto'
   auto tmp = (nmemb);                                                      \
   ^
../src/picom.c:161:26: note: in expansion of macro 'ccalloc'
  ps->xinerama_scr_regs = ccalloc(ps->xinerama_nscrs, region_t);
                          ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191:3: note: in expansion of macro 'ASSERT_GEQ'
   ASSERT_GEQ(tmp, 0);                                                      \
   ^
../src/picom.c:161:26: note: in expansion of macro 'ccalloc'
  ps->xinerama_scr_regs = ccalloc(ps->xinerama_nscrs, region_t);
                          ^
../src/picom.c:167: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:33:
/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:33:
../src/picom.c: In function 'find_win_all':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:179:2: note: in expansion of macro 'auto'
  auto w = find_managed_win(ps, wid);
  ^
../src/picom.c:179:11: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto w = find_managed_win(ps, wid);
           ^
../src/picom.c:181:5: warning: assignment makes integer from pointer without a cast [enabled by default]
   w = find_toplevel(ps, wid);
     ^
../src/picom.c:183:5: warning: assignment makes integer from pointer without a cast [enabled by default]
   w = find_managed_window_or_parent(ps, wid);
     ^
../src/picom.c:184:2: warning: return makes pointer from integer without a cast [enabled by default]
  return 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:33:
../src/picom.c: In function 'fade_timeout':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:222:2: note: in expansion of macro 'auto'
  auto now = get_time_ms();
  ^
../src/picom.c:222: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:226:2: note: in expansion of macro 'auto'
  auto diff = ps->o.fade_delta + ps->fade_time - now;
  ^
../src/picom.c:226:47: warning: conversion to 'int' from '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:33:
../src/picom.c: In function 'run_fade':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:240:2: note: in expansion of macro 'auto'
  auto w = *_w;
  ^
../src/picom.c:240:11: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto w = *_w;
           ^
../src/picom.c:241:7: error: invalid type argument of '->' (have 'int')
  if (w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED) {
       ^
../src/picom.c:241: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:33:
../src/picom.c:243:11: error: invalid type argument of '->' (have 'int')
   assert(w->opacity_target == w->opacity);
           ^
../src/picom.c:243:32: error: invalid type argument of '->' (have 'int')
   assert(w->opacity_target == w->opacity);
                                ^
../src/picom.c:247: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:38:
../src/win.h:291: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:33:
../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:248: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:248: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:248: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:248: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:248: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:249:4: error: invalid type argument of '->' (have 'int')
   w->opacity = w->opacity_target;
    ^
../src/picom.c:249:17: error: invalid type argument of '->' (have 'int')
   w->opacity = w->opacity_target;
                 ^
../src/picom.c:251:7: error: invalid type argument of '->' (have 'int')
  if (w->opacity == w->opacity_target) {
       ^
../src/picom.c:251: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:33:
../src/picom.c:255: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:255:3: note: in expansion of macro 'log_debug'
   log_debug("Fading finished for window %#010x %s", w->base.id, w->name);
   ^
../src/picom.c:255: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:255: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:8: error: invalid type argument of '->' (have 'int')
   if (w->opacity < w->opacity_target) {
        ^
../src/picom.c:260:21: error: invalid type argument of '->' (have 'int')
   if (w->opacity < w->opacity_target) {
                     ^
../src/picom.c:261: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:33:
../src/picom.c:261:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                        ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:262:29: error: invalid type argument of '->' (have 'int')
                       0.0, w->opacity_target);
                             ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:262:29: error: invalid type argument of '->' (have 'int')
                       0.0, w->opacity_target);
                             ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:261:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                        ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:261:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                        ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:262:29: error: invalid type argument of '->' (have 'int')
                       0.0, w->opacity_target);
                             ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:262:29: error: invalid type argument of '->' (have 'int')
                       0.0, w->opacity_target);
                             ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:261:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                        ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:261:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity + ps->o.fade_in_step * (double)steps,
                 ^
../src/picom.c:264: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:33:
../src/picom.c:264:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                        ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
../src/picom.c:264:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                        ^
../src/utils.h:133:22: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                      ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
../src/picom.c:265:24: error: invalid type argument of '->' (have 'int')
                       w->opacity_target, 1);
                        ^
../src/utils.h:133:28: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                            ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
../src/picom.c:264:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                        ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
../src/picom.c:264:24: error: invalid type argument of '->' (have 'int')
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                        ^
../src/utils.h:133:34: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                  ^
../src/utils.h:136:35: note: in expansion of macro 'min2'
 #define clamp(val, min, max) max2(min2(val, max), min)
                                   ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
../src/picom.c:265:24: error: invalid type argument of '->' (have 'int')
                       w->opacity_target, 1);
                        ^
../src/utils.h:133:40: note: in definition of macro 'max2'
 #define max2(a, b) ((a) > (b) ? (a) : (b))
                                        ^
../src/picom.c:264:17: note: in expansion of macro 'clamp'
    w->opacity = clamp(w->opacity - ps->o.fade_out_step * (double)steps,
                 ^
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:33:
../src/picom.c: In function 'update_ewmh_active_win':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:332:2: note: in expansion of macro 'auto'
  auto w = find_win_all(ps, wid);
  ^
../src/picom.c:332:11: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto w = find_win_all(ps, wid);
           ^
../src/picom.c:336: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:38:
../src/win.h:290: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:33:
../src/picom.c: In function 'recheck_focus':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:365:2: note: in expansion of macro 'auto'
  auto w = find_win_all(ps, wid);
  ^
../src/picom.c:365: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:33:
../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:367:2: note: in expansion of macro 'log_trace'
  log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid,
  ^
../src/picom.c:368: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:367:2: note: in expansion of macro 'log_trace'
  log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid,
  ^
../src/picom.c:368: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:367:2: note: in expansion of macro 'log_trace'
  log_trace("%#010" PRIx32 " (%#010lx \"%s\") focused.", wid,
  ^
../src/picom.c:372: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:38:
../src/win.h:290: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:33:
../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:467: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:488:4: note: in expansion of macro 'auto'
    auto w = (struct managed_win *)_w;
    ^
../src/picom.c:488: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:33:
../src/picom.c:489:12: error: invalid type argument of '->' (have 'int')
    assert(w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED);
            ^
../src/picom.c:489:41: error: invalid type argument of '->' (have 'int')
    assert(w->state == WSTATE_MAPPED || w->state == WSTATE_UNMAPPED);
                                         ^
../src/picom.c:490:9: error: invalid type argument of '->' (have 'int')
    if (w->state == WSTATE_MAPPED) {
         ^
In file included from ../src/backend/gl/glx.h:18:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../src/picom.c:494:16: 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:492:5: note: in expansion of macro 'log_debug'
     log_debug("Marking window %#010x (%s) for update after "
     ^
../src/picom.c:494:28: 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:492:5: note: in expansion of macro 'log_debug'
     log_debug("Marking window %#010x (%s) for update after "
     ^
../src/picom.c:495:10: error: invalid type argument of '->' (have 'int')
     if (w->shadow) {
          ^
../src/picom.c:503:22: warning: passing argument 2 of 'win_bind_shadow' makes pointer from integer without a cast [enabled by default]
                      ps->gaussian_map);
                      ^
In file included from ../src/picom.h:25:0,
                 from ../src/picom.c:38:
../src/win.h:262:6: note: expected 'struct managed_win *' but argument is of type 'int'
 bool win_bind_shadow(struct backend_base *b, struct managed_win *w, struct color c,
      ^
../src/picom.c:506:6: error: invalid type argument of '->' (have 'int')
     w->flags |= WIN_FLAGS_PIXMAP_STALE;
      ^
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:33:
../src/picom.c: In function 'configure_root':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:518: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:33:
../src/x.h:67:3: error: unknown type name '__auto_type'
   __auto_type __r = func##_reply(c, func(c, __VA_ARGS__), &__e);           \
   ^
../src/picom.c:518:11: note: in expansion of macro 'XCB_AWAIT'
  auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root);
           ^
../src/picom.c:518: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:67:21: note: in definition of macro 'XCB_AWAIT'
   __auto_type __r = func##_reply(c, func(c, __VA_ARGS__), &__e);           \
                     ^
../src/picom.c:518:21: warning: (near initialization for 'r') [enabled by default]
  auto r = XCB_AWAIT(xcb_get_geometry, ps->c, ps->root);
                     ^
../src/x.h:67: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:33:
../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:520:3: note: in expansion of macro 'log_fatal'
   log_fatal("Failed to fetch root geometry");
   ^
../src/picom.c:524: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:524:2: note: in expansion of macro 'log_info'
  log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height);
  ^
../src/picom.c:524: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:524:2: note: in expansion of macro 'log_info'
  log_info("Root configuration changed, new geometry: %dx%d", r->width, r->height);
  ^
../src/picom.c:544:20: error: invalid type argument of '->' (have 'int')
  ps->root_width = r->width;
                    ^
../src/picom.c:545: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:551:2: note: in expansion of macro 'auto'
  auto top_w = win_stack_find_next_managed(ps, &ps->window_stack);
  ^
../src/picom.c:551: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:553:25: error: invalid type argument of '->' (have 'int')
   rc_region_unref(&top_w->reg_ignore);
                         ^
../src/picom.c:554:8: error: invalid type argument of '->' (have 'int')
   top_w->reg_ignore_valid = false;
        ^
In file included from ../src/backend/gl/glx.h:18:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../src/picom.c: In function 'handle_root_flags':
../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:602:5: note: in expansion of macro 'log_warn'
     log_warn("Refresh rate detection failed. swopti will be "
     ^
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:33:
../src/picom.c: In function 'paint_preprocess':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:623:2: note: in expansion of macro 'auto'
  auto now = get_time_ms();
  ^
../src/picom.c:623:24: warning: conversion to 'int' from 'int64_t' may alter its value [-Wconversion]
  auto now = get_time_ms();
                        ^
../src/picom.c:825:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    } else if (!ev_is_active(&ps->unredir_timer)) {
    ^
../src/picom.c:826: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:33:
../src/picom.c: In function 'root_damaged':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:857:3: note: in expansion of macro 'auto'
   auto pixmap = x_get_root_back_pixmap(ps);
   ^
../src/picom.c:857: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);
                                       ^
../src/picom.c:860: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);
        ^
../src/picom.c: In function 'xerror':
../src/picom.c:874: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:33:
../src/picom.c: In function 'register_cm':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:923:2: note: in expansion of macro 'auto'
  auto e = xcb_request_check(
  ^
../src/picom.c:923: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:33:
../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:928:3: note: in expansion of macro 'log_fatal'
   log_fatal("Failed to create window.");
   ^
../src/picom.c:929: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:33:
/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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:946:3: note: in expansion of macro 'auto'
   auto pid = getpid();
   ^
In file included from ../src/backend/gl/glx.h:18:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../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:994:3: note: in expansion of macro 'log_error'
   log_error("Failed to write PID to \"%s\".", ps->o.write_pid_path);
   ^
../src/picom.c: In function 'swopti_init':
../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:1028:2: note: in expansion of macro 'log_warn'
  log_warn("--sw-opti is going to be deprecated. If you get real benefits from "
  ^
In file included from ../src/backend/gl/glx.h:21:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../src/picom.c: In function 'init_overlay':
../src/x.h:54:3: error: unknown type name '__auto_type'
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
   ^
../src/picom.c:1091: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:54: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:1091: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:56:21: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                     ^
../src/picom.c:1091: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:56:36: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                    ^
../src/picom.c:1091: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:56:53: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                                     ^
../src/picom.c:1091: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:57:21: error: invalid type argument of '->' (have 'int')
                  __e->error_code);                                  \
                     ^
../src/picom.c:1091: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:1091: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:33:
/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:33:
../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:1093: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:33:
../src/x.h:54:3: error: unknown type name '__auto_type'
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
   ^
../src/picom.c:1097: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:54: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:1097: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:56:21: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                     ^
../src/picom.c:1097: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:56:36: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                    ^
../src/picom.c:1097: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:56:53: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                                     ^
../src/picom.c:1097: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:57:21: error: invalid type argument of '->' (have 'int')
                  __e->error_code);                                  \
                     ^
../src/picom.c:1097: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:1097: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:33:
/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:33:
../src/x.h:54:3: error: unknown type name '__auto_type'
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
   ^
../src/picom.c:1113:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/x.h:54: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:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/x.h:56:21: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                     ^
../src/picom.c:1113:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/x.h:56:36: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                    ^
../src/picom.c:1113:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/x.h:56:53: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                                     ^
../src/picom.c:1113:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/x.h:57:21: error: invalid type argument of '->' (have 'int')
                  __e->error_code);                                  \
                     ^
../src/picom.c:1113:3: note: in expansion of macro 'XCB_AWAIT_VOID'
   XCB_AWAIT_VOID(xcb_unmap_window, ps->c, ps->overlay);
   ^
../src/picom.c:1113: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:33:
/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:33:
../src/picom.c: In function 'init_debug_window':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1127:2: note: in expansion of macro 'auto'
  auto err = xcb_request_check(
  ^
../src/picom.c:1127: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:96:3: note: in expansion of macro 'auto'
   auto tmp = (val);                                                        \
   ^
../src/picom.c:1136:55: note: in expansion of macro 'to_u16_checked'
                                       ps->root, 0, 0, to_u16_checked(ps->root_width),
                                                       ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:97:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, 0, UINT16_MAX);                                     \
   ^
../src/picom.c:1136:55: note: in expansion of macro 'to_u16_checked'
                                       ps->root, 0, 0, to_u16_checked(ps->root_width),
                                                       ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:96:3: note: in expansion of macro 'auto'
   auto tmp = (val);                                                        \
   ^
../src/picom.c:1137:39: note: in expansion of macro 'to_u16_checked'
                                       to_u16_checked(ps->root_height), 0,
                                       ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:57:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:97:3: note: in expansion of macro 'ASSERT_IN_RANGE'
   ASSERT_IN_RANGE(tmp, 0, UINT16_MAX);                                     \
   ^
../src/picom.c:1137:39: note: in expansion of macro 'to_u16_checked'
                                       to_u16_checked(ps->root_height), 0,
                                       ^
../src/picom.c:1134:6: warning: assignment makes integer from pointer without a cast [enabled by default]
  err = xcb_request_check(
      ^
../src/picom.c:1144: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:1151: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:33:
/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:33:
../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:1184: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:33:
../src/x.h:54:3: error: unknown type name '__auto_type'
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
   ^
../src/picom.c:1192: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:54: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:1192: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:54:21: warning: (near initialization for 'success') [enabled by default]
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
                     ^
../src/picom.c:1192: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:56:21: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                     ^
../src/picom.c:1192: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:56:36: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                    ^
../src/picom.c:1192: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:56:53: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                                     ^
../src/picom.c:1192: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:57:21: error: invalid type argument of '->' (have 'int')
                  __e->error_code);                                  \
                     ^
../src/picom.c:1192: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:1192: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:33:
/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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:190:3: note: in expansion of macro 'auto'
   auto tmp = (nmemb);                                                      \
   ^
../src/picom.c:1212:20: note: in expansion of macro 'ccalloc'
  ps->damage_ring = ccalloc(ps->ndamage, region_t);
                    ^
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/utils.h:69:3: note: in expansion of macro 'auto'
   auto __tmp attr_unused = (var);                                          \
   ^
../src/utils.h:191:3: note: in expansion of macro 'ASSERT_GEQ'
   ASSERT_GEQ(tmp, 0);                                                      \
   ^
../src/picom.c:1212: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:33:
../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:1241: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:1282:3: note: in expansion of macro 'log_fatal'
   log_fatal("X11 server connection broke (error %d)", err);
   ^
In file included from ../src/picom.c:30: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:1266: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:1266: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:33:
../src/picom.c: In function 'handle_new_windows':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1290:4: note: in expansion of macro 'auto'
    auto new_w = fill_win(ps, w);
    ^
../src/picom.c:1290:17: warning: initialization makes integer from pointer without a cast [enabled by default]
    auto new_w = fill_win(ps, w);
                 ^
../src/picom.c:1291: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1294:4: note: in expansion of macro 'auto'
    auto mw = (struct managed_win *)new_w;
    ^
../src/picom.c:1294:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    auto mw = (struct managed_win *)new_w;
              ^
../src/picom.c:1294:14: warning: initialization makes integer from pointer without a cast [enabled by default]
../src/picom.c:1295:10: error: invalid type argument of '->' (have 'int')
    if (mw->a.map_state == XCB_MAP_STATE_VIEWABLE) {
          ^
../src/picom.c:1299:5: warning: passing argument 2 of 'map_win_start' makes pointer from integer without a cast [enabled by default]
     map_win_start(ps, mw);
     ^
In file included from ../src/picom.h:25:0,
                 from ../src/picom.c:38:
../src/win.h:271:6: note: expected 'struct managed_win *' but argument is of type 'int'
 void map_win_start(struct session *, struct managed_win *);
      ^
../src/picom.c:1304:7: error: invalid type argument of '->' (have 'int')
     mw->ever_damaged = true;
       ^
../src/picom.c:1305:5: 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);
     ^
In file included from ../src/picom.h:25:0,
                 from ../src/picom.c:38:
../src/win.h:354: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/picom.c:30: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:1326: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:1326: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:30: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:1332: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:1332: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:33:
../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:1339: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1340:3: note: in expansion of macro 'auto'
   auto e = xcb_request_check(ps->c, xcb_grab_server_checked(ps->c));
   ^
../src/picom.c:1340: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:1342: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:33:
../src/x.h:209: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1364:4: note: in expansion of macro 'auto'
    auto r = xcb_get_input_focus_reply(
    ^
../src/picom.c:1364:13: warning: initialization makes integer from pointer without a cast [enabled by default]
    auto r = xcb_get_input_focus_reply(
             ^
../src/picom.c:1366:34: error: invalid type argument of '->' (have 'int')
    if (!ps->active_win || (r && r->focus != ps->active_win->base.id)) {
                                  ^
../src/picom.c:1369: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:33:
/usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int'
 extern void free (void *__ptr) __THROW;
             ^
../src/picom.c:1375: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:1377: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:33:
../src/x.h:209: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:33:
../src/picom.c: In function '_draw_callback':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1400:4: note: in expansion of macro 'auto'
    auto _ attr_unused = win_skip_fading(ps, w);
    ^
../src/picom.c:1400: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1406:4: note: in expansion of macro 'auto'
    auto w = find_managed_win(ps, ps->o.benchmark_wid);
    ^
../src/picom.c:1406: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:33:
../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:1408:5: note: in expansion of macro 'log_fatal'
     log_fatal("Couldn't find specified benchmark window.");
     ^
../src/picom.c:1411: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:38:
../src/win.h:354: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1422:2: note: in expansion of macro 'auto'
  auto bottom = paint_preprocess(ps, &fade_running);
  ^
../src/picom.c:1422:16: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto bottom = paint_preprocess(ps, &fade_running);
                ^
../src/picom.c:1438: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:1440: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:1441: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:1451: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:33:
../src/backend/backend.h:235: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:1453: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:33:
../src/render.h:33: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);
      ^
../src/picom.c: In function 'delayed_draw_callback':
../src/picom.c:1497:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  assert(!ev_is_active(&ps->delayed_draw_timer));
  ^
../src/picom.c:1519:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ev_timer_set(&ps->delayed_draw_timer, delay, 0);
  ^
In file included from ../src/picom.c:30: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:1523: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:1523: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:33:
../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:1538:2: note: in expansion of macro 'log_info'
  log_info("picom is resetting...");
  ^
../src/picom.c:1537: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:1537: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:33:
../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:1544:2: note: in expansion of macro 'log_info'
  log_info("picom is quitting...");
  ^
In file included from ../src/picom.c:30: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:1542: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:1542: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:33:
../src/picom.c: In function 'config_file_change_cb':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1549:2: note: in expansion of macro 'auto'
  auto ps = (struct session *)_ps;
  ^
../src/picom.c:1549:12: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto ps = (struct session *)_ps;
            ^
../src/picom.c:1550: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:33:
../src/picom.c: In function 'session_init':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1641:2: note: in expansion of macro 'auto'
  auto stderr_logger = stderr_logger_new();
  ^
../src/picom.c:1641:23: warning: initialization makes integer from pointer without a cast [enabled by default]
  auto stderr_logger = stderr_logger_new();
                       ^
../src/picom.c:1645: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:33:
../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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1669:2: note: in expansion of macro 'auto'
  auto screen = x_screen_of_display(ps->c, ps->scr);
  ^
../src/picom.c:1669: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:1670:18: error: invalid type argument of '->' (have 'int')
  ps->vis = screen->root_visual;
                  ^
../src/picom.c:1671:20: error: invalid type argument of '->' (have 'int')
  ps->depth = screen->root_depth;
                    ^
../src/picom.c:1672:19: error: invalid type argument of '->' (have 'int')
  ps->root = screen->root;
                   ^
../src/picom.c:1673:25: error: invalid type argument of '->' (have 'int')
  ps->root_width = screen->width_in_pixels;
                         ^
../src/picom.c:1674: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1678:2: note: in expansion of macro 'auto'
  auto e = xcb_request_check(
  ^
../src/picom.c:1678: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:33:
../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:77:2: note: in expansion of macro 'LOG'
  LOG(ERROR, fmt " (%s)", ##__VA_ARGS__, x_strerror(e))
  ^
../src/picom.c:1685: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:1685: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:33:
../src/x.h:209: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:54:3: error: unknown type name '__auto_type'
   __auto_type __e = xcb_request_check(c, func##_checked(c, __VA_ARGS__));  \
   ^
../src/picom.c:1754: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:54: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:1754: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:56:21: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                     ^
../src/picom.c:1754: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:56:36: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                    ^
../src/picom.c:1754: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:56:53: error: invalid type argument of '->' (have 'int')
    x_print_error(__e->sequence, __e->major_code, __e->minor_code,   \
                                                     ^
../src/picom.c:1754: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:57:21: error: invalid type argument of '->' (have 'int')
                  __e->error_code);                                  \
                     ^
../src/picom.c:1754: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:1754: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:33:
/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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1785:3: note: in expansion of macro 'auto'
   auto l = file_logger_new(ps->o.logpath);
   ^
../src/picom.c:1785:12: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto l = file_logger_new(ps->o.logpath);
            ^
../src/picom.c:1789: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:33:
../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:1790:19: warning: assignment makes integer from pointer without a cast [enabled by default]
     stderr_logger = NULL;
                   ^
../src/picom.c:1792: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:33:
../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:1793: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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1860:3: note: in expansion of macro 'auto'
   auto r = xcb_present_query_version_reply(
   ^
../src/picom.c:1860:12: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto r = xcb_present_query_version_reply(
            ^
../src/picom.c:1867: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:33:
/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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:1877:3: note: in expansion of macro 'auto'
   auto r = xcb_sync_initialize_reply(
   ^
../src/picom.c:1877:12: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto r = xcb_sync_initialize_reply(
            ^
../src/picom.c:1881:14: error: invalid type argument of '->' (have 'int')
   if (r && (r->major_version > 3 ||
              ^
../src/picom.c:1882:15: error: invalid type argument of '->' (have 'int')
             (r->major_version == 3 && r->minor_version >= 1))) {
               ^
../src/picom.c:1882:40: error: invalid type argument of '->' (have 'int')
             (r->major_version == 3 && r->minor_version >= 1))) {
                                        ^
../src/picom.c:1884: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:33:
/usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int'
 extern void free (void *__ptr) __THROW;
             ^
../src/picom.c:1897:5: warning: assignment makes integer from pointer without a cast [enabled by default]
   e = xcb_request_check(
     ^
../src/picom.c:1900: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 create a XSync fence. "
    ^
In file included from ../src/backend/gl/glx.h:21:0,
                 from ../src/common.h:45,
                 from ../src/picom.c:33:
../src/x.h:209: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:1904: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:33:
/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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:2004:3: note: in expansion of macro 'auto'
   auto gl_logger = gl_string_marker_logger_new();
   ^
../src/picom.c:2004:20: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto gl_logger = gl_string_marker_logger_new();
                    ^
../src/picom.c:2007: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:33:
../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:2045: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:2045:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2045:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2045:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2047:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ev_init(&ps->unredir_timer, tmout_unredir_callback);
  ^
../src/picom.c:2047:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2047:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2047:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2049:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   ev_idle_init(&ps->draw_idle, delayed_draw_callback);
   ^
../src/picom.c:2049:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2049:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2049:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2051:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   ev_idle_init(&ps->draw_idle, draw_callback);
   ^
../src/picom.c:2051:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2051:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2051:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2053:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ev_init(&ps->fade_timer, fade_timer_callback);
  ^
../src/picom.c:2053:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2053:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2053:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2054:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ev_init(&ps->delayed_draw_timer, delayed_draw_timer_callback);
  ^
../src/picom.c:2054:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2054:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2054:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2057: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:2057:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2057:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2057:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2058: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:2058:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2058:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2058:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2076: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:2076:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2076:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2076:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../src/picom.c:2079:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ev_set_priority(&ps->event_check, EV_MINPRI);
  ^
../src/picom.c:2096: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:2098: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:33:
../src/x.h:209: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:2099: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:33:
/usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int'
 extern void free (void *__ptr) __THROW;
             ^
../src/picom.c:2114: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:2116: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:33:
../src/x.h:209: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:2117: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:33:
/usr/include/stdlib.h:482:13: note: expected 'void *' but argument is of type 'int'
 extern void free (void *__ptr) __THROW;
             ^
../src/picom.c:2147: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:33:
../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:33:
../src/picom.c: In function 'session_destroy':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:2192:4: note: in expansion of macro 'auto'
    auto mw = (struct managed_win *)w;
    ^
../src/picom.c:2192:14: warning: initialization makes integer from pointer without a cast [enabled by default]
    auto mw = (struct managed_win *)w;
              ^
../src/picom.c:2193: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:38:
../src/win.h:447: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:33:
../src/picom.c: In function 'main':
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:2360:3: note: in expansion of macro 'auto'
   auto stderr_logger = stderr_logger_new();
   ^
../src/picom.c:2360:24: warning: initialization makes integer from pointer without a cast [enabled by default]
   auto stderr_logger = stderr_logger_new();
                        ^
../src/picom.c:2362: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:33:
../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:33:
../src/compiler.h:9:24: error: unknown type name '__auto_type'
 #define auto           __auto_type
                        ^
../src/picom.c:2379: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:33:
../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:2411: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:2442:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(pfds[1], &tmp, sizeof tmp);
         ^
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