Subject: | lots of warnings |
I upgraded ParseXS to 2.2002 a while back, as part of periodic upgrading in response to
CPAN's 'r' command. I use perl 5.8.9 (waiting for 5.10.1).
Recently I've been working on my IPC::MMA module, and 'make' commands on it would result
in lots of warnings of form:
MMA.c: In function `boot_IPC__MMA':
MMA.c:3033: warning: passing arg 3 of `Perl_newXS' discards qualifiers from pointer target
type
See http://www.perlmonks.org/?node_id=787482 for a running story. I solved this problem
by changing line 982 of /usr/local/lib/perl5/site_perl/5.8.9/ExtUtils/ParseXS.pm from:
# const char* file = __FILE__;
TO
# char* file = __FILE__;
Maybe my system is missing some other ingredient that makes the 'const' form work
properly.
Best Regards,
Craig MacKenna