develooper Front page | perl.dbi.oracle-oci | Postings from December 2001

Linux 9.0.1: boot -all *almost* works

Thread Next
From:
Stephen Clouse
Date:
December 27, 2001 15:58
Subject:
Linux 9.0.1: boot -all *almost* works
Message ID:
20011227175843.A9462@owns.warpcore.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There is difficulty grokking this (from ociap.h):

sword OCIExtractSetKey(dvoid *hndl, OCIError *err, CONST OraText *name,   
                       ub1 type, ub4 flag, CONST dvoid *defval,
                       CONST sb4 *intrange, CONST OraText *CONST *strlist);

This is the XS generated for it:

sword_status
OCIExtractSetKey(hndl, err, name, type, flag, defval, intrange, strlist)
        void *  hndl   
        OCIError *      err
        OraText *       name
        ub1     type
        ub4     flag
        void *  defval
        sb4     &intrange
        OraText * const &strlist
        OUTPUT:
        intrange
        strlist

Predictably, this gets thrown:

Error: 'OraText * const' not in typemap in OCI.xs, line 14552

But fix the typemap, and:

OCI.c: In function `XS_Oracle__OCI_OCIExtractSetKey':
OCI.c:16601: warning: initialization from incompatible pointer type
OCI.c:16601: parse error before `const'
OCI.c:16604: warning: passing arg 8 of `OCIExtractSetKey' from incompatible 
pointer type

- -- 
Stephen Clouse <stephenc@theiqgroup.com>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPCu1sgOGqGs0PadnEQLn4gCgornq5X2DrGKWMcUE8mt6IpU+TGkAoOxs
lEEyiup1tKw0M8vMrTFD+Tpd
=QSCK
-----END PGP SIGNATURE-----

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About