[PATCH v3 1/1] eal: add C++ include guard in generic/rte_vect.h
Stephen Hemminger
stephen at networkplumber.org
Mon Oct 7 22:20:43 CEST 2024
On Tue, 2 Apr 2024 09:19:23 -0700
Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:
> On Sun, Mar 17, 2024 at 08:44:15PM -0600, Ashish Sadanandan wrote:
> > The header was missing the extern "C" directive which causes name
> > mangling of functions by C++ compilers, leading to linker errors
> > complaining of undefined references to these functions.
> >
> > Also updated the coding style contribution guideline with a new
> > "Language Linkage" section stating `extern "C"` block should be added to
> > public headers.
> >
> > Fixes: 86c743cf9140 ("eal: define generic vector types")
> > Cc: nelio.laranjeiro at 6wind.com
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Ashish Sadanandan <ashish.sadanandan at gmail.com>
> > ---
> Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list