+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/picom-9.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/picom-9.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for picom-9.1nb1
ninja: Entering directory `output'
[1/30] Compiling C object src/picom.p/picom.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/picom.c:35:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
In file included from ../src/picom.c:32:
../src/picom.c: In function 'paint_preprocess':
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:727:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
727 | #define ev_is_active(ev) (0 + ((ev_watcher *)(void *)(ev))->active) /* ro, true when the watcher has been started */
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:855:37: note: in expansion of macro 'ev_is_active'
855 | } else if (!ev_is_active(&ps->unredir_timer)) {
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:699:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
699 | #define ev_timer_set(ev,after_,repeat_) do { ((ev_watcher_time *)(ev))->at = (after_); (ev)->repeat = (repeat_); } while (0)
| ~^~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:856:33: note: in expansion of macro 'ev_timer_set'
856 | ev_timer_set(
| ^~~~~~~~~~~~
../src/picom.c: In function 'register_cm':
../src/picom.c:1007:43: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion]
1007 | if (gethostname(hostname, hostname_max) == 0) {
| ^~~~~~~~~~~~
../src/picom.c:1049:21: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
1049 | if (asprintf(&buf, "%s%d", register_prop, ps->scr) < 0) {
| ^~~~~~~~
| vsprintf
In file included from ../src/utils.h:4,
from ../src/backend/gl/glx.h:20,
from ../src/common.h:45:
../src/picom.c: In function 'init_debug_window':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/picom.c:1152:62: note: in expansion of macro 'to_u16_checked'
1152 | ps->root, 0, 0, to_u16_checked(ps->root_width),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/picom.c:1153:46: note: in expansion of macro 'to_u16_checked'
1153 | to_u16_checked(ps->root_height), 0,
| ^~~~~~~~~~~~~~
../src/picom.c: In function 'draw_callback_impl':
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:727:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
727 | #define ev_is_active(ev) (0 + ((ev_watcher *)(void *)(ev))->active) /* ro, true when the watcher has been started */
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:1452:30: note: in expansion of macro 'ev_is_active'
1452 | if (!fade_running && ev_is_active(&ps->fade_timer)) {
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:727:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
727 | #define ev_is_active(ev) (0 + ((ev_watcher *)(void *)(ev))->active) /* ro, true when the watcher has been started */
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:1454:37: note: in expansion of macro 'ev_is_active'
1454 | } else if (fade_running && !ev_is_active(&ps->fade_timer)) {
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:699:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
699 | #define ev_timer_set(ev,after_,repeat_) do { ((ev_watcher_time *)(ev))->at = (after_); (ev)->repeat = (repeat_); } while (0)
| ~^~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:1455:17: note: in expansion of macro 'ev_timer_set'
1455 | ev_timer_set(&ps->fade_timer, fade_timeout(ps), 0);
| ^~~~~~~~~~~~
../src/picom.c: In function 'session_init':
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:712:51: note: in expansion of macro 'ev_init'
712 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
| ^~~~~~~
../src/picom.c:2011:9: note: in expansion of macro 'ev_io_init'
2011 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->dpy), EV_READ);
| ^~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:712:51: note: in expansion of macro 'ev_init'
712 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
| ^~~~~~~
../src/picom.c:2011:9: note: in expansion of macro 'ev_io_init'
2011 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->dpy), EV_READ);
| ^~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:712:51: note: in expansion of macro 'ev_init'
712 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
| ^~~~~~~
../src/picom.c:2011:9: note: in expansion of macro 'ev_io_init'
2011 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->dpy), EV_READ);
| ^~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:712:51: note: in expansion of macro 'ev_init'
712 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
| ^~~~~~~
../src/picom.c:2011:9: note: in expansion of macro 'ev_io_init'
2011 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->dpy), EV_READ);
| ^~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:2013:9: note: in expansion of macro 'ev_init'
2013 | ev_init(&ps->unredir_timer, tmout_unredir_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:2013:9: note: in expansion of macro 'ev_init'
2013 | ev_init(&ps->unredir_timer, tmout_unredir_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
../src/picom.c:2013:9: note: in expansion of macro 'ev_init'
2013 | ev_init(&ps->unredir_timer, tmout_unredir_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
../src/picom.c:2013:9: note: in expansion of macro 'ev_init'
2013 | ev_init(&ps->unredir_timer, tmout_unredir_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:718:51: note: in expansion of macro 'ev_init'
718 | #define ev_idle_init(ev,cb) do { ev_init ((ev), (cb)); ev_idle_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2014:9: note: in expansion of macro 'ev_idle_init'
2014 | ev_idle_init(&ps->draw_idle, draw_callback);
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:718:51: note: in expansion of macro 'ev_init'
718 | #define ev_idle_init(ev,cb) do { ev_init ((ev), (cb)); ev_idle_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2014:9: note: in expansion of macro 'ev_idle_init'
2014 | ev_idle_init(&ps->draw_idle, draw_callback);
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:718:51: note: in expansion of macro 'ev_init'
718 | #define ev_idle_init(ev,cb) do { ev_init ((ev), (cb)); ev_idle_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2014:9: note: in expansion of macro 'ev_idle_init'
2014 | ev_idle_init(&ps->draw_idle, draw_callback);
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:718:51: note: in expansion of macro 'ev_init'
718 | #define ev_idle_init(ev,cb) do { ev_init ((ev), (cb)); ev_idle_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2014:9: note: in expansion of macro 'ev_idle_init'
2014 | ev_idle_init(&ps->draw_idle, draw_callback);
| ^~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:2016:9: note: in expansion of macro 'ev_init'
2016 | ev_init(&ps->fade_timer, fade_timer_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:2016:9: note: in expansion of macro 'ev_init'
2016 | ev_init(&ps->fade_timer, fade_timer_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
../src/picom.c:2016:9: note: in expansion of macro 'ev_init'
2016 | ev_init(&ps->fade_timer, fade_timer_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
../src/picom.c:2016:9: note: in expansion of macro 'ev_init'
2016 | ev_init(&ps->fade_timer, fade_timer_callback);
| ^~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2019:9: note: in expansion of macro 'ev_signal_init'
2019 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2019:9: note: in expansion of macro 'ev_signal_init'
2019 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2019:9: note: in expansion of macro 'ev_signal_init'
2019 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2019:9: note: in expansion of macro 'ev_signal_init'
2019 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2020:9: note: in expansion of macro 'ev_signal_init'
2020 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2020:9: note: in expansion of macro 'ev_signal_init'
2020 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2020:9: note: in expansion of macro 'ev_signal_init'
2020 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:715:51: note: in expansion of macro 'ev_init'
715 | #define ev_signal_init(ev,cb,signum) do { ev_init ((ev), (cb)); ev_signal_set ((ev), (signum)); } while (0)
| ^~~~~~~
../src/picom.c:2020:9: note: in expansion of macro 'ev_signal_init'
2020 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT);
| ^~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:691:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
691 | ((ev_watcher *)(void *)(ev))->active = \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:719:51: note: in expansion of macro 'ev_init'
719 | #define ev_prepare_init(ev,cb) do { ev_init ((ev), (cb)); ev_prepare_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2038:9: note: in expansion of macro 'ev_prepare_init'
2038 | ev_prepare_init(&ps->event_check, handle_queued_x_events);
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:692:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
692 | ((ev_watcher *)(void *)(ev))->pending = 0; \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:719:51: note: in expansion of macro 'ev_init'
719 | #define ev_prepare_init(ev,cb) do { ev_init ((ev), (cb)); ev_prepare_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2038:9: note: in expansion of macro 'ev_prepare_init'
2038 | ev_prepare_init(&ps->event_check, handle_queued_x_events);
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority'
693 | ev_set_priority ((ev), 0); \
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:719:51: note: in expansion of macro 'ev_init'
719 | #define ev_prepare_init(ev,cb) do { ev_init ((ev), (cb)); ev_prepare_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2038:9: note: in expansion of macro 'ev_prepare_init'
2038 | ev_prepare_init(&ps->event_check, handle_queued_x_events);
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:744:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
744 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev))))
| ~^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb'
694 | ev_set_cb ((ev), cb_); \
| ^~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:719:51: note: in expansion of macro 'ev_init'
719 | #define ev_prepare_init(ev,cb) do { ev_init ((ev), (cb)); ev_prepare_set ((ev)); } while (0)
| ^~~~~~~
../src/picom.c:2038:9: note: in expansion of macro 'ev_prepare_init'
2038 | ev_prepare_init(&ps->event_check, handle_queued_x_events);
| ^~~~~~~~~~~~~~~
/home/pbulk/build/x11/picom/work/.buildlink/include/ev/ev.h:737:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
737 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/picom.c:2041:9: note: in expansion of macro 'ev_set_priority'
2041 | ev_set_priority(&ps->event_check, EV_MINPRI);
| ^~~~~~~~~~~~~~~
../src/picom.c: In function 'main':
../src/picom.c:2416:36: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
2416 | pid_file = strdup(ps_g->o.write_pid_path);
| ^~~~~~
| strcmp
../src/picom.c:2416:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
2416 | pid_file = strdup(ps_g->o.write_pid_path);
| ^
[2/30] Compiling C object src/picom.p/win.c.o
In file included from ../src/backend/backend.h:9,
from ../src/win.c:20:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
In file included from ../src/win.c:22:
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
../src/win.c: In function 'win_update_name':
../src/win.c:625:27: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
625 | w->name = strdup(strlst[0]);
| ^~~~~~
| strcmp
../src/win.c:625:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
625 | w->name = strdup(strlst[0]);
| ^
../src/win.c: In function 'win_update_role':
../src/win.c:648:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
648 | w->role = strdup(strlst[0]);
| ^
../src/win.c: In function 'win_update_class':
../src/win.c:1729:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1729 | w->class_instance = strdup(strlst[0]);
| ^
../src/win.c:1732:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1732 | w->class_general = strdup(strlst[1]);
| ^
[3/30] Compiling C object src/picom.p/c2.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/c2.c:36:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
../src/c2.c: In function 'c2_parse_target':
../src/c2.c:590:22: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
590 | pleaf->tgt = strndup(&pattern[offset - tgtlen], (size_t)tgtlen);
| ^~~~~~~
| strncmp
../src/c2.c:590:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
590 | pleaf->tgt = strndup(&pattern[offset - tgtlen], (size_t)tgtlen);
| ^
../src/c2.c: In function 'c2_parse_pattern':
../src/c2.c:889:54: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
889 | char *tstr = strndup(pattern + offset + 1, 2);
| ^~~~~~~
../src/c2.c:911:33: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
911 | pleaf->ptnstr = strdup(tptnstr);
| ^~~~~~
| strcmp
../src/c2.c:911:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
911 | pleaf->ptnstr = strdup(tptnstr);
| ^
../src/c2.c: In function 'c2_parse_legacy':
../src/c2.c:1000:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1000 | pleaf->ptnstr = strdup(pattern + offset);
| ^
../src/c2.c: In function 'c2_match_once_leaf':
../src/c2.c:1467:84: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1467 | targets[i] = targets_free_inner[i] = strndup(
| ^
../src/c2.c:1521:55: warning: implicit declaration of function 'strcasestr'; did you mean 'strstr'? [-Wimplicit-function-declaration]
1521 | res = strcasestr(tgt, pleaf->ptnstr);
| ^~~~~~~~~~
| strstr
../src/c2.c:1528:56: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
1528 | res = !strncasecmp(tgt, pleaf->ptnstr,
| ^~~~~~~~~~~
| strncmp
../src/c2.c: In function 'c2_parse_pattern':
../src/c2.c:894:53: warning: pointer 'tstr' used after 'free' [-Wuse-after-free]
894 | if (pstr != &tstr[2] || val <= 0)
| ^~~~~~~~
../src/c2.c:893:41: note: call to 'free' here
893 | free(tstr);
| ^~~~~~~~~~
[4/30] Compiling C object src/picom.p/x.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/x.c:22:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
../src/x.c: In function 'wid_get_text_prop':
../src/x.c:156:31: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration]
156 | (uint32_t)strnlen(data + current_offset, length - current_offset) + 1;
| ^~~~~~~
| strlen
../src/x.c:173:13: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
173 | if (posix_memalign(&buf, alignof(char *), length + sizeof(char *) * nstr + 1) != 0) {
| ^~~~~~~~~~~~~~
In file included from ../src/common.h:31:
../src/x.c: In function 'x_set_picture_clip_region':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/x.c:401:30: note: in expansion of macro 'to_u16_checked'
401 | .width = to_u16_checked(rects[i].x2 - rects[i].x1),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/x.c:402:31: note: in expansion of macro 'to_u16_checked'
402 | .height = to_u16_checked(rects[i].y2 - rects[i].y1),
| ^~~~~~~~~~~~~~
../src/x.c: In function 'x_create_pixmap':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/x.c:554:38: note: in expansion of macro 'to_u16_checked'
554 | c, depth, pix, drawable, to_u16_checked(width), to_u16_checked(height));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/x.c:554:61: note: in expansion of macro 'to_u16_checked'
554 | c, depth, pix, drawable, to_u16_checked(width), to_u16_checked(height));
| ^~~~~~~~~~~~~~
[5/30] Compiling C object src/picom.p/config.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/config.c:14:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
[6/30] Compiling C object src/picom.p/vsync.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/vsync.c:6:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
[7/30] Compiling C object src/picom.p/utils.c.o
[8/30] Compiling C object src/picom.p/diagnostic.c.o
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/diagnostic.c:9:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
[9/30] Compiling C object src/picom.p/string_utils.c.o
../src/string_utils.c: In function 'mstrextend':
../src/string_utils.c:57:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
57 | *psrc1 = strdup(src2);
| ^~~~~~
| strcmp
../src/string_utils.c:57:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
57 | *psrc1 = strdup(src2);
| ^
[10/30] Compiling C object src/picom.p/render.c.o
FAILED: src/picom.p/render.c.o
gcc -Isrc/picom.p -Isrc -I../src -Isubprojects/test.h -I../subprojects/test.h -I/opt/pkg/include -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/libdrm -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/ev -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DCOMPTON_VERSION="v9.1"' -D_GNU_SOURCE -Wall -Wcast-function-type -Wignored-qualifiers -Wmissing-parameter-type -Wnonnull -Wshadow -Wno-type-limits -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wshift-negative-value -Wunused-but-set-parameter -Wunused-parameter -Wimplicit-fallthrough -Wno-missing-braces -Wconversion -Wempty-body -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DGL_GLEXT_PROTOTYPES -DCONFIG_DBUS -MD -MQ src/picom.p/render.c.o -MF src/picom.p/render.c.o.d -o src/picom.p/render.c.o -c ../src/render.c
In file included from ../src/backend/backend.h:9,
from ../src/common.h:54,
from ../src/render.c:12:
../src/config.h: In function 'parse_backend':
../src/config.h:293:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
293 | if (!strcasecmp(str, BACKEND_STRS[i])) {
| ^~~~~~~~~~
| strncmp
../src/common.h: In function 'get_time_timespec':
../src/common.h:439:9: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
439 | clock_gettime(CLOCK_MONOTONIC, &tm);
| ^~~~~~~~~~~~~
../src/render.c: In function 'make_circle':
../src/render.c:194:42: error: 'M_PI' undeclared (first use in this function)
194 | y1 = (int)(-radius * cos(M_PI * k / max_ntraps));
| ^~~~
../src/render.c:194:42: note: each undeclared identifier is reported only once for each function it appears in
In file included from ../src/utils.h:4,
from ../src/backend/gl/glx.h:20,
from ../src/common.h:45:
../src/render.c: In function 'render':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:263:46: note: in expansion of macro 'to_u16_checked'
263 | .width = to_u16_checked(fullwid),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:264:47: note: in expansion of macro 'to_u16_checked'
264 | .height = to_u16_checked(fullhei)};
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:284:37: note: in expansion of macro 'to_u16_checked'
284 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:284:58: note: in expansion of macro 'to_u16_checked'
284 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:300:54: note: in expansion of macro 'to_u16_checked'
300 | .width = to_u16_checked(wid),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:301:55: note: in expansion of macro 'to_u16_checked'
301 | .height = to_u16_checked(hei)};
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:308:62: note: in expansion of macro 'to_u16_checked'
308 | 0, 0, 0, to_u16_checked(wid),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:309:53: note: in expansion of macro 'to_u16_checked'
309 | to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:315:45: note: in expansion of macro 'to_u16_checked'
315 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:315:66: note: in expansion of macro 'to_u16_checked'
315 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:325:37: note: in expansion of macro 'to_u16_checked'
325 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:325:58: note: in expansion of macro 'to_u16_checked'
325 | to_u16_checked(wid), to_u16_checked(hei));
| ^~~~~~~~~~~~~~
../src/render.c: In function 'paint_one':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:438:30: note: in expansion of macro 'to_u16_checked'
438 | const uint16_t wid = to_u16_checked(w->widthb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:439:30: note: in expansion of macro 'to_u16_checked'
439 | const uint16_t hei = to_u16_checked(w->heightb);
| ^~~~~~~~~~~~~~
../src/render.c: In function 'win_paint_shadow':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:762:64: note: in expansion of macro 'to_u16_checked'
762 | .width = to_u16_checked(w->widthb),
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:763:65: note: in expansion of macro 'to_u16_checked'
763 | .height = to_u16_checked(w->heightb)};
| ^~~~~~~~~~~~~~
../src/render.c: In function 'win_blur_background':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:871:26: note: in expansion of macro 'to_u16_checked'
871 | const auto wid = to_u16_checked(w->widthb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:872:26: note: in expansion of macro 'to_u16_checked'
872 | const auto hei = to_u16_checked(w->heightb);
| ^~~~~~~~~~~~~~
../src/render.c: In function 'paint_all':
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1150:50: note: in expansion of macro 'to_u16_checked'
1150 | const auto wid = to_u16_checked(w->widthb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1151:50: note: in expansion of macro 'to_u16_checked'
1151 | const auto hei = to_u16_checked(w->heightb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1171:50: note: in expansion of macro 'to_u16_checked'
1171 | const auto wid = to_u16_checked(w->widthb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1172:50: note: in expansion of macro 'to_u16_checked'
1172 | const auto hei = to_u16_checked(w->heightb);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1215:23: note: in expansion of macro 'to_u16_checked'
1215 | auto rwidth = to_u16_checked(ps->root_width);
| ^~~~~~~~~~~~~~
../src/utils.h:64:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
64 | assert(__tmp <= upper); \
| ^~
../src/utils.h:100:17: note: in expansion of macro 'ASSERT_IN_RANGE'
100 | ASSERT_IN_RANGE(tmp, 0, UINT16_MAX); \
| ^~~~~~~~~~~~~~~
../src/render.c:1216:24: note: in expansion of macro 'to_u16_checked'
1216 | auto rheight = to_u16_checked(ps->root_height);
| ^~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/picom
*** Error code 1
Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/picom