Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc:5:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char* s = "Hello";
^
prog.cc:6:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
s = "Lol";
^
2 warnings generated.
Lol
Exit Code:
0