kphp icon indicating copy to clipboard operation
kphp copied to clipboard

!ffi_cdata fails to compile at gcc phase

Open quasilyte opened this issue 3 years ago • 0 comments

if ($cdata_value) ...

This fails at gcc phase.

We should either implement bool conversion for ffi cdata types ($cdata_value !== null?) or give error during the type checking or other translation phase.

quasilyte avatar Feb 21 '22 12:02 quasilyte