EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   Typo in rev 640 of eqemu (https://www.eqemulator.org/forums/showthread.php?t=28499)

gaeorn 06-08-2009 04:36 AM

Typo in rev 640 of eqemu
 
This patch fixes the minor typo:

Code:

Index: common/shareddb.h
===================================================================
--- common/shareddb.h  (revision 640)
+++ common/shareddb.h  (working copy)
@@ -6,7 +6,7 @@
 #include "database.h"
 #include "skills.h"
 #include "../zone/spdat.h"
-#include "item.h"
+#include "Item.h"

 #include <list>


gaeorn 06-08-2009 04:46 AM

Also:

Code:

Index: zone/perl_questitem.cpp
===================================================================
--- zone/perl_questitem.cpp    (revision 640)
+++ zone/perl_questitem.cpp    (working copy)
@@ -22,7 +22,7 @@
 #include "../common/debug.h"
 #include "embperl.h"

-#include "../common/item.h"
+#include "../common/Item.h"

 #ifdef THIS            /* this macro seems to leak out on some systems */
 #undef THIS


gaeorn 06-08-2009 05:26 AM

I also got this linker error:

Code:

embperl.o: In function `xs_init':
/home/eqemu/sources/EQEmuServer-trunk/zone/embperl.cpp:88: undefined reference to `boot_QuestItem'

Which I resolved with this patch:

Code:

Index: zone/perl_questitem.cpp
===================================================================
--- zone/perl_questitem.cpp    (revision 640)
+++ zone/perl_questitem.cpp    (working copy)
@@ -29,10 +29,6 @@
 #endif


-#ifdef __cplusplus
-extern "C"
-#endif
-
 XS(XS_QuestItem_GetName);
 XS(XS_QuestItem_GetName) {
        dXSARGS;
@@ -119,6 +115,10 @@



+#ifdef __cplusplus
+extern "C"
+#endif
+
 XS(boot_QuestItem);
 XS(boot_QuestItem)
 {



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

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.