• 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!

Linux 3 warning Compiling The Forgotten Server 0.3.6pl1

olav1ar

New Member
Joined
Aug 1, 2008
Messages
55
Reaction score
0
Is this important warnings, or is this the type that can only be ignored?

Code:
Checked out revision 80.
root@ubuntu:/home/ubuntu/ot# cd 0.3.6pl1 && ./autogen.sh && ./configure --enable-mysql --enable-server-diag && make

Code:
globalevent.cpp: In member function ‘void GlobalEvents::think(uint32_t)’:
globalevent.cpp:131: warning: comparison between signed and unsigned integer expressions

Code:
house.cpp: In member function ‘bool Houses::payHouse(House*, time_t, uint32_t)’:
house.cpp:914: warning: comparison between signed and unsigned integer expressions

Code:
otserv.cpp: In function ‘void allocationHandler()’:
otserv.cpp:231: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
 
no modified, compiling directly from svn.
Server is starting fine, ill give it a try ....

to compile i use :
Code:
Compiled with GNU C++ version 4.4.1 at Dec 28 2009, 09:37:18.
 
Last edited:
Back
Top