Dear C Lazy Web,
How do I define an array of nonstring char arrays?
just a char array, valid:
char str[4] __attribute__((nonstring)):
array of char arrays, cursed:
char multi[10][4] __attribute__((nonstring));
I've tried typedefs and moving the attribute around. No luck. What am I missing?
Here's a godbolt:
https://godbolt.org/z/4Mb61heG1
I'd want to see a warning for both strlen() instances...