Linux 9.0.1: boot -all *almost* works
[email protected] (Stephen Clouse) Thu, 27 Dec 2001 17:58:43 -0600
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Message-ID | <[email protected]> |
-----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 <[email protected]>
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-----