[FFmpeg-devel] [PATCH] avcodec/avcodec: remove usage of __typeof__()

Anton Khirnov anton at khirnov.net
Mon Sep 9 13:01:01 EEST 2024


Quoting Rémi Denis-Courmont (2024-09-09 09:41:59)
> 
> 
> Le 8 septembre 2024 22:22:01 GMT+03:00, James Almer <jamrial at gmail.com> a écrit :
> >It's non-standard C.
> 
> The description is a little bit misleading. `typeof` is standard C (as of last year). Sure, technically `__typeof__` is not standard but this is easily misinterpreted.

AFAIK C23 is still in draft stage. Not to mention we use C11, where
typeof is indeed not standard.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list