Re: [PATCH v8] C, ObjC: Add -Wunterminated-string-initialization
Ping. I see that GCC-14 has been released recently. This is a gentle ping to see if this is a better time for this patch. Have a lovely day! Alex signature.asc Description: PGP signature
[PATCH v8] C, ObjC: Add -Wunterminated-string-initialization
Warn about the following: char s[3] = "foo"; Initializing a char array with a string literal of the same length as the size of the array is usually a mistake. Rarely is the case where one wants to create a non-terminated character sequence from a string literal. In some cases, for writing