origin
origin copied to clipboard
compiling issue
At compiling the project, there are many errors related to char* to char[] It is easily fixed by casting:
error(EXIT_OTHER_ERROR, errno, "failed to allocate memory");
Replaced with: error(EXIT_OTHER_ERROR, errno, (char*)"failed to allocate memory");
The errors found at compile time : passing 'const char [26]' to parameter of type 'char *' discards qualifiers