Code:
static char *abortMsg[] = {
    NULL,
    "Invalid command line arguments",
    "Failed to open source file",
    "Failed to open intermediate form file",
    "Failed to open assembly file",
    "Too many syntax errors",
    "Stack overflow",
    "Code segment overflow",
    "Nesting too deep",
    "Runtime error",
    "Unimplemented feature",
};
In another thread I was given the advice to get rid of char * and use string type. However, in the above code from my old project I get warnings about this conversion. The recommendation was to change everything to string. I don't see how to do this, but another recommendation that worked and got rid of the warnings was to change to static const char* [etc]. I don't see how to use string or string_view to fix these warnings.
Any advice appreciated.
maxcy/wt1v