ecm-pushbx / 8086tiny

ecm's repository for 8086tiny: a tiny PC emulator/virtual machine
MIT License
32 stars 4 forks source link

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

Open joshudson opened 1 year ago

joshudson commented 1 year ago

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 commented 2 months ago

nothing to worry about, just a warning