From patchwork Mon Dec 2 12:04:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13890486 Received: from flow-b4-smtp.messagingengine.com (flow-b4-smtp.messagingengine.com [202.12.124.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 292471FCCF4 for ; Mon, 2 Dec 2024 12:05:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733141103; cv=none; b=hfJaZrmS2oDAXQYgZ6Stq+0hta0f6n9m+nx/8uSA4SQqLWo56ncmZ9eXmk41eWvGoKbmxsn8Qv1fIIMLlP5XFJBQk5ejd3xA1gxfODcc0Hg37wf4R0Kjze1jO8FXIqXFjYU8nOiIBXG8Y5dVaw++IyNEXKvV6wDBs1/xyHxO4To= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733141103; c=relaxed/simple; bh=+GAZHQwsNXOz5X6RBqCMGSS0jJ6zg/37nifc597U8/4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nLZEBghuPS3gbecMHqpn9UshHVhHfSgNGpWurTO/w2aO0WP5+GRl2BlE8iYYum1+7OOs9gNyxCmpuCfqrx5/nmqRLcWeAMVaHTkb7K+vShKMhE7o6IpoJWiM/mFiQVmdXnO1h9o0pHecxu5u6OXoXUD1BVU5QZoxz3kD6Fv9XeU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=Ak/34nfA; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=MB43cNoX; arc=none smtp.client-ip=202.12.124.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="Ak/34nfA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="MB43cNoX" Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailflow.stl.internal (Postfix) with ESMTP id 0BA6D1D404D7; Mon, 2 Dec 2024 07:05:00 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 02 Dec 2024 07:05:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1733141099; x=1733148299; bh=b6ho0wcLsh01aSmlNVS0ZfrjkuOVmB9vVz4X/lCsbbs=; b= Ak/34nfAwHv3oHvHiA6OJz4X1eGYx4rTBFBU/FWt5LLk4Ta3jzyaQVXOmPGMSu1/ uK4tQSJ1jVluLtUM38jGFJAqsyyFq0EGFn6DzlZUbc56FMqOSN8cjW+Ge7RS8lmd mPujLHy4CQQ85Ne0MGMP8L5VG+w8xaoVxHN4/o3oyimJYdczHk+DkJyT1AW1SIuA mXgME/f0aeDgxb6MwtxGIgvYdxRTmgPNdNiCSVFOHUcaeW68Zn4oMwHR/bh39/fn 7+VdaiHRQBQI8b3stI95QaJTzkYi7xuS/wO/5mvQCCneiuP6wwj6H3KBlJxap0Y3 kb2dltWGRkXdOwxmYs/x3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1733141099; x= 1733148299; bh=b6ho0wcLsh01aSmlNVS0ZfrjkuOVmB9vVz4X/lCsbbs=; b=M B43cNoX5VSbfvT7kRe6dgQN9B8QFXmDlVfQXCrzzGsWoiXRuvCrNZkVzXbqBQuem 5+nsGjUMyMPHWV39MSLbYDZIEjgDqPL2y4xamu/9oLesnTRhjbf9hNRsEn+T9qCA cdtzpqxUARNiy1XZRpIJLtQaAPpdQfkeK2hIsXgWYXy/a/wB351gJE/lpfuH/3ZT IELEPTRrF5HYRkgM2ZhVnTW9EQyO8aWa9seJlw4sTUhrN+2gicRlnR9nl9jFQeAp 0NIe3WFtdw/iPVLAOmxMHjME8elkqTKIbrrRZSBXml20oYsgCfb16UuMzwJEft3c Oh2YSld33SDT/ULFQplpg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrheelgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecuogfuphgrmhgfrhhlucdlfe dttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhm pefrrghtrhhitghkucfuthgvihhnhhgrrhguthcuoehpshesphhkshdrihhmqeenucggtf frrghtthgvrhhnpeegleejtdelfeffleetvdeivdeuuefgheetjeehudetjeehhefhheej teeugfffvdenucffohhmrghinhepghhnuhdrohhrghenucfuphgrmhgfrhhlpehhthhtph emsddsfiiffidrghhnuhdrohhrghdslhhitggvnhhsvghsnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhssehpkhhsrdhimhdpnhgspghrtg hpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhvghjihgrlhhu ohesghhmrghilhdrtghomhdprhgtphhtthhopehgihhtsehvghgvrhdrkhgvrhhnvghlrd horhhgpdhrtghpthhtohepphgvfhhfsehpvghffhdrnhgvth X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Dec 2024 07:04:58 -0500 (EST) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 290fb5d6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 2 Dec 2024 12:03:40 +0000 (UTC) From: Patrick Steinhardt Date: Mon, 02 Dec 2024 13:04:34 +0100 Subject: [PATCH v2 02/14] compat/regex: explicitly ignore "-Wsign-compare" warnings Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241202-pks-sign-compare-v2-2-e7f0ad92a749@pks.im> References: <20241202-pks-sign-compare-v2-0-e7f0ad92a749@pks.im> In-Reply-To: <20241202-pks-sign-compare-v2-0-e7f0ad92a749@pks.im> To: git@vger.kernel.org Cc: shejialuo , Jeff King X-Mailer: b4 0.14.2 Explicitly ignore "-Wsign-compare" warnings in our bundled copy of the regcomp implementation. We don't use the macro introduced in the preceding commit because this code does not include "git-compat-util.h" in the first place. Note that we already directly use "#pragma GCC diagnostic ignored" in "regcomp.c", so it shouldn't be an issue to use it directly in the new spot, either. Signed-off-by: Patrick Steinhardt --- compat/regex/regex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compat/regex/regex.c b/compat/regex/regex.c index e6f4a5d177bb7d44345fcc25fabca1e62b0eebc4..4b09cc4e1457dc362b2c974e82a6f9739b499a83 100644 --- a/compat/regex/regex.c +++ b/compat/regex/regex.c @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#pragma GCC diagnostic ignored "-Wsign-compare" + #ifdef HAVE_CONFIG_H #include "config.h" #endif