zsh-users
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Paul Ackersviller" <paulda@alumni.uwo.ca>, <zsh-users@sunsite.dk>
Subject: RE: inet_{a,p}ton prototypes in Src/Modules/zftp.pro
Date: Tue, 8 May 2001 18:37:17 +0400	[thread overview]
Message-ID: <002c01c0d7cc$613271d0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20010506104546.A13094@flora01.SLAC.Stanford.EDU>


>
> I just tried building zsh on Solaris 7 from the latest source off of CVS.
> Sun's compiler doesn't like inet_aton and inet_pton being declared
> as static.
> Here are the errors:
>
> "./zftp.pro", line 4: identifier redeclared: inet_aton
>         current : static function(pointer to const char, pointer to
> struct in_addr {union {..} S_un}) returning int
>         previous: function(pointer to const char, pointer to struct
> in_addr {union {..} S_un}) returning int :
> "/usr/include/arpa/inet.h", line 52
> "./zftp.pro", line 6: identifier redeclared: inet_pton
>         current : static function(int, pointer to const char,
> pointer to void) returning int
>         previous: function(int, pointer to const char, pointer to
> void) returning int : "/usr/include/arpa/inet.h", line 54
>

I did a bit of digging. The exactly same problem was reported a while back in
users/3375. Paul, are using Sun workshop compiler?

I had a patch but IIRC I never got any response if it fixed the things and I
had some problems on my own system. The patch probably is not applicable
anymore due to configure.in changes, I'll try to adapt it but cannot promise
when. Interested could look up the mentioned thread; it was moved to
zsh-workers then starting with article workers/12686

-andrej


  parent reply	other threads:[~2001-05-08 14:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-06 17:45 Paul Ackersviller
2001-05-07  0:03 ` Bart Schaefer
2001-05-07  1:27   ` nce
2001-05-07 14:56     ` Bart Schaefer
2001-05-07 19:12       ` Kenneth Lareau
2001-05-08  4:12       ` nce
2001-05-08 12:53         ` Andrej Borsenkow
2001-05-09  1:42           ` nce
2001-05-08 14:37 ` Andrej Borsenkow [this message]
2001-05-09 19:55 ` PATCH: " Andrej Borsenkow
2001-05-09 20:01   ` Andrej Borsenkow
2001-05-10  3:21   ` nce

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='002c01c0d7cc$613271d0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=paulda@alumni.uwo.ca \
    --cc=zsh-users@sunsite.dk \
    /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).