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
When compiling with strict C99 compliance we see that both htc.c and hts.c use time without the correct header being included
hts.c:433: implicit function declaration: time
There does seem to be some confusion on the web about whether sys/time.h should have this and it seems to vary on a per platform basis so simply including time.h might not be the right solution. So more elaborate configure magic might be required.
The text was updated successfully, but these errors were encountered:
Found as part of this effort:
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
When compiling with strict C99 compliance we see that both htc.c and hts.c use time without the correct header being included
hts.c:433: implicit function declaration: time
There does seem to be some confusion on the web about whether sys/time.h should have this and it seems to vary on a per platform basis so simply including time.h might not be the right solution. So more elaborate configure magic might be required.
The text was updated successfully, but these errors were encountered: