[dpdk-dev] [Bug 821] net/bnxt build failure with clang 3.4.2
bugzilla at dpdk.org
bugzilla at dpdk.org
Sun Oct 3 19:05:45 CEST 2021
https://bugs.dpdk.org/show_bug.cgi?id=821
Bug ID: 821
Summary: net/bnxt build failure with clang 3.4.2
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev at dpdk.org
Reporter: alialnu at nvidia.com
Target Milestone: ---
"""
$ export CC=clang
$ meson --werror --buildtype=debugoptimized build && ninja-build -C build
[..]
../../root/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:140:18: error:
comparison of constant 2147483648 with expression of type 'const enum
rte_flow_item_type' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (item->type >= (uint32_t)
~~~~~~~~~~ ^ ~~~~~~~~~~
../../root/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:142:19: error:
comparison of constant 2147483650 with expression of type 'const enum
rte_flow_item_type' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (item->type >=
~~~~~~~~~~ ^
../../root/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:188:25: error:
comparison of constant 2147483648 with expression of type 'const enum
rte_flow_action_type' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (action_item->type >=
~~~~~~~~~~~~~~~~~ ^
../../root/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:190:26: error:
comparison of constant 2147483650 with expression of type 'const enum
rte_flow_action_type' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (action_item->type >=
~~~~~~~~~~~~~~~~~ ^
4 errors generated.
"""
Reproduces on main (086d426406).
OS: CentOS Linux 7
GCC: 4.8.5 20150623 (Red Hat 4.8.5-44)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list