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
  #8  
Old 11-22-2002, 08:12 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Well, zone compiled alot easier than I thought.. ios::nocreate was removed , so I removed the #ifdef win32 switch and used the windows version of the call, and it seems to be working great.. Not sure why windows used a different function for it, so this might not be the best idea until i can figure out why, but if you'd like to test it on gcc3.2, heres what i did..


In net.cpp

//#ifdef WIN32
ifstream in;in.open(SPELLS_FILE);
//#else
// ifstream in;in.open
//(SPELLS_FILE,ios::nocreate,filebuf::openprot);
//#endif
if(!in.is_open()){
cout << SPELLS_FILE << " not found, spells NOT loaded.";
return;}

I put the changed cpp file at

http://denial.dyndns.org/eqemu/3.13


My server is compiled fine now with gcc3.2. even though there are a ton of warnings (I fixed a bunch in the .cpp files), and i definitely notice a difference with the new compiler optimizations...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
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 04:24 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