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] Update gnulib to current upstream master


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 (齐尧)


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