Re: [PATCH 3/7] graph: add explicit cast to allow C++ build

2022-02-07 Thread Jerin Jacob
On Fri, Feb 4, 2022 at 11:42 PM Stephen Hemminger wrote: > > On Fri, 4 Feb 2022 17:42:05 + > Bruce Richardson wrote: > > > C++ does not have automatic casting to/from void pointers, so need > > explicit cast if header is to be included in C++ code > > > > Signed-off-by: Bruce Richardson > >

Re: [PATCH 3/7] graph: add explicit cast to allow C++ build

2022-02-04 Thread Stephen Hemminger
On Fri, 4 Feb 2022 17:42:05 + Bruce Richardson wrote: > C++ does not have automatic casting to/from void pointers, so need > explicit cast if header is to be included in C++ code > > Signed-off-by: Bruce Richardson > --- > lib/graph/rte_graph_worker.h | 2 +- > 1 file changed, 1 insertion

[PATCH 3/7] graph: add explicit cast to allow C++ build

2022-02-04 Thread Bruce Richardson
C++ does not have automatic casting to/from void pointers, so need explicit cast if header is to be included in C++ code Signed-off-by: Bruce Richardson --- lib/graph/rte_graph_worker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/r