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: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 12 Oct 2016 17:12:38 +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>
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,
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.
Thanks,
Pedro Alves