You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile source which include va.h with -Wpedantic, I got following compiler warning: va/va.h:1221:24: warning: ISO C++ forbids zero-size array ‘data’ [-Wpedantic] unsigned int data[0];
ISO C/C++ forbids zero-size array, but flexible array member is
supported since C99.
This fixes https://github.com/01org/libva/issues/76
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
ISO C/C++ forbids zero-size array, but flexible array member is
supported since C99.
This fixes https://github.com/01org/libva/issues/76
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
When I try to compile source which include va.h with -Wpedantic, I got following compiler warning:
va/va.h:1221:24: warning: ISO C++ forbids zero-size array ‘data’ [-Wpedantic] unsigned int data[0];
Compiler: gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406.
The text was updated successfully, but these errors were encountered: