]> Savannah Git Hosting - gnulib.git/commit
flexmember: port to IBM XL C 16.1
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Jan 2025 07:02:09 +0000 (23:02 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Jan 2025 07:02:09 +0000 (23:02 -0800)
commit1ea1f2bf1b0fa5516589f57b18e1adefd6594602
tree67be0ef52184a8aff76753c4399db34ec2480e2e
parentac4171928884db91babc4ba767c9c01b20d1f97b
flexmember: port to IBM XL C 16.1

* lib/flexmember.h (FLEXALIGNOF): Use the conservative definition
if _Alignof is a macro, to avoid a C99 conformance issue exposed
by IBM XL C 16.1 which otherwise complains "An aggregate
containing a flexible array member cannot be used as a member of a
structure or as an array element."
ChangeLog
lib/flexmember.h