Z_BVAL (lvalue casts)

php.internals

Oliver Block

19 years ago
Hello internals, I don't know if you are aware of that. I just tried to compile some pecl code. I get an error message using this with gcc 4.x if it is used like Z_BVAL(myval) = ...; I was told it the gcc-team deprecated lvalue casts with version 3.4. Regards, Oliver

Michael Wallner

19 years ago
Oliver Block wrote:
> Hello internals, > > I don't know if you are aware of that. I just tried to compile some pecl code. > I get an error message using this with gcc 4.x if it is used like > > Z_BVAL(myval) = ...;
That should be ZVAL_BOOL(z, ...); So, what's been "some pecl code"?
-- Michael

Oliver Block

19 years ago
Hello Michael, Am Dienstag, 20. Februar 2007 22:31 schrieb Michael Wallner:
> So, what's been "some pecl code"?
runkit. (runkit_sanbox.c:~1464) Regards, Oliver