This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Update gnulib to current upstream master
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 12 Oct 2016 17:30:07 +0100
- Subject: Re: [PATCH] Update gnulib to current upstream master
- Authentication-results: sourceware.org; auth=none
- References: <1476285429-24489-1-git-send-email-palves@redhat.com> <CAH=s-PNP0csuzf_EH8m9kMfrxFuUb3JPiY4ZfvKgA_s9xFWdjQ@mail.gmail.com> <0d295a85-e43a-6b6c-aef1-7f61a9ef5704@redhat.com>
On Wed, Oct 12, 2016 at 5:12 PM, Pedro Alves <palves@redhat.com> wrote:
> On 10/12/2016 05:09 PM, Yao Qi wrote:
>> On Wed, Oct 12, 2016 at 4:17 PM, Pedro Alves <palves@redhat.com> wrote:
>>> I tried building gdb with G++ 4.7 and CXX="g++ -std=gnu+11", and that
>>> tripped on a build error:
>>
>> GDB source requires C++03 compiler, but it should be built with recent
>> compiler with recent C++ standard.
>>
>> Patch is good to me, but let us leave this patch here for one day or two
>> for the purpose of collecting comments or objections.
>
> Related to C++11? That was that motivated the update this time,
Yes, C++ discussion in the other thread is quite hot. I assume people
are interested in C++11 related discussion now.
> but we should routinely update gnulib _anyway_. This allows reverting:
>
> commit e063da67902e2ba03cfc6f7381694f4c6a72ecf4
> Author: Pedro Alves <palves@redhat.com>
> AuthorDate: Tue Nov 17 15:17:45 2015 +0000
>
> [C++] Define __STDC_CONSTANT_MACROS / __STDC_LIMIT_MACROS for stdint.h
>
> for example, since my gnulib fix has gone into master
> upstream meanwhile.
>
Oh, indeed. That is the extra bit to justify this patch.
--
Yao (齐尧)