From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tony Garnock-Jones Newsgroups: gmane.lisp.guile.bugs Subject: bug#70474: [PATCH 1/2] Including the cast makes Apple clang 15.0.0 happy; without it, clang is sad Date: Fri, 19 Apr 2024 22:46:48 +0200 Message-ID: <0a3bee59-a20e-492e-9908-5b03ff5833c2@leastfixedpoint.com> References: <825897f1-19fa-4f6a-b459-8db93791d1c3@leastfixedpoint.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19503"; mail-complaints-to="usenet@ciao.gmane.io" To: 70474@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri Apr 19 22:48:14 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rxv9Z-0004rS-QL for guile-bugs@m.gmane-mx.org; Fri, 19 Apr 2024 22:48:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxv9C-0006dM-16; Fri, 19 Apr 2024 16:47:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxv9A-0006ZC-Gt for bug-guile@gnu.org; Fri, 19 Apr 2024 16:47:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxv9A-00053b-8a for bug-guile@gnu.org; Fri, 19 Apr 2024 16:47:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxv9O-0002Oi-5T for bug-guile@gnu.org; Fri, 19 Apr 2024 16:48:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <825897f1-19fa-4f6a-b459-8db93791d1c3@leastfixedpoint.com> Resent-From: Tony Garnock-Jones Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 19 Apr 2024 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70474 X-GNU-PR-Package: guile Original-Received: via spool by 70474-submit@debbugs.gnu.org id=B70474.17135596328865 (code B ref 70474); Fri, 19 Apr 2024 20:48:02 +0000 Original-Received: (at 70474) by debbugs.gnu.org; 19 Apr 2024 20:47:12 +0000 Original-Received: from localhost ([127.0.0.1]:60295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxv8a-0002Iv-H7 for submit@debbugs.gnu.org; Fri, 19 Apr 2024 16:47:12 -0400 Original-Received: from smoke.leastfixedpoint.com ([81.4.107.66]:35892 helo=mail.leastfixedpoint.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxv8X-0002HV-B0 for 70474@debbugs.gnu.org; Fri, 19 Apr 2024 16:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leastfixedpoint.com; s=default; t=1713559608; bh=/EqZboH04xeZkD1XiBJLH4aun0ZWyW6ot2INBx9RgEY=; h=Date:From:Subject:To; b=hi7mgsgae0Dkf48OfIwWccp/aN1gYVlmrL+mUuixvSS3B1XsUbIwGFh02KQ8Ld0ns xdUIcK9OcFQsqkfYq9veGdmIJgJcdxR4f5HH7wZFsllXFDdqNClFRRsnPhKQKyfd7+ bcaFuca8uGcRTOnrB/qDVK8CwkTw4GtwL9GtGUYY= Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.leastfixedpoint.com (Postfix) with ESMTPSA id DC2813F69F for <70474@debbugs.gnu.org>; Fri, 19 Apr 2024 22:46:48 +0200 (CEST) Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10808 Archived-At: I'm not sure why, exactly, but I needed this to get builds to work on OSX Sonoma at all. --- libguile/scmsigs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index 7fd3fd8f1..be96dbd5c 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -302,7 +302,7 @@ scm_i_signals_post_fork () } #if SCM_USE_PTHREAD_THREADS - once = SCM_I_PTHREAD_ONCE_INIT; + once = (scm_i_pthread_once_t) SCM_I_PTHREAD_ONCE_INIT; #endif if (active) scm_i_ensure_signal_delivery_thread (); -- 2.44.0