Re:GCC Non-bugs
by plorkyeran on Sunday March 01, 2015 @06:22PM
(#9129385)
-pedantic gives "warning: array initialized from parenthesized string constant" for that, so I'm guessing it's an unintended consequence of a nonstandard extension. Might be worth reporting since at the minimum the warning is wrong.
static char s[] = * &"foo";
The c standard says char array initializers are either a string, or a string surrounded by optional '{}' .