FFI _Float128

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hey there, folks. I hope you are well.

I was trying to create a PoC using FFI with FFMpeg's libav. When trying to load avformat.h (pre-processed with both cpp or gcc) I have the following error:

PHP Fatal error:  Uncaught FFI\ParserException: Undefined C type "_Float128" at line 972 in /tmp/ffi-ffmpeg/test.php:5

I am not a C developer, but it is my understanding that I'm not able to use a header file that contains _Float128 type. Is there any workaround for this?

I'll provide a GIST with the code I have so the error can be reproduced:

Thanks in advance for the help,
Vinicius Dias

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux