Re: [PATCH libnetfilter_conntrack] src: Make the library compile under clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 14, 2016 at 01:59:01PM -0700, Kevin Cernekee wrote:
> clang treats "char buffer[size]" inside a union as VLAIS unless |size|
> is const:
> 
> src/conntrack/api.c:992:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
>                 char buffer[size];
>                      ^

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux