8086tiny icon indicating copy to clipboard operation
8086tiny copied to clipboard

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

Open joshudson opened this issue 1 year ago • 1 comments

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)
      |            ^~~~~

joshudson avatar Sep 26 '23 03:09 joshudson

nothing to worry about, just a warning

daniilfigasystems avatar Sep 08 '24 01:09 daniilfigasystems