Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ExtUtils-ParseXS CPAN distribution.

Report information
The Basics
Id: 71655
Status: rejected
Priority: 0/
Queue: ExtUtils-ParseXS

People
Owner: Nobody in particular
Requestors: hsk [...] fli-leibniz.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.05
Fixed in: (no value)



Subject: errors from generated "static" declarations
ExtUtils-ParseXS-3.05 (using perl 5.14.1 or 5.14.2) breaks compilation of eg. Devel-DProf-20110802.00: at least, gcc 4.5.1 cannot compile DProf.c generated from DProf.xs, error: static declaration of 'XS_Devel__DProf_END' follows non-static declaration inspecting the generated DProf.c shows, that there is XS(Devel__DProf_END), copied from the beginning of DProf.xs, and later there is XS_EUPXS(XS_Devel__DProf_END), generated by ExtUtils::ParseXS, where XS() expands to "void..." and XS_EUPXS() expands to "static void..." using ExtUtils-Parse-3.04, installing the Devel-DProf module works otoh, this might be a matter of sloppy programming within DProf.xs ?
Thank you for reporting the issue. It turns out that DProf does nasty stuff and contains code that is too cozy with Perl guts to not be broken by this change in XSUB generation. I've posted a trivial DProf-side fix to DProf ticket #70629. I'm sure the maintainer(s) will pick it up -- if that is not the case, please let me know. I will then get co-maintenance permissions and release a fixed DProf myself. I'm marking this issue as rejected. A reply will reopen the ticket. Best regards, Steffen