This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Math::Gsl 0.06
- To: jonathan at leto dot net
- Subject: Re: Math::Gsl 0.06
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Sat, 10 Nov 2001 10:34:18 +0000 (GMT)
- CC: gsl-discuss at sources dot redhat dot com
- References: <20011108100350.A13761@leto.net><15340.792.913151.918810@debian><20011109165905.A19324@leto.net><15340.23691.852804.640357@debian>
Brian Gough (bjg@network-theory.co.uk) was saying:
> Error: No INPUT definition for type 'const unsigned int' found in Sf.xs, line 13
I was able to get it to compile on my old version of perl by changing
T_UV to T_IV in the typemaps. Apparently there was no entry for T_UV
in the standard perl typemap for 5.004. The definition for T_UV in
later versions seems to be the same as for T_IV however --- they both
silently convert negative values into unsigned values. Maybe it would
be worthwhile to provide a custom typemap entry that gives an error
when a negative value is used for an unsigned argument.