origin icon indicating copy to clipboard operation
origin copied to clipboard

compiling issue

Open alfredoivan opened this issue 3 years ago • 1 comments

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");

alfredoivan avatar Feb 21 '22 20:02 alfredoivan

The errors found at compile time : passing 'const char [26]' to parameter of type 'char *' discards qualifiers

alfredoivan avatar Feb 21 '22 20:02 alfredoivan