This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] xtensa: Avoid designated inits, for C++ compliance
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: arnez at linux dot vnet dot ibm dot com, gdb-patches at sourceware dot org, palves at redhat dot com
- Date: Fri, 26 Aug 2016 12:07:36 +0300
- Subject: Re: [PATCH] xtensa: Avoid designated inits, for C++ compliance
- Authentication-results: sourceware.org; auth=none
- References: <m34m69giza.fsf@oc1027705133.ibm.com> <20160826090148.GA27461@host1.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 26 Aug 2016 11:01:48 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org, Pedro Alves <palves@redhat.com>
>
>
> [1:text/plain Hide]
>
> On Thu, 25 Aug 2016 13:56:25 +0200, Andreas Arnez wrote:
> > C++ does not officially support designators in initializer lists.
>
> I could miss something about the transition to C++ but C++ was not intended to
> make the sources worse, it should improve the sources. The checked in change
> makes the source apparently more error prone to future changes. Why not the
> attached?
Because it's C++, not C?