-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I am getting the following error when compiling '0_fgets' on Linux:
gcc main.c c-embed.o -include ../../c-embed.h -DCEMBED_TRANSLATE -o main
In file included from :
./../../c-embed.h:177:6: error: conflicting types for ‘rewind’
177 | void rewind(EFILE* e){
| ^~~~~~
In file included from ./../../c-embed.h:14,
from :
/usr/include/stdio.h:694:13: note: previous declaration of ‘rewind’ was here
694 | extern void rewind (FILE *__stream);
| ^~~~~~
make: *** [makefile:19: build] Error 1
Looking at c-embed.h I guess 'rewind' should be renamed to 'erewind'?
Regards,
GW
Metadata
Metadata
Assignees
Labels
No labels