Paul Eggert wrote:
> --- a/lib/obstack.c
> +++ b/lib/obstack.c
> @@ -31,8 +31,7 @@
>     use the already-supplied __alignof__.  Otherwise, this must be Gnulib
>     (as glibc assumes GCC); defer to Gnulib's alignof_type.  */
>  #if !defined __GNUC__ && !defined __alignof__
> -# include <alignof.h>
> -# define __alignof__(type) alignof_type (type)
> +# define __alignof__(type) alignof (type)
>  #endif

This piece of comment "defer to Gnulib's alignof_type" is not valid
any more. The code now defers to Gnulib's ISO C23 conforming alignof
(which, unlike alignof_type, is not the best possible alignment
but only the ABI-imposed alignment).

Bruno




Reply via email to