Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-17-2002, 12:32 PM
penfold1972
Fire Beetle
 
Join Date: May 2002
Posts: 13
Default Redhat 7.2 compling problem

Well, I have been lurking for a while now and must say that I am excited about finding this project. I've gone and purchased a C++ book so I can get more involved too!

I initally ran a windows server, but want to move it over to my Redhat box. I think I got all the libs I need, but I am still getting errors.

I only get one (in the common/database.cpp) when compiling world, and a few more when compiling zone.

Anyone have any ideas for me to look at with these? (This isn't all ov my zone errors, but hopefully whatever I'm missing will take care of them as well.)

==============
# when compiling world

../common/database.cpp: In method `bool Database::LoadNPCTypes ()':
../common/database.cpp:1945: warning: assignment to `int16' from
`double'
../common/database.cpp:1945: warning: argument to `short unsigned int'
from `double'


#when compling zone

gcc -c -g -m486 -pthread -pipe -DLUCLIN -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql attack.cpp -o attack.o
attack.cpp: In method `void Client::Attack (Mob *, int)':
attack.cpp:165: warning: initialization to `int32' from `float'
attack.cpp:165: warning: argument to `unsigned int' from `float'
attack.cpp: In method `void Client:amage (Mob *, int, short unsigned
int, unsigned char)':
attack.cpp:320: warning: initialization to `int16' from `float'
attack.cpp:320: warning: argument to `short unsigned int' from `float'
attack.cpp: In method `void NPC::Attack (Mob *, int)':
attack.cpp:406: warning: initialization to `int' from `float'
attack.cpp:406: warning: argument to `int' from `float'
attack.cpp:542: warning: assignment to `int' from `double'
attack.cpp:542: warning: argument to `int' from `double'
attack.cpp:557: warning: assignment to `int' from `double'
attack.cpp:557: warning: argument to `int' from `double'
attack.cpp: In method `void NPC:amage (Mob *, int, short unsigned
int, unsigned char)':
attack.cpp:694: warning: initialization to `int16' from `float'
attack.cpp:694: warning: argument to `short unsigned int' from `float'
attack.cpp: In method `void Mob::MonkSpecialAttack (Mob *, unsigned
char)':
attack.cpp:878: warning: passing `float' for argument passing 1 of `abs
(int)'
attack.cpp:878: warning: argument to `int' from `float'
attack.cpp:882: warning: assignment to `sint32' from `double'
attack.cpp:882: warning: argument to `int' from `double'
attack.cpp: In method `void Mob::RogueBackstab (Mob *, Item_Struct *,
unsigned char)':
attack.cpp:1119: warning: assignment to `sint32' from `float'
attack.cpp:1119: warning: argument to `int' from `float'


gcc -c -g -m486 -pthread -pipe -DLUCLIN -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql spells.cpp -o spells.o
spells.cpp: In method `void Mob::MakePet (char *)':
spells.cpp:1105: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1114: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1123: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1132: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:59 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3