[Bug 1114] build failures with clang 15
bugzilla at dpdk.org
bugzilla at dpdk.org
Wed Oct 26 11:08:40 CEST 2022
https://bugs.dpdk.org/show_bug.cgi?id=1114
Bug ID: 1114
Summary: build failures with clang 15
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev at dpdk.org
Reporter: alialnu at nvidia.com
Target Milestone: ---
DPDK build fails with clang 15 in Fedora Rawhide due to unused variables:
lib/eal/common/rte_service.c:110:6: error: variable 'count' set but not used
[-Werror,-Wunused-but-set-variable]
lib/vhost/virtio_net.c:1880:11: error: variable 'remained' set but not used
[-Werror,-Wunused-but-set-variable]
drivers/bus/dpaa/base/qbman/bman.h:522:6: error: variable 'aq_count' set but
not used [-Werror,-Wunused-but-set-variable]
(And in many other places).
Probably caused by this change:
https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html
> -Wunused-but-set-variable now also warns if the variable is only used by
> unary operators.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list