Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
prog.cc:38:24: error: extra qualification on member 'SimpleVector'
SimpleVector<char *>::SimpleVector(char *v) : value(v)
~~~~~~~~~~~~~~~~~~~~~~^
prog.cc:43:24: error: extra qualification on member 'SimpleVector'
SimpleVector<char *>::SimpleVector(size_t sizeVal) : arrSize(sizeVal)
~~~~~~~~~~~~~~~~~~~~~~^
prog.cc:50:15: error: ISO C++11 does not allow conversion from string literal to 'char *' [-Werror,-Wwritable-strings]
char *vSen { "「はじめからはじめるがよい。そして最後にくるまでつづけるのじゃ。そうしたらとまれ」" };
^
prog.cc:51:16: error: ISO C++11 does not allow conversion from string literal to 'char *' [-Werror,-Wwritable-strings]
char *vTrans{ "Begin at the beginning. Go on till you come to the end. Then stop." };
^
prog.cc:35:9: warning: private field 'arrSize' is not used [-Wunused-private-field]
size_t arrSize;
^
1 warning and 4 errors generated.
Exit Code:
1