[Skiboot] [PATCH 2/6] trace: Put variable sized type at end of struct

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


Joel Stanley <joel at jms.id.au> writes:

> This is a fixes the following error when building with clang:
>
> core/trace.c:36:20: error: field 'trace_info' with variable sized type
>       'struct trace_info' not at the end of a struct or class is a GNU extension
>       [-Werror,-Wgnu-variable-sized-type-not-at-end]
>         struct trace_info trace_info;
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Merging the go-to-gnu11 as std instead.



More information about the Skiboot mailing list