You wrote const const
instead of static const char* const values[];
(where you define the pointer and base values as const
)
In addition, you need to initialize it:
static const char* const values[] = {"string one", "string two"};
Mesop source share