From nobody Sun Dec 1 11:18:34 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y1PYQ5lSHz5fTHk; Sun, 01 Dec 2024 11:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1PYQ2qWWz42Sv; Sun, 1 Dec 2024 11:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733051914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YZJUz4OsMrRSaycLuQRQWEzJqICpRuyS+1VplzYjHbs=; b=lN6f+y7aJZfwRuBFANpIOI4aElCU86UlOXQGrHcY+kTzwNG7etgPmInrCmSTXke/HNezE4 RHe0ctV2BlYcvkUFJQiytFpjO2jKqDH8XbE3pLQ/WwQXH38xjqc2YdWXTJaNykGyEWnnS5 uVcWUBXVXyh7rCoAPzEcm2x3+if/a4ai/N30dIlqJY7iiN+H+C4UzLLS0S3dD+TYnRa1F4 XaTXAE6Uyg+bzG/9tyMKq7vFKkT/Z7+NTzD7rmyK6KxXirr7x239Rk6SGoxY7jH2OuBjkk 3Sb7Nv/9qM0uaR7VFETG5dabVcflaIk37dk/0ihjzZ8KXxXXDIJeDdE6tecb/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733051914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YZJUz4OsMrRSaycLuQRQWEzJqICpRuyS+1VplzYjHbs=; b=dN50ByBQ9BVA6PeZ3KIVb+/k6QHTs5jm+rpt7zCprB4Kpnkj6FpmWfNtD83n06OLfYJ6Lo MPOSypAwbkpy/XVb34vxXuayaTWIGyYavKX7vfBqQ4bxIQhdHE24ViLGVjzJkH1RlaPjBj aBEQDbhQE6OCoblLjUdQYsGoFrJ3tahN7s1DScFORLpsw2Lo1eXcGZAgBqA1Va06kXnb31 fUm4igShFeKTrTIOhHZRy2rW1+15+wjvJVrsGYdYFhbbPNXsGVMrsVI3ssBrqxEek8VM9Q bS49yRkvmJxbKv9W6Wv7rW+IsxN6O1ZmwePSDn6tRxUWxvplDW4dGAU1sZV32g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733051914; a=rsa-sha256; cv=none; b=KflhucPiRFZ4eXX29AtTn0RMrn77iHEmser8fzAQR55LlClt9+g11rxE+/0iYXtAQXjMeP jq7RBYgC+v9PhmUEWEbjn2ONGgdX3j+IQ82HdEyUSIlgApKi6IoHycYZ4TuCuXLqbuP3ih PxEQYnll9dl4uXRktr7vtBKGZqAdsZjAheWTg1EOYBViMBJdgYx/Ry/Tdvr0o50PNTS2iD Sh3hHjAH2SaPXf6ryLAPFpCCMuYucB7XSqh/RTz15yHP2X1zxP2S8vzw1T4U9Qk3jn6V+J xskC+Lpfizlv45anvbJ905JEjqzrpUeCxUyotV1mKYSmelIPZezLvhcP5sxAow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y1PYQ2DJYzqjl; Sun, 1 Dec 2024 11:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B1BIYp6007856; Sun, 1 Dec 2024 11:18:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B1BIYqK007853; Sun, 1 Dec 2024 11:18:34 GMT (envelope-from git) Date: Sun, 1 Dec 2024 11:18:34 GMT Message-Id: <202412011118.4B1BIYqK007853@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 5ace2b9e19cd - stable/14 - libcxx atomic_ref.h: add typename keyword for difference_type declarations, otherwise older clang versions cannot compile this header. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5ace2b9e19cdee9c26b50df22dfc60efd9ca9c76 Auto-Submitted: auto-generated The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=5ace2b9e19cdee9c26b50df22dfc60efd9ca9c76 commit 5ace2b9e19cdee9c26b50df22dfc60efd9ca9c76 Author: Dimitry Andric AuthorDate: 2024-08-05 20:07:28 +0000 Commit: Dimitry Andric CommitDate: 2024-12-01 11:17:08 +0000 libcxx atomic_ref.h: add typename keyword for difference_type declarations, otherwise older clang versions cannot compile this header. PR: 280562 MFC after: 1 month (cherry picked from commit 81e300df5e654eee3835ec2c6a2ae34cf317df72) --- contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h b/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h index 156f1961151c..f5ab6ffc9e77 100644 --- a/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h +++ b/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h @@ -241,7 +241,7 @@ template struct atomic_ref<_Tp> : public __atomic_ref_base<_Tp> { using __base = __atomic_ref_base<_Tp>; - using difference_type = __base::value_type; + using difference_type = typename __base::value_type; _LIBCPP_HIDE_FROM_ABI explicit atomic_ref(_Tp& __obj) : __base(__obj) { _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN( @@ -287,7 +287,7 @@ template struct atomic_ref<_Tp> : public __atomic_ref_base<_Tp> { using __base = __atomic_ref_base<_Tp>; - using difference_type = __base::value_type; + using difference_type = typename __base::value_type; _LIBCPP_HIDE_FROM_ABI explicit atomic_ref(_Tp& __obj) : __base(__obj) { _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(