Hello Ben,

> GCC says:
> 
>     ../lib/ofp-actions.c:4189:13: error: cast from 'char *' to 'struct 
> ofpact_encap *' increases required alignment
> from 1 to 4 [-Werror,-Wcast-align]
>     ../lib/ofp-actions.c:4222:16: error: cast from 'const uint8_t *' (aka 
> 'const unsigned char *') to 'const struct
> ofpact_ed_prop *' increases required alignment from 1 to 2 
> [-Werror,-Wcast-align]

I cannot see these errors. I've tested with GCC 4.8.4 on Ubuntu 14.04.5 LTS and 
with GCC 6.3.0 on Ubuntu 17.04. 
Which version of GCC and Linux distro did you use? Did you pass any special 
args to make or to the configure script?

Best regards,
Zoltan

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to