• Sign up for September Mapping Competition! The prize includes Otland Premium time.
  • There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Compiling old TFS on ubuntu 20.04

beliar34

Member
Joined
Feb 28, 2012
Messages
292
Best answers
7
Reaction score
9
sup guys, i am back with my old server but i am stuck on problem that i am strugling to solve ...

When i start compiling i got this error in every comp line ...
"39 | extern int ftime (struct timeb *__timebuf"

C:
In file included from otsystem.h:37,
                 from baseevents.h:20,
                 from baseevents.cpp:20:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
   39 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
Code:
                 from server.cpp:22:
otsystem.h:163:10: warning: ‘int ftime(timeb*)’ is deprecated [-Wdeprecated-declarations]
  163 |  ftime(&t);
      |          ^
i have no ideas 0.o

Solved :
 
Last edited:
Top