<div dir="ltr">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.<div><br></div><div>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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 12, 2023 at 6:36 AM Bruce Richardson <<a href="mailto:bruce.richardson@intel.com">bruce.richardson@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Traditionally, DPDK has never specified a minimum C standard used either<br>
in DPDK builds or for applications using DPDK. Following discussion<br>
on-list about C standards, this RFC attempts to start the process of<br>
codifying what our standards expectations are. No code changes are made<br>
by this RFC, instead only the build parameters are changed to explicitly<br>
specify:<br>
<br>
* C99 standard is used to build DPDK itself. This is supported by all<br>
supported compiler versions of GCC and Clang.<br>
* The headers are checked for compatibility with gcc89 standard, which<br>
was the default standard used by the oldest supported version of GCC.<br>
DPDK headers do not build with the official C89 standard, and, to the<br>
best of my knowledge, have never done so.<br>
<br>
Bruce Richardson (1):<br>
build: increase minimum C standard for DPDK builds<br>
<br>
buildtools/chkincs/meson.build | 1 +<br>
meson.build | 1 +<br>
2 files changed, 2 insertions(+)<br>
<br>
--<br>
2.37.2<br>
<br>
</blockquote></div>