https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178
--- Comment #7 from Kees Cook <kees at outflux dot net> --- Could "nonstring" be applied to string literals? (Like the "u" suffix idea, but this would be more backward-compatible.) For example, from the example in comment #1: { "BOOP", ... } becomes: { "BOOT" __attribute__((nonstring)), ... } and now it doesn't have a NUL-byte terminator? That would allow for trivial adjustment of the initializers, and leave the -Wunterminated-string-initialization not having do make exceptions.