=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for picom-13 ninja: Entering directory `output' [1/49] Compiling C object src/picom.p/atom.c.o In file included from ../src/atom.c:12: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ [2/49] Compiling C object src/picom.p/api.c.o In file included from ../src/api.c:14: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ [3/49] Compiling C object src/picom.p/inspect.c.o In file included from ../src/config.h:27, from ../src/wm/win.h:17, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/wm/win.h:19, from ../src/inspect.h:6, from ../src/inspect.c:12: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/wm/win.h:12, from ../src/inspect.h:6, from ../src/inspect.c:12: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [4/49] Compiling C object src/picom.p/log.c.o In file included from ../src/log.c:21: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ [5/49] Compiling C object src/picom.p/event.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/event.c:17: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/event.c:17: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/event.c:17: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [6/49] Compiling C object src/picom.p/diagnostic.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/diagnostic.c:9: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/diagnostic.c:10: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/diagnostic.c:8: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [7/49] Compiling C object src/picom.p/options.c.o FAILED: [code=1] src/picom.p/options.c.o gcc -Isrc/picom.p -Isrc -I../src -Iinclude -I../include -Isubprojects/test.h -I../subprojects/test.h -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/include -I/usr/pkg/include/ev -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DPICOM_VERSION="v13"' '-DPICOM_FULL_VERSION="v13"' -D_GNU_SOURCE -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=2 -Wno-missing-braces -Wconversion -Wempty-body -O2 -Dz_off_t=long -pthread -D_REENTRANT -DCONFIG_REGEX_PCRE -DCONFIG_OPENGL -DCONFIG_DBUS -DHAS_KQUEUE -MD -MQ src/picom.p/options.c.o -MF src/picom.p/options.c.o.d -o src/picom.p/options.c.o -c ../src/options.c In file included from ../src/config.h:27, from ../src/options.c:17: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/options.c:24: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/options.c:15: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/options.c: In function 'set_flag': ../src/options.c:64:22: error: parameter name omitted 64 | static bool set_flag(const struct picom_option * /*opt*/, const struct picom_arg *arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:65:22: error: parameter name omitted 65 | const char * /*arg_str*/, void *output) { | ^~~~~~~~~~~~ ../src/options.c: In function 'set_rule_flag': ../src/options.c:71:27: error: parameter name omitted 71 | const char * /*arg_str*/, void *output) { | ^~~~~~~~~~~~ ../src/options.c: In function 'unset_flag': ../src/options.c:80:24: error: parameter name omitted 80 | static bool unset_flag(const struct picom_option * /*opt*/, const struct picom_arg *arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:81:24: error: parameter name omitted 81 | const char * /*arg_str*/, void *output) { | ^~~~~~~~~~~~ ../src/options.c: In function 'store_string': ../src/options.c:136:26: error: parameter name omitted 136 | static bool store_string(const struct picom_option * /*opt*/, const struct picom_arg *arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'store_fixed_string': ../src/options.c:160:20: error: parameter name omitted 160 | store_fixed_string(const struct picom_option * /*opt*/, const struct picom_arg *arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:161:20: error: parameter name omitted 161 | const char * /*arg_str*/, void *output) { | ^~~~~~~~~~~~ ../src/options.c: In function 'store_fixed_enum': ../src/options.c:193:30: error: parameter name omitted 193 | static bool store_fixed_enum(const struct picom_option * /*opt*/, const struct picom_arg *arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:194:30: error: parameter name omitted 194 | const char * /*arg_str*/, void *output) { | ^~~~~~~~~~~~ ../src/options.c: In function 'noop': ../src/options.c:200:18: error: parameter name omitted 200 | static bool noop(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:200:55: error: parameter name omitted 200 | static bool noop(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:201:18: error: parameter name omitted 201 | const char * /*arg_str*/, void * /*output*/) { | ^~~~~~~~~~~~ ../src/options.c:201:44: error: parameter name omitted 201 | const char * /*arg_str*/, void * /*output*/) { | ^~~~~~ ../src/options.c: In function 'reject': ../src/options.c:205:20: error: parameter name omitted 205 | static bool reject(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:205:57: error: parameter name omitted 205 | static bool reject(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:206:20: error: parameter name omitted 206 | const char * /*arg_str*/, void * /*output*/) { | ^~~~~~~~~~~~ ../src/options.c:206:46: error: parameter name omitted 206 | const char * /*arg_str*/, void * /*output*/) { | ^~~~~~ ../src/options.c: In function 'store_shadow_color': ../src/options.c:335:20: error: parameter name omitted 335 | store_shadow_color(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:335:57: error: parameter name omitted 335 | store_shadow_color(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'store_blur_kern': ../src/options.c:347:17: error: parameter name omitted 347 | store_blur_kern(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:347:54: error: parameter name omitted 347 | store_blur_kern(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'store_benchmark_wid': ../src/options.c:355:21: error: parameter name omitted 355 | store_benchmark_wid(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:355:58: error: parameter name omitted 355 | store_benchmark_wid(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'store_backend': ../src/options.c:367:27: error: parameter name omitted 367 | static bool store_backend(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c:367:64: error: parameter name omitted 367 | static bool store_backend(const struct picom_option * /*opt*/, const struct picom_arg * /*arg*/, | ^~~~~~~~~~~~~~~~~~~~~~~~ [8/49] Compiling C object src/picom.p/vblank.c.o In file included from ../src/config.h:27, from ../src/vblank.c:13: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/region.h:4, from ../src/x.h:18, from ../src/vblank.h:15, from ../src/vblank.c:29: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/vblank.c:6: ../src/vblank.c: In function 'sgi_video_sync_scheduler_init': /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:724:51: note: in expansion of macro 'ev_init' 724 | #define ev_async_init(ev,cb) do { ev_init ((ev), (cb)); ev_async_set ((ev)); } while (0) | ^~~~~~~ ../src/vblank.c:298:2: note: in expansion of macro 'ev_async_init' 298 | ev_async_init(&self->notify, sgi_video_sync_scheduler_callback); | ^~~~~~~~~~~~~ In file included from ../src/vblank.c:6: ../src/vblank.c: In function 'present_vblank_scheduler_init': /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/vblank.c:6: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from ../src/vblank.c:6: /pbulk/work/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) | ~^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:73: note: in expansion of macro 'ev_timer_set' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~~~~~~ ../src/vblank.c:397:2: note: in expansion of macro 'ev_timer_init' 397 | ev_timer_init(&self->callback_timer, present_vblank_callback, 0, 0); | ^~~~~~~~~~~~~ In file included from ../src/utils/misc.h:5, from ../src/config.h:27, from ../src/vblank.c:13: ../src/vblank.c: In function 'handle_present_complete_notify': /pbulk/work/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/vblank.c:463:10: note: in expansion of macro 'ev_is_active' 463 | assert(!ev_is_active(&self->callback_timer)); | ^~~~~~~~~~~~ In file included from ../src/vblank.c:6: /pbulk/work/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/vblank.c:464:2: note: in expansion of macro 'ev_timer_set' 464 | ev_timer_set(&self->callback_timer, delay_sec, 0); | ^~~~~~~~~~~~ [9/49] Compiling C object src/picom.p/config.c.o FAILED: [code=1] src/picom.p/config.c.o gcc -Isrc/picom.p -Isrc -I../src -Iinclude -I../include -Isubprojects/test.h -I../subprojects/test.h -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/include -I/usr/pkg/include/ev -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DPICOM_VERSION="v13"' '-DPICOM_FULL_VERSION="v13"' -D_GNU_SOURCE -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=2 -Wno-missing-braces -Wconversion -Wempty-body -O2 -Dz_off_t=long -pthread -D_REENTRANT -DCONFIG_REGEX_PCRE -DCONFIG_OPENGL -DCONFIG_DBUS -DHAS_KQUEUE -MD -MQ src/picom.p/config.c.o -MF src/picom.p/config.c.o.d -o src/picom.p/config.c.o -c ../src/config.c In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/config.c:23: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config.c:23: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/config.c:23: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/config.c: In function 'parse_window_shader_prefix_with_cwd': ../src/config.c:629:78: error: parameter name omitted 629 | void *parse_window_shader_prefix_with_cwd(const char *src, const char **end, void * /*data*/) { | ^~~~~~ [10/49] Compiling C object src/picom.p/picom.c.o FAILED: [code=1] src/picom.p/picom.c.o gcc -Isrc/picom.p -Isrc -I../src -Iinclude -I../include -Isubprojects/test.h -I../subprojects/test.h -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/include -I/usr/pkg/include/ev -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DPICOM_VERSION="v13"' '-DPICOM_FULL_VERSION="v13"' -D_GNU_SOURCE -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=2 -Wno-missing-braces -Wconversion -Wempty-body -O2 -Dz_off_t=long -pthread -D_REENTRANT -DCONFIG_REGEX_PCRE -DCONFIG_OPENGL -DCONFIG_DBUS -DHAS_KQUEUE -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/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/picom.c:47: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/picom.c:47: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/picom.c:39: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/wm/wm.h:15, from ../src/wm/win.h:23, from ../src/inspect.h:6, from ../src/picom.c:53: ../src/picom.c: In function 'schedule_render': /pbulk/work/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:332:11: note: in expansion of macro 'ev_is_active' 332 | assert(!ev_is_active(&ps->draw_timer)); | ^~~~~~~~~~~~ /pbulk/work/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:390:10: note: in expansion of macro 'ev_is_active' 390 | assert(!ev_is_active(&ps->draw_timer)); | ^~~~~~~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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:391:2: note: in expansion of macro 'ev_timer_set' 391 | ev_timer_set(&ps->draw_timer, delay_s, 0); | ^~~~~~~~~~~~ ../src/picom.c: In function 'paint_preprocess': /pbulk/work/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:834:16: note: in expansion of macro 'ev_is_active' 834 | } else if (!ev_is_active(&ps->unredir_timer)) { | ^~~~~~~~~~~~ /pbulk/work/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:835:5: note: in expansion of macro 'ev_timer_set' 835 | ev_timer_set( | ^~~~~~~~~~~~ ../src/picom.c: In function 'handle_new_window_attributes_reply': ../src/picom.c:1354:48: error: parameter name omitted 1354 | static void handle_new_window_attributes_reply(struct x_connection * /*c*/, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../src/picom.c:17: ../src/picom.c: In function 'session_init': /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2206:2: note: in expansion of macro 'ev_io_init' 2206 | ev_io_init(&ps->xiow, x_event_callback, ConnectionNumber(ps->c.dpy), EV_READ); | ^~~~~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2208:2: note: in expansion of macro 'ev_init' 2208 | ev_init(&ps->unredir_timer, tmout_unredir_callback); | ^~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2209:2: note: in expansion of macro 'ev_init' 2209 | ev_init(&ps->draw_timer, draw_callback); | ^~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2212:2: note: in expansion of macro 'ev_signal_init' 2212 | ev_signal_init(&ps->usr1_signal, reset_enable, SIGUSR1); | ^~~~~~~~~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2213:2: note: in expansion of macro 'ev_signal_init' 2213 | ev_signal_init(&ps->int_signal, exit_enable, SIGINT); | ^~~~~~~~~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34, from /usr/include/strings.h:72, from /usr/include/string.h:98, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:159, from ../src/picom.c:17: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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:2231:2: note: in expansion of macro 'ev_prepare_init' 2231 | ev_prepare_init(&ps->event_check, handle_x_events_ev); | ^~~~~~~~~~~~~~~ In file included from ../src/picom.c:17: /pbulk/work/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:2234:2: note: in expansion of macro 'ev_set_priority' 2234 | ev_set_priority(&ps->event_check, EV_MINPRI); | ^~~~~~~~~~~~~~~ ../src/picom.c: In function 'session_run': /pbulk/work/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:2473:3: note: in expansion of macro 'ev_timer_set' 2473 | ev_timer_set(&ps->draw_timer, 0, 0); | ^~~~~~~~~~~~ [11/49] Compiling C object src/picom.p/x.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/x.c:29: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/x.c:29: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/x.c:11: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ [12/49] Compiling C object src/picom.p/c2.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/c2.c:26: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/c2.c:26: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../src/common.h:28, from ../src/c2.c:26: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/c2.c: In function 'c2_parse': ../src/c2.c:365:40: warning: passing argument 3 of 'c2_parse_legacy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | offset = c2_parse_legacy(pattern, 0, &result); | ^~~~~~~ ../src/c2.c:334:84: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 334 | static int c2_parse_legacy(const char *pattern, int offset, c2_condition_node_ptr *presult); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/c2.c:367:39: warning: passing argument 3 of 'c2_parse_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | offset = c2_parse_group(pattern, 0, &result, 0, deprecated); | ^~~~~~~ ../src/c2.c:329:83: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 329 | static int c2_parse_group(const char *pattern, int offset, c2_condition_node_ptr *presult, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/c2.c:371:12: warning: passing argument 1 of 'c2_freep' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | c2_freep(&result); | ^~~~~~~ ../src/c2.c:344:52: note: expected 'c2_condition_node_ptr *' but argument is of type 'const c2_condition_node_ptr *' 344 | static inline void c2_freep(c2_condition_node_ptr *pp) { | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ctype.h:100, from ../src/c2.c:6: ../src/c2.c: In function 'c2_condition_node_to_str': ../src/c2.c:1499:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1499 | if (isprint(p.l->ptnstr[i])) { | ^ [13/49] Compiling C object src/picom.p/dbus.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/dbus.c:19: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/dbus.c:19: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/dbus.c:18: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:27, from ../src/dbus.c:19: ../src/dbus.c: In function 'cdbus_callback_add_timeout': /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from ../src/dbus.c:9: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ../src/dbus.c:11: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from ../src/dbus.c:9: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ../src/dbus.c:11: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:51: note: in expansion of macro 'ev_init' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ In file included from ../src/common.h:27, from ../src/dbus.c:19: /pbulk/work/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) | ~^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:713:73: note: in expansion of macro 'ev_timer_set' 713 | #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) | ^~~~~~~~~~~~ ../src/dbus.c:249:2: note: in expansion of macro 'ev_timer_init' 249 | ev_timer_init(&t->w, cdbus_callback_handle_timeout, i, i); | ^~~~~~~~~~~~~ ../src/dbus.c: In function 'cdbus_callback_timeout_toggled': /pbulk/work/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/dbus.c:283:3: note: in expansion of macro 'ev_timer_set' 283 | ev_timer_set(&t->w, i, i); | ^~~~~~~~~~~~ ../src/dbus.c: In function 'cdbus_callback_add_watch': /pbulk/work/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 = \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ /pbulk/work/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; \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ /pbulk/work/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) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:693:3: note: in expansion of macro 'ev_set_priority' 693 | ev_set_priority ((ev), 0); \ | ^~~~~~~~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from ../src/dbus.c:9: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ In file included from /usr/include/string.h:127, from ../src/dbus.c:11: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from ../src/dbus.c:9: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ In file included from /usr/include/string.h:127, from ../src/dbus.c:11: /pbulk/work/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)))) | ~^~~~~~~~~~~~~~~~~~~ /pbulk/work/x11/picom/work/.buildlink/include/ev/ev.h:694:3: note: in expansion of macro 'ev_set_cb' 694 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ /pbulk/work/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/dbus.c:339:2: note: in expansion of macro 'ev_io_init' 339 | ev_io_init(&w->w, cdbus_io_callback, dbus_watch_get_unix_fd(watch), | ^~~~~~~~~~ [14/49] Compiling C object src/picom.p/config_libconfig.c.o In file included from ../src/config.h:27, from ../src/backend/driver.h:10, from ../src/common.h:38, from ../src/config_libconfig.c:16: ../src/utils/misc.h: In function 'timespec_cmp': ../src/utils/misc.h:389:19: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ ../src/utils/misc.h:389:29: warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 389 | return long_cmp(x.tv_sec, y.tv_sec) ?: long_cmp(x.tv_nsec, y.tv_nsec); | ~^~~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'log_region_': ../src/region.h:55:41: warning: passing argument 1 of 'pixman_region32_extents' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | auto extent = pixman_region32_extents(x); | ^ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:580:80: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 580 | pixman_box32_t * pixman_region32_extents (pixman_region32_t *region); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_subtract': ../src/region.h:146:43: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | pixman_region32_subtract(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_union': ../src/region.h:153:40: warning: passing argument 3 of 'pixman_region32_union' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | pixman_region32_union(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:554:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 554 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_intersect': ../src/region.h:160:44: warning: passing argument 3 of 'pixman_region32_intersect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | pixman_region32_intersect(region, region, other); | ^~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:551:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 551 | pixman_region32_t *reg2); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h: In function 'region_symmetric_difference_local': ../src/region.h:195:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | pixman_region32_copy(scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:196:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | pixman_region32_subtract(scratch, scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:199:32: warning: passing argument 2 of 'pixman_region32_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | pixman_region32_copy(scratch, region2); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:548:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 548 | pixman_region32_t *source); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/common.h:40, from ../src/config_libconfig.c:16: ../src/region.h:200:45: warning: passing argument 3 of 'pixman_region32_subtract' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | pixman_region32_subtract(scratch, scratch, region1); | ^~~~~~~ In file included from ../include/picom/backend.h:6, from ../src/backend/backend.h:8, from ../src/config_libconfig.c:14: /pbulk/work/x11/picom/work/.x11-buildlink/include/pixman-1/pixman.h:569:31: note: expected 'pixman_region32_t *' {aka 'struct pixman_region32 *'} but argument is of type 'const region_t *' {aka 'const struct pixman_region32 *'} 569 | pixman_region32_t *reg_s); | ~~~~~~~~~~~~~~~~~~~^~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/x11/picom *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/picom