]> 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:56:03 +0000 (10:56 +0100)
commit9318ab8dd2d92e3fb66819ca0c5c3e045d599f43
tree7c6e78369246b56fbd63c27189ffe8faf1325e04
parent7f105648709691ee56bc59dbb2f5cf0a367f9b50
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