Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftime is deprecated; not sure what you want to do with this #5

Open
joshudson opened this issue Sep 26, 2023 · 1 comment
Open

ftime is deprecated; not sure what you want to do with this #5

joshudson opened this issue Sep 26, 2023 · 1 comment

Comments

@joshudson
Copy link

Build warning:

cc 8086tiny.c -DNO_GRAPHICS -O3 -fsigned-char -std=c99 -o 8086tiny
8086tiny.c: In function 'main':
8086tiny.c:808:49: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
  808 |                                                 ftime(&ms_clock);
      |                                                 ^~~~~
In file included from 8086tiny.c:12:
/usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here
   29 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
@daniilfigasystems
Copy link

nothing to worry about, just a warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants