For Perl version 10 (i.e. PERL_VERSION equal to 10) the compiler (g++) complains about
# define SWIG_croak_null() croak(Nullch)
To fix it, I modified /usr/share/swig1.3/perl5/perlrun.swg
and replaced the line with
# define SWIG_croak_null() croak("Croak at line %d\n", __LINE__)
This resolves the warning, and as far as I have tested resolves the issue.
Log in to post a comment.