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 previous one, I should have tested it.

This one looks good, I checked compilation and it works with
gcc-4.6.3 and g++-4.6.3

Reply via email to