/in/foo.c: In function 'listcreate':
/in/foo.c:66:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
gets(temp->name);
^~~~
In file included from /in/foo.c:2:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.c:79:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
gets(temp_name);
^~~~
In file included from /in/foo.c:2:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.c:92:20: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[14]' [-Wformat=]
scanf("%s",(pcur->givelist+k));
^
/tmp/ccfBzknX.o: In function `listcreate':
foo.c:(.text+0xe8): warning: the `gets' function is dangerous and should not be used.