DPDK patches and discussions
 help / color / mirror / Atom feed
* out of tree driver builds broken with C++
@ 2022-02-14  9:13 Tyler Retzlaff
  2022-02-14  9:22 ` Thomas Monjalon
  0 siblings, 1 reply; 14+ messages in thread
From: Tyler Retzlaff @ 2022-02-14  9:13 UTC (permalink / raw)
  To: dev, thomas, ocardona; +Cc: roretzla

while the driver api is "internal" we agreed some time ago that drivers
could be built external to the dpdk tree. by enabling the meson setup
option -Denable_driver_sdk=true.

it was agreed that the driver api was internal and would attract no
binary compatibility support which was fine.  this change has now
imposed a further restriction that out of tree drivers have to be
authored in C only as non-C++ compatible code will invariably leak into
the internal structures.

you won't allow us to build C++ drivers in the dpdk tree and it seems
now you are preventing building of C++ drivers outside of the tree too.

could we please re-evaluate this.

thanks.

commit 7a335720575507f55b723b1e10bfea7daeba1386
Author: Thomas Monjalon <thomas@monjalon.net>
Date:   Wed Sep 15 18:46:35 2021 +0200

    lib: remove C++ include guard from private headers

    The private headers are compiled internally with a C compiler.
    Thus extern "C" declaration is useless in such files.

    Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-02-15  8:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14  9:13 out of tree driver builds broken with C++ Tyler Retzlaff
2022-02-14  9:22 ` Thomas Monjalon
2022-02-14 10:45   ` Bruce Richardson
2022-02-14 11:19     ` Thomas Monjalon
2022-02-14 11:43       ` Bruce Richardson
2022-02-14 15:03         ` Bruce Richardson
2022-02-14 17:24           ` Stephen Hemminger
2022-02-14 17:49             ` Thomas Monjalon
2022-02-14 18:21               ` Stephen Hemminger
2022-02-14 18:32                 ` Tyler Retzlaff
2022-02-14 18:40                   ` Tyler Retzlaff
2022-02-14 18:03             ` Bruce Richardson
2022-02-15  6:10   ` Tyler Retzlaff
2022-02-15  8:55     ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).