From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id TextFU4Hj2puOQMAWB0awg (envelope-from ) for ; Wed, 26 Aug 2026 11:33:34 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=Sjfh4fuC; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 43A981E033; Wed, 26 Aug 2026 11:33:34 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 077021E033 for ; Wed, 26 Aug 2026 11:33:33 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 815EB4BA901E for ; Wed, 26 Aug 2026 15:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 815EB4BA901E Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=Sjfh4fuC Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 001964BA79B5 for ; Wed, 26 Aug 2026 15:33:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 001964BA79B5 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 001964BA79B5 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787758390; cv=none; b=i9R6GyKmqx6DB4I9rk9eNBCN1sohmrtzBZ/j4LnhwpfkptLQrrhXmS/VoriUe7cjICA+MafWySEJR3syRqZ/7gJfIkZicA137eSkaQWW6ZpBFjTzo/ISA1vKMas1Hlvb5Ysjn/g5Xv5m0fD8ALnE6ozmZBG0YsCfUlbSTTQ0kMQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787758390; c=relaxed/simple; bh=qoG0I1rsCm2ivYZZ7rJoZSZ8eYf36ErnFnag7zjrUKs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=PKjp7wWr+t12Rja6Qisv+oDbXBHgRImctmP9uiUS9HFBkzNfgKriNA4sAuB/dSFJW3NpAqv1Jtg/BE49e762Vx75bCX7xdAc0mmguY0Sx0HY5gHrtyVX4JsfmzF81ZgRzKJj5szIHJyjcjRCt2rIazhTmfKz9p7WctF39Ixu9qI= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=Sjfh4fuC DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 001964BA79B5 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C9B8F16F2; Wed, 26 Aug 2026 08:33:04 -0700 (PDT) Received: from e129758.cambridge.arm.com (e129758.arm.com [10.2.212.12]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 226E93F85F; Wed, 26 Aug 2026 08:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1787758388; bh=qoG0I1rsCm2ivYZZ7rJoZSZ8eYf36ErnFnag7zjrUKs=; h=From:To:Cc:Subject:Date:From; b=Sjfh4fuCqgSo9zpV8DIIHdhxkw+0d7ENh72aYlqSd2bALNfCLnkBmpxqbHe1u3vsx wKwtlAp0C7mHift4+cxcivhNBeisohchpdMVfKloJZVVX4veHxU7XX+ixQNtv+Y9JD 4ecTRrx/UxfNl+04lKJl2mj/kkMnxModtPLP8DnQ= From: Nikita.Venkatesh@arm.com To: gdb-patches@sourceware.org Cc: nd@arm.com, Nikita Venkatesh Subject: [PATCH] Include in ui-style.h Date: Wed, 26 Aug 2026 16:32:56 +0100 Message-Id: <20260826153256.907020-1-Nikita.Venkatesh@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org From: Nikita Venkatesh ui-style.h uses std::array without including directly. This builds successfully with GCC 8 and libstdc++ as its header includes . However, libc++'s does not include with Apple Clang 13.0.0. This causes the GDB builds to fail on macOS with: error: implicit instantiation of undefined template 'std::array' Include directly in ui-style.h rather than relying on the include from . OK for trunk and gdb-18 branch? --- gdb/ui-style.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/ui-style.h b/gdb/ui-style.h index fc40b93709d..201a6f302d9 100644 --- a/gdb/ui-style.h +++ b/gdb/ui-style.h @@ -19,6 +19,8 @@ #ifndef GDB_UI_STYLE_H #define GDB_UI_STYLE_H +#include + /* One of the color spaces that usually supported by terminals. */ enum class color_space { -- 2.34.1