zsh-workers
 help / color / mirror / code / Atom feed
From: Clinton Bunch <cdb_zsh@zentaur.org>
To: zsh-workers@zsh.org
Subject: Re: current git Fails to compile on Solaris 11 x86
Date: Wed, 20 Mar 2024 07:21:56 -0500	[thread overview]
Message-ID: <aebf536a-8482-446a-a81e-05d307145441@zentaur.org> (raw)
In-Reply-To: <947945847.5869623.1710929963847@mail.virginmedia.com>

On 3/20/2024 05:19, Peter Stephenson wrote:
>> On 20/03/2024 09:30 GMT Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
>>> On 20/03/2024 04:41 GMT Clinton Bunch <cdb_zsh@zentaur.org> 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
>
I'm getting the same error with that patch applied.   What I saw on the 
lines it errored on were return statements returning the value of a 
function in a wrapper function defined to return void. Perhaps, simply 
removing the return keyword?

Doing so, it compiles cleanly, I'm just not familiar enough with the 
code in question to be sure if that is the right move.



  reply	other threads:[~2024-03-20 12:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20  4:41 Clinton Bunch
2024-03-20  9:30 ` Peter Stephenson
2024-03-20 10:19   ` Peter Stephenson
2024-03-20 12:21     ` Clinton Bunch [this message]
2024-03-20 14:54       ` Bart Schaefer
2024-03-20 15:05         ` Clinton Bunch
2024-03-20 16:15           ` Peter Stephenson
2024-03-20 22:26             ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aebf536a-8482-446a-a81e-05d307145441@zentaur.org \
    --to=cdb_zsh@zentaur.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).