From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lispworks.com (mail.lispworks.com [46.17.166.21]) by sourceware.org (Postfix) with ESMTP id DB9FB3858D37 for ; Mon, 24 Jun 2024 11:40:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DB9FB3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=lispworks.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lispworks.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DB9FB3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=46.17.166.21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719229206; cv=none; b=W0O+85QoJD8qDdiG3Z2moeqMt/SQORpeVo5zwHMouNXUmhYmY/MtTyjpmpRTSG9W19rrOfMlIeQFOxaCTkkpG/tfCcr5RNF7UhMgwcXMLWy7IKeo2i8k7xADS/y5TmdR/7r4QfY0MxPcXkqYQNO5JoZX+/ZDPGxl6swJFdHrr+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719229206; c=relaxed/simple; bh=0AbjL83Gm2bJkq4GfY6b/v5QKY/x4+r3K3pclRLb8Rg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=oB55/1txjFBidXMELBuFvU7ixeV4PBi1pKFl/iXKPzfVAdVe5NCwvwqe3GG2oTylIl1VJc8zhklhxgdIDNOcqOkwuC8+aRI288Hu3xIjhMNAEKmzaf7VWq7zDWIBWANXOQt0W+jrqh7f4SO7cIUaXyWuKu/Z86QUObnk4nTJSsU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from lwfs1-cam.cam.lispworks.com (localhost [[UNIX: localhost]]) by lwfs1-cam.cam.lispworks.com (8.17.1/8.17.1) with ESMTP id 45OBe2nv012625 for ; Mon, 24 Jun 2024 12:40:02 +0100 (BST) (envelope-from martin@lispworks.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lispworks.com; s=default; t=1719229202; bh=0AbjL83Gm2bJkq4GfY6b/v5QKY/x4+r3K3pclRLb8Rg=; h=From:To:Cc:Subject:Date; b=pa0jnpBXf5iBwYKhP1Ae2qj34F37F5KrephmN3d9gcNqz8FygL27gu//bbcKtVNoi ZYkMvmcO60zGiXR+pjgE/3ttjQV7QUYrGGjMPHfaMdtq/gNih7zY39MvJcqOgjNU6l 15eKSlbb67Sz4sGm95o4NBYR5rnABOU6GSlbFcF0QR8DIipIKHI+B91mhBpFvyQ6hv pJWGRI3l5267teYkjTIuia5W1jbjNBXdS6CxyO+a3nagS9NWaX/5koE6gmdAmjUpP8 C7eBzWwNM437jn6QWoeyCuUZYwR5e2nAP0fB69ZK4/s8GbLFxwj1xwPADg9nn3UHvG XirWZ2zFc3u3g== Received: from lwfs1-cam.cam.lispworks.com (localhost [127.0.0.1]) by lwfs1-cam.cam.lispworks.com (8.17.1/8.17.1) with ESMTP id 45OBdxJA012593; Mon, 24 Jun 2024 12:39:59 +0100 (BST) (envelope-from martin@lwfs1-cam.cam.lispworks.com) Received: (from martin@localhost) by lwfs1-cam.cam.lispworks.com (8.17.1/8.17.1/Submit) id 45OBdxmA012592; Mon, 24 Jun 2024 12:39:59 +0100 (BST) (envelope-from martin) From: Martin Simmons To: gdb-patches@sourceware.org Cc: Martin Simmons Subject: [PATCH] Include needed unordered_map header Date: Mon, 24 Jun 2024 12:34:59 +0100 Message-ID: <20240624113522.12470-2-martin@lispworks.com> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top level configure options --with-python=/usr/local/bin/python3.9 gives this error: CXX ada-exp.o ./../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named 'unordered_map' in namespace 'std' std::unordered_map> ~~~~~^ 1 error generated. This change fixes it. --- gdb/ada-exp.y | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index c2ab1de7136..0126db5f2be 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -36,6 +36,7 @@ %{ #include +#include #include "expression.h" #include "value.h" #include "parser-defs.h" -- 2.45.0