This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] xtensa: Avoid designated inits, for C++ compliance


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]