RE: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12

2022-08-28 Thread Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 > > Typecasting uint32_t array to uint16_t and accessing it as max array > size(at time of declaration of uint32_t array) causes gcc-12 to > throw an error. > > GCC 12 raises the following warn

RE: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12

2022-08-25 Thread Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 > > Typecasting uint32_t array to uint16_t and accessing it as max array > size(at time of declaration of uint32_t array) causes gcc-12 to > throw an error. > > GCC 12 raises the following warn

[PATCH] examples/ipsec-secgw: compilation fix for GCC-12

2022-08-24 Thread Amit Prakash Shukla
Typecasting uint32_t array to uint16_t and accessing it as max array size(at time of declaration of uint32_t array) causes gcc-12 to throw an error. GCC 12 raises the following warning: In function 'send_multi_pkts', inlined from 'route6_pkts_neon' at ../examples/ipsec-secgw/ipsec_lpm_neon.h: