Open galaxy001 opened 11 months ago
ko_longopt_t.name should be char const *. When used in cpp, g++ will warn ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] on every ko_longopt_t.name.
ko_longopt_t.name
char const *
ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
ko_longopt_t.name
should bechar const *
. When used in cpp, g++ will warnISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
on everyko_longopt_t.name
.