src/mco2/make_graph.c:69:23: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=]
69 | char *make_name(char *name){
| ~~~~~^~~
In file included from src/mco2/make_graph.c:13:
src/mco2/make_graph.h:40:24: note: previously declared as an array 'char[256]'
40 | char *make_name(String name);
| ~~~~~~^~~
src/mco2/make_graph.c: In function 'display_graph':
src/mco2/make_graph.c:49:25: warning: 'make_name' accessing 256 bytes in a region of size 5 [-Wstringop-overflow=]
49 | strcat(content, make_name("NULL"));
| ^~~~~~~~~~~~~~~~~
src/mco2/make_graph.c:49:25: note: referencing argument 1 of type 'char[256]'
src/mco2/make_graph.c:69:7: note: in a call to function 'make_name'
69 | char *make_name(char *name){
Debug these errors, but the output works and compiles 😄.
Debug these errors, but the output works and compiles 😄.