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 1/3] Introduce gdb::unique_ptr


> Cc: markus.t.metzger@intel.com, brobecker@adacore.com,
>         gdb-patches@sourceware.org, jan.kratochvil@redhat.com,
>         simon.marchi@ericsson.com
> From: Pedro Alves <palves@redhat.com>
> Date: Wed, 12 Oct 2016 12:25:21 +0100
> 
> On 10/12/2016 12:04 PM, Eli Zaretskii wrote:
> >> Cc: brobecker@adacore.com, gdb-patches@sourceware.org,
> >>         jan.kratochvil@redhat.com, simon.marchi@ericsson.com
> >> From: Pedro Alves <palves@redhat.com>
> >> Date: Wed, 12 Oct 2016 11:11:50 +0100
> >>
> >>>   . Should we start using C++11 features in GDB?
> >>
> >> I would hope that no one would suggest that we shouldn't use
> >> C++11 features just because they like C++03 better than C++11.
> >> That would make no sense.
> > 
> > It would make perfect sense if we decide to require a version of GCC
> > older than 4.8.1 as a prerequisite for building GDB.
> 
> I can't see how that is a reply to what I said.  I said _liking_ C++11
> better over C++03.  As in: "I'm just not going to use
> C++11 features, because I hate C++11, but C++03 is perfectly
> fine".

That's a no-brainer, but if that was the only thing you were saying,
then how does it relate to the issue to which you responded,
i.e. whether we should decide to start using C++11 now?  That decision
has IMO very little to do with whether we like C++03 more or not,
because if we go by that criterion alone, we should take Jan's
suggestion and switch to the latest version as soon as it is released,
right?


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