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

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Fri Feb 9 13:22:25 EET 2024


On Monday, 05 February 2024 at 21:53, Niklas Haas wrote:
> On Mon, 05 Feb 2024 15:13:22 -0500 Devin Heitmueller
> <devin.heitmueller at ltnglobal.com> wrote:
> > On Mon, Feb 5, 2024 at 2:59 PM Anton Khirnov <anton at khirnov.net> wrote:
> > >
> > > It should be available in all relevant modern compilers and will
> > > allow us to use features like anonymous unions.
> > 
> > Is everybody on board with the implications for this patch in terms
> > of platforms we allow building on?  For example, the gcc on Centos7
> > doesn't support C17, and that isn't *that* old of a platform.
> > 
> > If all the developers agree that we won't support less than Centos8,
> > then so be it.  But I think this should be a conscious decision, and
> > we might want to reflect it in the documentation somewhere on what
> > major platforms/versions we expect to be able to build on.
> 
> Note that CentOS 7 stopped receiving package updates 4 years ago, and
> will stop receiving security fixes in a couple of months. So this
> discussion has an expiry date.

Even so, a C17-supporting compiler (gcc 11.2.1) is available for CentOS 7
in the devtoolset-11-gcc package (from
http://mirror.centos.org/centos/7/sclo/x86_64/rh/).

Regards,
Dominik
-- 
Fedora   https://fedoraproject.org
Deep in the human unconscious is a pervasive need for a logical universe that
makes sense. But the real universe is always one step beyond logic.
        -- from "The Sayings of Muad'Dib" by the Princess Irulan


More information about the ffmpeg-devel mailing list