On Sun, 29 Jun 2025 at 09:05, Rémi Denis-Courmont <r...@remlab.net> wrote: > > Le sunnuntai 29. kesäkuuta 2025, 5.44.35 Itä-Euroopan kesäaika Kacper > Michajlow a écrit : > > No, I mean could you elaborate on the challenges why you need 4 nested > > generics that ultimately don't compile? > > I never said that. I said I needed nested generics so that it would compile in > spite of the pointer values. The problem is, at that point, some FFmpeg > sources caused GCC to crash on OOM.
Sorry, it's probably because English is not my first language. But if you say that GCC crashes, it means that it doesn't compile in my dictionary. I made a quick experiment and while there are things to improve/fix, I don't see _Generic being one of those issues. https://code.ffmpeg.org/kasper93/FFmpeg/commit/0cf27668aa3496bb7e5f45c08e88a037988550cd I'm testing with clang 21.0.0 and gcc 14.2.0, this is what I have locally. If the problem is with other versions, let me know, this information also has been elusive. > I don't know what else I can add. Ok, let me ask straight then. Can you push your code somewhere, so we can validate your claim that it is not feasible to use C11 generics here? - Kacper _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".