maintainer-feedback requested: [Bug 286508] graphics/libdrm: ALIGN macro redefined
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 286508] graphics/libdrm: ALIGN macro redefined"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 May 2025 17:44:52 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 286508: graphics/libdrm: ALIGN macro redefined
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286508
--- Description ---
[...]
[ 50% 44/65] cc -Ilibdrm.so.2.123.0.p -I. -I.. -I../include/drm
-fvisibility=hidden -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Wi
nvalid-pch -std=c11 -include
/wrkdirs/usr/ports/graphics/libdrm/work/libdrm-2.4.123/_build/config.h -O2
-pipe -fPIE -fPIC -fstack-protector-st
rong -fno-strict-aliasing -fPIC -Wsign-compare -Werror=undef
-Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-pr
ototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked
-Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition
-Wno-unused-parameter -Wno-attributes -Wno-long-long
-Wno-missing-field-initializers -MD -MQ libdrm.so.2.123.0.p/xf86drm.c.o -MF
libdrm.so.2.123.0.p/xf86drm.c.o.d -o libdrm.so.2.123.0.p/xf86drm.c.o -c
../xf86drm.c
In file included from ../xf86drm.c:81:
../util_math.h:32:9: warning: 'ALIGN' macro redefined [-Wmacro-redefined]
32 | #define ALIGN(value, alignment) __align_mask(value,
(__typeof__(value))((alignment) - 1))
| ^
/usr/include/machine/param.h:73:9: note: previous definition is here
73 | #define ALIGN(p) _ALIGN(p)
| ^
[...]