On Fri, Mar 11, 2022 at 05:11:02PM -0800, Stephen Hemminger wrote:
> On Fri, 11 Mar 2022 20:05:23 +
> Bruce Richardson wrote:
>
> > When compiling on FreeBSD with clang and include checking enabled,
> > errors are emitted due to differences in how empty structs/unions are
> > handled in C and
On Fri, 11 Mar 2022 20:05:23 +
Bruce Richardson wrote:
> When compiling on FreeBSD with clang and include checking enabled,
> errors are emitted due to differences in how empty structs/unions are
> handled in C and C++, as C++ structs cannot have zero size.
>
> ../lib/eventdev/rte_eventdev.h
When compiling on FreeBSD with clang and include checking enabled,
errors are emitted due to differences in how empty structs/unions are
handled in C and C++, as C++ structs cannot have zero size.
../lib/eventdev/rte_eventdev.h:992:2: error: union has size 0 in C, non-zero
size in C++
Since the
3 matches
Mail list logo