Page MenuHome GnuPG

gcc 15 warns about -Wunterminated-string-initialization in gnupg
Closed, ResolvedPublic

Description

These warnings aren't a huge deal but I am reporting this for completeness since I see it was reported and fixed in other repositories in T7617, T7621, and T7624.

See T7617 for an example of the warning.

Event Timeline

gniibe changed the task status from Open to Testing.Nov 20 2025, 7:04 AM
gniibe claimed this task.
gniibe added a subscriber: gniibe.

I applied a change with GPGRT_ATTR_NONSTRING to master, since 2.6 branch now requires newere gpgrt.
Fix is rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler.

Libraries have been fixed (as well as GnuPG itself), so, closing.