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

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-19-2011, 05:04 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

From a quick 'google' this appears to be due to some changes in G++ 4.5. You need to remove ::pair from lines 1404 and 1427, i.e.
Code:
Index: tradeskills.cpp
===================================================================
--- tradeskills.cpp     (revision 1832)
+++ tradeskills.cpp     (working copy)
@@ -1401,7 +1401,7 @@
                }*/
                uint32 item = (uint32)atoi(row[0]);
                uint8 num = (uint8) atoi(row[1]);
-               spec->onsuccess.push_back(pair<uint32,uint8>::pair(item, num));
+               spec->onsuccess.push_back(pair<uint32,uint8>(item, num));
        }
        mysql_free_result(result);

@@ -1424,7 +1424,7 @@
                        }*/
                        uint32 item = (uint32)atoi(row[0]);
                        uint8 num = (uint8) atoi(row[1]);
-                       spec->onfail.push_back(pair<uint32,uint8>::pair(item, num));
+                       spec->onfail.push_back(pair<uint32,uint8>(item, num));
                }
                mysql_free_result(result);
        }
That is a 'diff', but essentially, open tradeskills.cpp with an editor, go to lines 1404, remove ::pair, and then do the same on line 1427.

All the other 'warnings' can be safely ignored.

Last edited by Derision; 01-19-2011 at 05:14 PM..
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 12:29 PM.


 

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