misc: clang-11 and gcc-10 support 78/29378/3
authorDamjan Marion <damarion@cisco.com>
Sat, 10 Oct 2020 17:17:58 +0000 (19:17 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 12 Oct 2020 16:41:49 +0000 (16:41 +0000)
commit8c6988797e2a5d6da87fa73fee833ff3776b156b
tree4a78aa4d2a29527d006d24e5cba000d82e6897b8
parentc96ac7648efcf3d6d62513de54d96d34378e20fa
misc: clang-11 and gcc-10 support

clang-11 complains:

 error: field 'buffer_template' with variable sized type 'vlib_buffer_t' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]

Type: improvement
Change-Id: I2cb6b4fde723a05b42cf33dd8130df074f0362ab
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/CMakeLists.txt
src/plugins/dpdk/device/dpdk.h
src/plugins/memif/private.h
src/vnet/devices/virtio/device.c
src/vnet/pg/pg.h