1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// 981203 bkoz // g++/14664 + test // Build don't link: // Special g++ Options: -fno-const-strings char foo[26]; void bar() { // the addition of the flag "-fno-const-string-literal" reverts to pre-ISO. // -g++: ANSI C++ forbids assignment of arrays foo = "0123456789012345678901234"; // WARNING - }