From patchwork Mon Feb 19 14:56:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Willgerodt, Felix" X-Patchwork-Id: 85992 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F1DA63858C41 for ; Mon, 19 Feb 2024 14:57:38 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by sourceware.org (Postfix) with ESMTPS id A85873858D32 for ; Mon, 19 Feb 2024 14:57:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A85873858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A85873858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708354634; cv=none; b=r2fK3RjzyZW0FyYSqtYX6ynm4kggKbRHJJ3zQ1EyX9jd41xcUeCgTM8Iswn8PTcxG9QM5SHdav5cR2aJ2zix0av1Goc88NLSuPCLcI90DrEDOFsvUIISezPPaH12uxkKcl4jNLUPOkpSN2LzgDbaBtDzu5+23FPV2mUxr+6tP+4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708354634; c=relaxed/simple; bh=c4bPjVvjM35vWqLDfJn8bRGuaemkj9D7vuuButbIINA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=nVIpBm9Pjzi9SprhFc4pencbgF+xphtT9Mc6/vbk/vFPhiyD25ol5vUqAlHA50xQXJOlqihzT1Rfll/Qu9CzZTj/HADssYcHKs/jKc7hK+mhK2Q7yvSs2u9xNCMSREf+ThYIE3Q71Bp4kUldYwylkkErwjKRVSGd3ebbjBZlHHo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708354633; x=1739890633; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=c4bPjVvjM35vWqLDfJn8bRGuaemkj9D7vuuButbIINA=; b=OreKTe9e07luuVRaNTKzt7kaQMI2qkGU/G4Q59wcLeHvsPJnZJAFzOGR hmLL2Kq+zLHcJWgT95/sDAWFWH1gecvDCq/DwTAiM9XQBnaF/Y8hK8ZuC 7yF4W6t1eHUhfgrtFMEBl12fBEasV5b5f0geOzXkdy/w1ILQCUl9wtirY EaxV6LjfQEoi+V8PiXTo8aolaQo0CLJwhFWbFjjaHPLdY9fVUh478FcZF +cFfHj4bfnORIGjGHSZly61ShBro5AppwbfjaISpM+qu9HSoGp29VK8Fr iuwmAnRixEChgQ3401msyu6+Nyk9oIsbM2I4+9utfs0v/KAuKy80H09vF A==; X-IronPort-AV: E=McAfee;i="6600,9927,10989"; a="6257848" X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="6257848" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2024 06:57:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="4491597" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2024 06:57:11 -0800 From: Felix Willgerodt To: gdb-patches@sourceware.org Subject: [PATCH 1/1] gdb: Document C++17 build requirement. Date: Mon, 19 Feb 2024 15:56:55 +0100 Message-Id: <20240219145655.1833203-1-felix.willgerodt@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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+patchwork=sourceware.org@sourceware.org We require C++17 to build for a while now: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f74dc26792a0679e29db45e56367331ff48666d1 I also found another place we probably should update: https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#C.2B-.2B-_dialect But I don't know how to do that. Reviewed-By: Lancelot Six --- gdb/doc/gdb.texinfo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e4b89cfccfc..79805486dd6 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -40555,9 +40555,9 @@ Other packages will be used only if they are found. @heading Tools/Packages Necessary for Building @value{GDBN} @table @asis -@item C@t{++}11 compiler -@value{GDBN} is written in C@t{++}11. It should be buildable with any -recent C@t{++}11 compiler, e.g.@: GCC. +@item C@t{++}17 compiler +@value{GDBN} is written in C@t{++}17. It should be buildable with any +recent C@t{++}17 compiler, e.g.@: GCC. @item GNU make @value{GDBN}'s build system relies on features only found in the GNU