[PATCH gnupg] Fix gcc -Wunterminated-string-initialization warnings.

Collin Funk collin.funk1 at gmail.com
Thu May 1 05:06:12 CEST 2025


Jacob Bachmeyer <jcb62281 at gmail.com> writes:

> The patch as written breaks compatibility with GCC < GCC8 and with
> other compilers because it neglects to define the new macros with
> empty expansions on older or non-GCC compilers.

Oops, silly oversight on my part.

I think it is fine to just wait for GPGRT_ATTR_NONSTRING anyways. So no
big deal that this patch is incorrect.

Thanks,
Collin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250430/9f085238/attachment.sig>


More information about the Gnupg-devel mailing list