]> Savannah Git Hosting - gnulib.git/commit
stdalign-tests: port to C23
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2022 17:56:56 +0000 (12:56 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2022 17:59:33 +0000 (12:59 -0500)
commitb22b1e425f530eeb16d2e1313c292fc61e991b08
tree36392e019b5abd9582b7a711e106de8ca058b12f
parentff7a4ffc9e87339baa6e02ad10563137cd381474
stdalign-tests: port to C23

* tests/test-stdalign.c: Do not test __alignas_is_defined,
_Alignof, or _Alignas as they are obsolescent.
Do not use __alignas_is_defined in C23 or later (or C++11 or later),
as it’s removed in C23.
ChangeLog
doc/posix-headers/stdalign.texi
lib/alignof.h
tests/test-stdalign.c