#27093 [NEW]: Incorrect casts in oci8.c prevent compiling with Oracle 10g
From: cjbj at hotmail dot com
Operating system: RH Linux 3
PHP version: 4CVS-2004-01-30 (stable)
PHP Bug Type: Compile Failure
Bug description: Incorrect casts in oci8.c prevent compiling with Oracle 10g
Description:
------------
The casts to "(dword *)" in OCICollAppend() and OCICollAssignElem()
calls in oci8.c should be changed to "(dvoid *)" to match the
prototypes.
Without this correction the file will fail to compile in Oracle 10g:
the very obsolete dword no longer appears to be defined in oratypes.h.
Actual result:
--------------
Without this fix, compiling php4-STABLE-200401300430 with --enable-oci8
gives:
/home/cjbj/php/ext/oci8/oci8.c:4833: `dword' undeclared (first use in
this function)
--
Edit bug report at http://bugs.php.net/?id=27093&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27093&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27093&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27093&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27093&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27093&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27093&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27093&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27093&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27093&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27093&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27093&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27093&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27093&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27093&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27093&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27093&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27093&r=float
Thread (5 messages)
- cjbj at hotmail dot com