From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 502C82134B for ; Wed, 20 Mar 2024 11:20:02 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1710930002; b=eePMiJaFMo+QYNNNXnEI7SRQXrB/dsHeK6bZg8byAFzpO4Kqb/J1XjrAIUAW86ukRwth+NiGna dk7sSK45op2OT0oJkk9B7Gw7NEvE6oKbd5kAgFkFeJc3lFh0SYquMSn+awE3AD8uIsAgCSy9t+ S6PeXGEirhplGSquO9IjTCYykP7DMBHAfF1z4+0wz0lacg9mSlAMKMyLh5hZeH1BDkHCt4JcOh W79sGqZwl6h7gGNW/HNQzEcFwhO2XL2W4oWLLNd6C8Fxj8A4S8ZwWLIBIUfvMbTyGuiuB9u3eA HNy4QgCysMietFIHxImWE4pb48G9OHsVpxuiMSCmWx9y2g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (csmtpq4-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.41; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1710930002; bh=S/7C+lu27707ELoYAeVLPap1mapiMjo4LSGDnOtZZc0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=DjY2CSpwuvWhCCJ/HrqUctKxkHFTopwQz9Ld03oL8TO8emcgDeSFKyKghoWMkqFTHgQsf9IpL5 1oYyoctpCsTpV1uw6GTCfEQSZh4TqLP5cFWmPbe4NyJ7Bbk6d1bBRtfuL/bjXB4xyw1/L+cDH+ Px+q88pFxRph1DfapwIpd7VrzBRCKq7H3ndD1CSscsVNuUrbn13cA2FGH0Eia/nJI9KsjIQApb TtKrmtnYzFkoM9fEOeuP7FPlwYlSAEANK8a56eXDjcYEiy4TJ8PRj1M51kqKugvPdwYlU/CJ7j pcY4Q6VJcAZ+dX1jgky8f50NhZqa8I67JsRcvCDE92rViA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=H4P4n+Y75JoEcs6YCNQS2jB/ucej04DhCAbWAyK2pb4=; b=UfcedngLTNmLhE4aHZccBgfjAv hLStm/3Ilzd/6BEQzhqpjbeuGn0OQt0wVlksvUVf/H5HQVNIGQdY0+jV3JacSLLY1D18xSRsPBzvh Ng9QUCOVWZBKlSsomme8vU6DjPoi9ydk+2oURmqoDVbbJwhtqWvoPxatG4RAM6RDrjphqzCB67hgj 5nT4untETLCugpWX9QMXMD2w5q8+E9SMGQH5fLbKN1FKda+ZKxLd8tgVvJBp9dJbtq1UP0trR+MCF FPHadZp8Zf8mRK/VvvOB+Z8c5wmBrWwJmQ2JUjtViQmpJcteO5r9cPzYvLk9WQsl7QutfxJjk9GeW 1bodo6MA==; Received: by zero.zsh.org with local id 1rmt3C-0008Ph-Kz; Wed, 20 Mar 2024 10:20:02 +0000 Authentication-Results: zsh.org; iprev=pass (csmtpq4-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.41; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from csmtpq4-prd-nl1-vmo.edge.unified.services ([84.116.50.41]:19961) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1rmt2a-000859-8f; Wed, 20 Mar 2024 10:19:24 +0000 Received: from oxsmtp4-prd-nl1-vmo.nl1.unified.services ([100.107.83.44]) by csmtpq4-prd-nl1-vmo.edge.unified.services with esmtp (Exim 4.93) (envelope-from ) id 1rmt2Z-005Nfi-T9 for zsh-workers@zsh.org; Wed, 20 Mar 2024 11:19:23 +0100 Received: from oxbe5-prd-nl1-vmo.nl1.unified.services ([100.107.83.36]) by oxsmtp4-prd-nl1-vmo.nl1.unified.services with ESMTP id mt2ZrTr4EcTgimt2ZrucxL; Wed, 20 Mar 2024 11:19:23 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 100.107.83.36 X-CNFS-Analysis: v=2.4 cv=Y+/+sAeN c=1 sm=1 tr=0 ts=65fab82b cx=a_exe a=w8KIE5cSIbfxgWdlMr+iqw==:117 a=IvlwODmuRu4A:10 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=If2VLsBYAAAA:8 a=b5gUTzQFQa5Htrfb0KAA:9 a=QEXdDO2ut3YA:10 a=HbQOABYz3jhqdZF7JfnK:22 a=ZCxjKSnKyCmnrEQjtP-5:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1710929963; bh=S/7C+lu27707ELoYAeVLPap1mapiMjo4LSGDnOtZZc0=; h=Date:From:To:In-Reply-To:References:Subject; b=bFrp/tRE2hv2aUO+esMlb0RxQEHLJwjAWOB3HCRvqcBOJ4auEJCaacj1JprERLx3c YW6KURCEIBxeDFIxvUrJKR/Z8Cu1MQ2xl5Enc4sRZHkT4Ir3/xv5ZV7d9jR2FMjAAE SkVAqI0zDQbMseCipuBsqwn78ByK/6FMEoOn/grkqCCoyvcOeDFT6Rkd7w+bFVvw82 8saadxjKOyaLMVf5mhg31fu5mwgOVeb0dSPi6rk/QWuZSjC74Wv5V6ar3tsyKGRV7v c4DJmSAAfQMdLbu4LlLIG9GsiGynLnv7UfRJUWGsJgez2qhKzeEd4E/3RtwvVxtepc iwnuOKNPDilbA== Date: Wed, 20 Mar 2024 10:19:23 +0000 (GMT) From: Peter Stephenson To: Clinton Bunch , "zsh-workers@zsh.org" Message-ID: <947945847.5869623.1710929963847@mail.virginmedia.com> In-Reply-To: <1922525261.5866551.1710927037473@mail.virginmedia.com> References: <4660bb1c-c15f-41a0-bd7b-0da19073a534@zentaur.org> <1922525261.5866551.1710927037473@mail.virginmedia.com> Subject: Re: current git Fails to compile on Solaris 11 x86 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 147.161.224.196 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfDqNoR8ELOLooDAYG8KRLdmrR4RJ1A4wIf3qVcMUAodNjAX2pI1zZpjty1EXL7tufrWtYY/ncg+AkvZypNzDsCFnMdjxgch29KNV8noKrvY+UzbUH+nT I6oSNNWFMkzXvGBYqCFHOQ/5YW4KWn0qMoAfGuONrNxPavLoc51CIsd2MbD6KI4tZRxR6o26g36hAW+SPJTbiQkvJ7FZlSGS9OTmHAVf96Fz0B+1B+InGUL1 ZJQq+223Krnd3RPSv+qySfm2dK6GYT7fntM5RrZIImU= X-Seq: 52776 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: > On 20/03/2024 09:30 GMT Peter Stephenson wrote: > > On 20/03/2024 04:41 GMT Clinton Bunch wrote: > > ./configure --prefix=$HOME/local > > Solaris 11/Developer Studio 12 > > Src/Modules/hlgroup.c > > > > > > cc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H > > -DMODULE -O -KPIC -o hlgroup..o hlgroup.c > > "hlgroup.c", line 144: void function cannot return value > > "hlgroup.c", line 158: void function cannot return value > > cc: acomp failed for hlgroup.c > > Is the function name getpmsgr perhaps already used by Solaris? The Interweb thing isn't particularly forthcoming on the subject, but I can see a STREAMS function getpmsg() - Receive next message from a STREAMS file. I wonder if this is a re-entrant version of that. Let's just rename it and the others in that area. pws diff --git a/Src/Modules/hlgroup.c b/Src/Modules/hlgroup.c index 6382f32..60f0254 100644 --- a/Src/Modules/hlgroup.c +++ b/Src/Modules/hlgroup.c @@ -128,35 +128,35 @@ scangroup(ScanFunc func, int flags, int sgr) } /**/ static HashNode -getpmesc(UNUSED(HashTable ht), const char *name) +getpmzleesc(UNUSED(HashTable ht), const char *name) { return getgroup(name, 0); } /**/ static void -scanpmesc(UNUSED(HashTable ht), ScanFunc func, int flags) +scanpmzleesc(UNUSED(HashTable ht), ScanFunc func, int flags) { return scangroup(func, flags, 0); } /**/ static HashNode -getpmsgr(UNUSED(HashTable ht), const char *name) +getpmzlesgr(UNUSED(HashTable ht), const char *name) { return getgroup(name, 1); } /**/ static void -scanpmsgr(UNUSED(HashTable ht), ScanFunc func, int flags) +scanpmzlesgr(UNUSED(HashTable ht), ScanFunc func, int flags) { return scangroup(func, flags, 1); } static struct paramdef partab[] = { - SPECIALPMDEF(".zle.esc", PM_READONLY_SPECIAL, 0, getpmesc, scanpmesc), - SPECIALPMDEF(".zle.sgr", PM_READONLY_SPECIAL, 0, getpmsgr, scanpmsgr) + SPECIALPMDEF(".zle.esc", PM_READONLY_SPECIAL, 0, getpmzleesc, scanpmzleesc), + SPECIALPMDEF(".zle.sgr", PM_READONLY_SPECIAL, 0, getpmzlesgr, scanpmzlesgr) }; static struct features module_features = {