Front page | perl.perl5.porters |
Postings from February 2012
Re: XS Typemap documentation and related changes
Thread Previous
|
Thread Next
From:
Craig A. Berry
Date:
February 1, 2012 20:50
Subject:
Re: XS Typemap documentation and related changes
Message ID:
CA+vYcVyM8chY+3jiucVRRRsthvsOZb_0j7o-kYgQ1pq6t_J4EA@mail.gmail.com
On Wed, Feb 1, 2012 at 1:47 AM, Steffen Mueller <smueller@cpan.org> wrote:
> Hi all,
>
> The changes outlined below are now in blead. You know where to find me for
> sending bombs.
No bombs, just a couple of friendly stun grenades from the compiler I'm using:
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/NOANSI_ALIAS/float=ieee/ieee=denorm/NAMES=(SHORTENED)/Define=(_USE_STD_STAT=1,"VERSION=""0.08""","XS_VERSION=""0.08""")/Include=([--])/List/Debug/NoOpt
TYPEMAP.c
inputfh in = IoIFP(sv_2io(ST(0)))
.....................^
%CC-W-PTRMISMATCH, In the initializer for in, the referenced type of
the pointer value "(Perl_sv_2io(...))->sv_u.svu_fp" is "pointer to
struct _PerlIO", which is not compatible with "struct _PerlIO".
at line number 1542 in file D0:[craig.blead.ext.XS-Typemap]TYPEMAP.C;1
if ( do_open(gv, "<&", 2, FALSE, 0, 0, RETVAL) )
.................^
%CC-W-PTRMISMATCH, In this statement, the referenced type of the
pointer value "RETVAL" is "struct _PerlIO", which is not compatible
with "pointer to struct _PerlIO".
at line number 1549 in file D0:[craig.blead.ext.XS-Typemap]TYPEMAP.C;1
outputfh in = IoOFP(sv_2io(ST(0)))
.............................^
%CC-W-PTRMISMATCH, In the initializer for in, the referenced type of
the pointer value "((XPVIO ...)(Perl_sv_2io(...))->sv_any)->xio_ofp"
is "pointer to struct _PerlIO", which is not compatible with "struct
_PerlIO".
at line number 1566 in file D0:[craig.blead.ext.XS-Typemap]TYPEMAP.C;1
if ( do_open(gv, "+>&", 3, FALSE, 0, 0, RETVAL) )
.................^
%CC-W-PTRMISMATCH, In this statement, the referenced type of the
pointer value "RETVAL" is "struct _PerlIO", which is not compatible
with "pointer to struct _PerlIO".
at line number 1573 in file D0:[craig.blead.ext.XS-Typemap]TYPEMAP.C;1
Thread Previous
|
Thread Next