On Fri, Feb 03, 2023 at 09:09:14AM -0500, Ben Magistro wrote: > Since this topic keeps coming up in other threads I'll chime in with my > $0.01 here. We've been using CentOS 7 for awhile (and working on > migrating off) but have had to leverage devtoolset/llvmtoolset for > various reasons. I remember a discussion of installing a different > compiler coming up but don't remember which thread that was in/what the > outcome was. While I'd like to just brush over C7 and say there is a > compatible compiler available so just make the change I also realize > that making that change could be quite disruptive to existing code > bases. > However, the 22.11 LTS will be EOL in Nov 2024. CentOS 7 is EOL Jun > 2024. For the 23.x series and going forward I don't think starting > with a C11 requirement is an unreasonable ask. > Thanks for that input. If we drop support for Centos/RHEL 7, I think we should be ok to pass -std=c11 for the build of DPDK.
Have you any thoughts on the second part of the c11 move - where our headers require c11 support and therefore may require that the end user builds their own code using -std=c11? This latter part is the bit that concerns me a little, as I feel it may be problematic for some with older codebases. /Bruce