You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: