warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] code example
Example: passing 'const char *' to parameter of type 'char *' discards qualifiers
char* write_filename;
fopen((char*)write_filename,"wb");
makedir(write_filename);