maintainer-feedback requested: [Bug 286508] graphics/libdrm: ALIGN macro redefined

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> 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)
      | 	^
[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.