This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: build failure in aarch64-opc.c on macOS
- From: Tom Tromey <tom at tromey dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: Tom Tromey <tom at tromey dot com>, binutils <binutils at sourceware dot org>
- Date: Fri, 05 Oct 2018 13:20:39 -0600
- Subject: Re: build failure in aarch64-opc.c on macOS
- References: <87ftxkh3ec.fsf@tromey.com> <CA+=Sn1k13rH2frcZ0A8aCcGKXGsiK4eUV3gc0oTnUP6pY2_KRQ@mail.gmail.com>
>>>>> "Andrew" == Andrew Pinski <pinskia@gmail.com> writes:
Andrew> On Fri, Oct 5, 2018 at 7:31 AM Tom Tromey <tom@tromey.com> wrote:
>>
>> Hi. A recent patch caused opcodes to fail to build on macOS (High
>> Sierra) using the version of clang I have installed (Apple's clang-902).
Andrew> This looks like a clang bug ... {0} should have silienced the
Andrew> -Wmissing-field-initializers warning. {0} has always been a way to
Andrew> "0" out a structure without warning.
Either way, the build used to work, and now does not.
Tom