On 17 July 2015 at 16:19, Maxim Uvarov <[email protected]> wrote:
> in CI arm compilation fails. Looks like it came with gcc update. Any thought
> what happed with arm compiler?
It's not a new warning, it's a new commit...
commit aac78e18e53ab8be17020216921f5e5d14c8b26e is the relevant one.
Cheers,
Anders
>
> static inline int verify_pmr_ipsec_spi(uint8_t *pkt_addr ODP_UNUSED,
> odp_packet_hdr_t *pkt_hdr ODP_UNUSED,
> pmr_term_value_t *term_value ODP_UNUSED)
> {
> uint32_t *spi;
>
> if (!pkt_hdr->input_flags.ipsec)
> return 0;
>
> spi = (uint32_t *)(pkt_addr + pkt_hdr->l4_offset);
>
> *11:30:42* In file included from odp_classification.c:17:0:
> *11:30:42* ./include/odp_classification_inlines.h: In function
> 'verify_pmr_ipsec_spi':
> *11:30:42* ./include/odp_classification_inlines.h:197:8: error: cast
> increases required alignment of target type [-Werror=cast-align]
> *11:30:42* spi = (uint32_t *)(pkt_addr + pkt_hdr->l4_offset);
> *11:30:42* ^
>
> Thanks,
> Maxim.
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp