[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-03-08 Thread andrew--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #31 from Andrew Clayton --- Thanks everyone, looking forward to putting this to use!

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-03-01 Thread andrew--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #27 from Andrew Clayton --- Thanks for the update!

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-01-21 Thread andrew--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #24 from Andrew Clayton --- I take it it's too late for this to land in GCC 15? (I have immediate uses for this!).