From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id A2B5C3858D37 for ; Wed, 20 Jul 2022 06:04:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A2B5C3858D37 Received: by mail-pj1-x1032.google.com with SMTP id b10so5865221pjq.5 for ; Tue, 19 Jul 2022 23:04:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x/QkeCT99MX4LB4FQI+D6qW4VSyUWb/TR7wOBVdwHm8=; b=wgIKQLVi06hqwIbihi9in+Xd4HT5ZXVJr96j5MFlg+q0hQSKfQM2SGQI0NHDW9KPxi 1LX69hRqDcNN8zaLsd2wSx2wuG4tDm2oyIIJECnxSiZRfdtOSBuprZzyBCdkYfmY5DFQ P+KHBb3qFwAyLoZDohPQbfkw/YE6HcWv5tIy9Q8pDQoQ9Kly/7wrcVT3xkY7QAG2sOkU 797lAcSYQjzB3LUHRvEnUUAXVJPV95WHwQ8KJ9JO6D858xoxyxxEBpFftYC6nRIOT3Va lWZsfbYKbRj5EdNMBqwenk34BIkML1GcxEXZ/0/fVN7vKFyssJAXU4QuZc/Ff6+J8XB8 gfhQ== X-Gm-Message-State: AJIora+kJBiPTP4YwfQ/gpaYmwKQKsa9z6Us+LObQ34R2YpAYwMs1Khb ev+LE0tTaiX1PWgNTPlRLmlkq6PsHtiZa0iyaa794sDWrNW8CQ== X-Google-Smtp-Source: AGRyM1uJ+3vrDcMNuf9Vcy26z2V052VAdBobLk1TJIR+UCw/IszGL0KuFu83AN3VRm2UzMpCFWIHsxbwkREs6vhNby4= X-Received: by 2002:a17:902:8647:b0:16c:e60e:570a with SMTP id y7-20020a170902864700b0016ce60e570amr18009604plt.77.1658297062357; Tue, 19 Jul 2022 23:04:22 -0700 (PDT) MIME-Version: 1.0 References: <20220720060120.1250880-1-cjdb@google.com> In-Reply-To: <20220720060120.1250880-1-cjdb@google.com> From: Christopher Di Bella Date: Tue, 19 Jul 2022 23:04:11 -0700 Message-ID: Subject: Re: [PATCH] [PATCH] [gdb] adds several headers to the include list To: gdb-patches@sourceware.org Cc: manojgupta@google.com, Enze Li , simark@simark.ca, aburgess@redhat.com X-Spam-Status: No, score=-26.7 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2022 06:04:25 -0000 This is an updated version of '[PATCH] [PATCH] [gdb] adds several headers to the include list'. On Tue, 19 Jul 2022 at 23:01, Christopher Di Bella wrote: > Building GDB currently fails to build with libc++, because libc++ is > stricter about which headers "leak" entities they're not guaranteed > to support. The following headers have been added: > > * ``, to support `std::back_insert_iterator` > * ``, to support `std::move` and `std::swap` > * ``, to support `std::vector` > --- > gdb/value.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gdb/value.c b/gdb/value.c > index 022fca91a42..c9bec678d95 100644 > --- a/gdb/value.c > +++ b/gdb/value.c > @@ -40,6 +40,9 @@ > #include "cp-abi.h" > #include "user-regs.h" > #include > +#include > +#include > +#include > #include "completer.h" > #include "gdbsupport/selftest.h" > #include "gdbsupport/array-view.h" > -- > 2.37.0.170.g444d1eabd0-goog > > -- Kind regards, Christopher Di Bella (he/him/his)