I want to have a static const char array in my class. GCC complained and told me I should use constexpr, although now it\'s telling me
static const
char
constexpr
On my environment, gcc vesion is 5.4.0. Adding "-O2" can fix this compilation error. It seems gcc can handle this case when asking for optimization.