[FFmpeg-devel] [PATCH 2/2] Require compilers to support C17.

Lynne dev at lynne.ee
Wed Feb 7 23:48:53 EET 2024


Feb 7, 2024, 22:11 by ffmpeg-devel at ffmpeg.org:

>
>
>> On Feb 7, 2024, at 11:27 AM, Lynne <dev at lynne.ee> wrote:
>>
>>>>
>>>> As a compromise, we could start requiring C11 now, and C17 in 7.1.
>>>> Or does anyone still care about compilers without even c11 support?
>>>>
>>>
>>> How about C11 now and C17 in a year with ffmpeg 8?
>>>
>>
>> Do you have setups and reasons why you can't update them
>> that don't support C17 or are you speculating?
>>
>
> I don't have any personal reasons why I can't support C17 immediately, but C11 now / C17 in a year seems like an approach more likely to find consensus than C17 immediately (or bumping to C17 in a minor release). It was also roughly the approach proposed in person at FOSDEM.
>

It wasn't?
There were simply no objections to moving to C11.
The C17 plan came about later because it has important bugfixes.
It doesn't really matter as compilers backported the new behaviour to C11
(or rather, they consistently had the same behaviour, but now it became a standard).

I think there is consensus. No need to be careful or conservative,
this is a build-time bump. We've had those before, such as cuttting
off support for MSVC prior to 2015, and non-C99 compilers
(via the horrible C99-to-89 script).

Users who have real issues can always leave their opinion here,
and if not, we maintain FFmpeg 6 still.


More information about the ffmpeg-devel mailing list