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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2012, 07:10 PM
Harcourt
Sarnak
 
Join Date: Jul 2011
Posts: 33
Default Perl 5.14 change

GvCV is no longer an l-value, which will break embperl.cpp.

The fix is easy, but as I have significant local modifications I'll post the details and let someone else create the patch.

Around line 150:


Code:
       if(gv_stashpv("CORE::GLOBAL", FALSE)) {
                GV *exitgp = gv_fetchpv("CORE::GLOBAL::exit", TRUE, SVt_PVCV);
                GvCV_set(exitgp, perl_get_cv("my_exit", TRUE)); //dies on error
                GvIMPORTED_CV_on(exitgp);
                GV *sleepgp = gv_fetchpv("CORE::GLOBAL::sleep", TRUE, SVt_PVCV);
                GvCV_set(sleepgp, perl_get_cv("my_sleep", TRUE));       //dies on error
                GvIMPORTED_CV_on(sleepgp);
        }
Reply With Quote
  #2  
Old 01-20-2012, 04:50 PM
kalua
Fire Beetle
 
Join Date: Nov 2011
Location: USA
Posts: 9
Default

There is at least one other cpp file that has issues compiling against perl 5.13+ due to the GvCV changes.

There's a thread on the Windows forum regarding this.

Edit: EQWParser.cpp
Reply With Quote
Reply


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 07:49 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