[Skiboot] [PATCH 1/6] libflash: Put variable sized type at end of struct

Stewart Smith stewart at linux.vnet.ibm.com
Thu Aug 13 16:16:53 AEST 2015


Joel Stanley <joel at jms.id.au> writes:
> This is a fixes the following error when building with clang:
>
> libflash/libffs.c:37:18: error: field 'hdr' with variable sized type
>       'struct ffs_hdr' not at the end of a struct or class is a GNU extension
>       [-Werror,-Wgnu-variable-sized-type-not-at-end]
>         struct ffs_hdr          hdr;    /* Converted header */

Merging the go-to-gnu11 as std instead.



More information about the Skiboot mailing list