PDA

View Full Version : Typo in rev 640 of eqemu


gaeorn
06-08-2009, 04:36 AM
This patch fixes the minor typo:

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:

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:

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:

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)
{