On 4/26/24 19:44, Ilya Maximets wrote:
> Clang 18.1.3-2.fc41 throws a warning:
> 
>   lib/tc.c:3060:25: error: field 'sel' with variable sized type
>             'struct tc_pedit_sel' not at the end of a struct or class is a
>             GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
> 
>    3060 |         struct tc_pedit sel;
>         |                         ^
> 
> Refactor the structure into a proper union to avoid the build failure.
> 
> Interestingly, clang 18.1.3-2.fc41 on Fedora throws a warning, but
> relatively the same version 18.1.3 (1) on Ubuntu 23.04 does not.
> 
> Signed-off-by: Ilya Maximets <[email protected]>
> ---

Recheck-request: github-robot

(Robot was down and didn't check the patch.  Same for a few other
patches on a list.)
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to