Re: zend_get_parameters_ex rework
| From: | Lester Caine | Date: | Fri, 13 Feb 2015 17:10:56 +0000 |
| Subject: | Re: zend_get_parameters_ex rework | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82626@lists.php.net to get a copy of this message | ||
On 13/02/15 16:40, Jan Ehrhardt wrote:
> It still gives some warnings at compile time. Most of them are caused by
>
> ib_link = (ibase_db_link *)zend_fetch_resource2_ex(IBG(default_link),\
> LE_LINK, le_link, le_plink);
>
> warning C4024: 'zend_fetch_resource2_ex' : different types for formal
> and actual parameter 1. I could not find a way to fix this.
>
> A comparable warning in interbase.c - PHP_FUNCTION(ibase_gen_id) might
> be easier to solve, I see now.
I'm sure it is just a mater of 'casting' the pointers used on the
interface to match the new PHP rules. I'll be having a go myself later
... got to earn some money first :)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk