]> 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)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Feb 2025 09:40:08 +0000 (10:40 +0100)
commit16c580bd609546aed1110ccade82afb3579688d5
tree2cc87d55f816cb23f5f51b58dbddb2416ca3ce1d
parentc4bb7ee282677669f142e6b1db1ce39f08d79126
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