Subject: Re: bug#77835: [PATCH] Pacify GCC 15 -Wunterminated-string-initialization warnings

From: Collin Funk <[email-masked]>
Date: Sun, 20 Apr 2025 01:24:33 -0700

Eli Zaretskii <[email-masked]> writes:

> How portable is the attribute you used to fix this?  AFAICT, it is
> supported since GCC 4.8, but our INSTALL indicates that we support
> older versions of GCC.  Or does Gnulib solve this?

The ATTRIBUTE_* macros are equal to _GL_ATTRIBUTE_* defined in
gnulib-common.m4. For older compilers it is defined to expand to
nothing. So everything should work fine.

Collin