FFI _Float128
| From: | Vinicius Dias | Date: | Sat, 17 Jun 2023 03:19:46 +0000 |
| Subject: | FFI _Float128 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328222@lists.php.net to get a copy of this message | ||
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:
https://gist.github.com/CViniciusSDias/4023e2f77dc963952624903911558a8f
Thanks in advance for the help,
Vinicius Dias