main.c||In function ‘main’:|
main.c|7|error: implicit declaration of function ‘strcat’ [-Wimplicit-function-declaration]|
main.c|7|warning: incompatible implicit declaration of built-in function ‘strcat’|
main.c|7|error: passing argument 1 of ‘strcat’ discards ‘const’ qualifier from pointer target type|
main.c|7|note: expected ‘char *’ but argument is of type ‘const char *’|
main.c|8|error: invalid initializer|
main.c|9|error: incompatible type for argument 1 of ‘fprintf’|
/usr/include/stdio.h|356|note: expected ‘struct FILE * restrict’ but argument is of type ‘FILE’|
main.c|10|error: incompatible type for argument 1 of ‘fclose’|
/usr/include/stdio.h|237|note: expected ‘struct FILE *’ but argument is of type ‘FILE’|
main.c|5|warning: unused parameter ‘argc’ [-Wunused-parameter]|
main.c|5|warning: unused parameter ‘argv’ [-Wunused-parameter]|
||=== Build finished: 5 errors, 3 warnings (0 minutes, 0 seconds) ===|