This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: invalid lvalue in assignment
Thank you, Eljay.
BTW: Would this cause an error on older versions of gcc, too? Or only on 4.x?
Regards,
Oliver
Am Dienstag, 20. Februar 2007 20:50 schrieben Sie:
> Hi Oliver,
>
> This is not legit:
>
> ((zend_bool)(*retval).value.lval) = objval->active;
>
> ...nor this...
>
> ((zend_bool)(*retval).value.lval) = objval->parent_access;;
>
> I'm not sure what zval looks like. Probably needs to be implemented in a
> way that is C (ISO 9899) compliant.
>
> HTH,
> --Eljay