# Z_BVAL (lvalue casts)

- Thread: https://externals.io/message/28096
- Original archive: https://news-web.php.net/php.internals/28096
- Started by Oliver Block on 2007-02-20T20:37:05+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28096 — Oliver Block — 2007-02-20T20:37:05+00:00

URL: https://externals.io/message/28096#28096

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

---

## #28106 — Michael Wallner — 2007-02-20T21:31:29+00:00

URL: https://externals.io/message/28096#28106 · In reply to: #28096

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

---

## #28110 — Oliver Block — 2007-02-21T16:59:14+00:00

URL: https://externals.io/message/28096#28110 · In reply to: #28106

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
