/[Apache-SVN]
ViewVC logotype

Revision 1670740


Jump to revision: Previous Next
Author: stevehay
Date: Wed Apr 1 17:40:08 2015 UTC (9 years ago)
Changed paths: 1
Log Message:
Fix compilation failure in some configurations under Perl 5.21.1 and above

The problem is that mod_perl overrides Perl's definition of dNOOP with one that uses the same symbol in an incompatible way. Failures start with Perl 5.21.1 because this version introduced some inline function definitions that can end up using dNOOP internally. The core inline.h is processed too early for mod_perl's override, so functions defined there and functions defined in mod_perl end up using different versions of dNOOP, exposing the incompatibility.

Presumably mod_perl is trying to avoid the warnings that one used to get with Perl 5.6. That was fixed a long time ago, so mod_perl no longer needs an override. However, since README notes that mod_perl *MAY* still work with Perls older than 5.8.2 it is probably worth keeping the override and avoiding the clash of dNOOP definitions by using a different symbol.

Patch by Zefram <zefram@fysh.org> from rt.cpan.org #101144.

Changed paths

Path Details
Directoryperl/modperl/trunk/src/modules/perl/modperl_perl_includes.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26