<div dir="ltr"><div dir="ltr"><div>Any C program including x265.h will fail to build because of this line</div><div><br></div><div>x265_zone *x265_zone_alloc(int zoneCount, bool isZoneFile);<br></div><div dir="ltr"><br></div><div>Example output from ffmpeg<br></div><div dir="ltr"><br></div><div dir="ltr">BEGIN /home/koda/tc/tmp/ffconf.JBakU0BM/test.c<br>    1    #include <x265.h><br>    2    #include <stdint.h><br>    3    long check_x265_api_get(void) { return (long) x265_api_get; }<br>    4    int main(void) { int ret = 0;<br>    5     ret |= ((intptr_t)check_x265_api_get) & 0xFFFF;<br>    6    return ret; }<br>END /home/koda/tc/tmp/ffconf.JBakU0BM/test.c<br>gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-pointer -fPIC -pthread -I/home/koda/stack/include/opus -I/home/koda/stack/include/opus -L/home/koda/stack/lib -c -o /home/koda/tc/tmp/ffconf.JBakU0BM/test.o /home/koda/tc/tmp/ffconf.JBakU0BM/test.c<br>In file included from /home/koda/tc/tmp/ffconf.JBakU0BM/test.c:1:0:<br>/home/koda/stack/include/x265.h:1801:43: error: unknown type name 'bool'<br> x265_zone *x265_zone_alloc(int zoneCount, bool isZoneFile);<br>                                           ^<br></div><div>Please set up a CI or something to prevent this kind of breakage.</div><div>Thank you<br></div><div dir="ltr">-- <br><div dir="ltr" class="gmail_signature">Vittorio</div></div></div></div>