12/06/2013 16:46, Olivier MATZ :
> On 06/12/2013 04:30 PM, Thomas Monjalon wrote:
> > The previous fix was for g++ but is broken with gcc:
> > error: flexible array member in otherwise empty struct
>
> Sorry Thomas for the previous one, I should have tested it.
No problem, I should also bette
On 06/12/2013 04:30 PM, Thomas Monjalon wrote:
> The previous fix was for g++ but is broken with gcc:
> error: flexible array member in otherwise empty struct
> See http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Zero-Length.html
>
> Let's fix it with #ifdef __cplusplus.
Sorry Thomas for the pre
The previous fix was for g++ but is broken with gcc:
error: flexible array member in otherwise empty struct
See http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Zero-Length.html
Let's fix it with #ifdef __cplusplus.
Signed-off-by: Thomas Monjalon
---
lib/librte_ether/rte_ethdev.h |2 ++
3 matches
Mail list logo