[dpdk-dev] [RFC] Clang errors with bit fields and setting value of ~0.
Hi Keith, On 11/29/2014 05:33 PM, Keith Wiles wrote: > error: implicit truncation from 'int' to bitfield > changes value from -1 to 127 [-Werror,-Wbitfield-constant-conversion] > tx_offload_mask.l2_len = ~0; > Converted to use correct bit values >
[dpdk-dev] [RFC] Clang errors with bit fields and setting value of ~0.
error: implicit truncation from 'int' to bitfield changes value from -1 to 127 [-Werror,-Wbitfield-constant-conversion] tx_offload_mask.l2_len = ~0; Converted to use correct bit values tx_offload_mask.l2_len = 0x7f; Sign