On Fri, Mar 21, 2003 at 05:26PM, Jeroen Latour wrote:
> /home/local/bin/perl5.8.0 /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap perlobject.map -typemap typemap Strip.xs > Strip.xsc && mv Strip.xsc Strip.c
> Unknown option: C++
> Usage: xsubpp [-v] [-except] [-prototypes] [-noversioncheck] [-nolinenumbers] [-nooptimize] [-noinout] [-noargtypes] [-s pattern] [-typemap typemap]... file.xs
The problem here is that your version of xsubpp doesn't understand the '-C++' option for C++ XS code. However, according to the docs, the version of xsubpp that comes with perl 5.8.0 *does* accept this option:
http://search.cpan.org/author/JHI/perl-5.8.0/lib/ExtUtils/xsubpp
The only suggestion I can make is to re-install xsubpp.
Hrm. I don't know what the problem is then?
Doesn't it work without -C++?
I won't reinstall xsubpp, since I don't use HTML::Strip. I'm just testing :)
Jeroen
