Re: Unixware 713 probs

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: <ohp(at)pyrenet(dot)fr>, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unixware 713 probs
Date: 2003-09-07 21:03:41
Message-ID: 20030907140248.U56051-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

On Sun, 7 Sep 2003, Larry Rosenman wrote:

>
>
> --On Sunday, September 07, 2003 12:52:18 -0700 Stephan Szabo
> <sszabo(at)megazone(dot)bigpanda(dot)com> wrote:
>
> >
> > On Sun, 7 Sep 2003, Larry Rosenman wrote:
> >
> >>
> >>
> >> --On Sunday, September 07, 2003 20:22:30 +0200 ohp(at)pyrenet(dot)fr wrote:
> >>
> >> [snip]
> >>
> >> > /usr/local/bin/gmake -C libpq all
> >> > gmake[3]: Entering directory `/home/postgres/pgsql/src/backend/libpq'
> >> > cc -O -Kinline,no_host -I../../../src/include -I/usr/local/include -c
> >> > -o ip.o ip.c UX:acomp: ERROR: "ip.c", line 416: Syntax error before or
> >> > at: . UX:acomp: WARNING: "ip.c", line 419: left operand of "." must be
> >> > struct/union object UX:acomp: WARNING: "ip.c", line 427: left operand
> >> > of "." must be struct/union object UX:acomp: WARNING: "ip.c", line
> >> > 428: left operand of "." must be struct/union object UX:acomp:
> >> > WARNING: "ip.c", line 429: left operand of "." must be struct/union
> >> > object UX:acomp: WARNING: "ip.c", line 430: left operand of "." must
> >> > be struct/union object UX:acomp: ERROR: "ip.c", line 451: Syntax error
> >> > before or at: . UX:acomp: ERROR: "ip.c", line 452: invalid type
> >> > combination
> >> > UX:acomp: WARNING: "ip.c", line 455: left operand of "." must be
> >> > struct/union object UX:acomp: WARNING: "ip.c", line 464: left operand
> >> > of "." must be struct/union object UX:acomp: WARNING: "ip.c", line
> >> > 465: left operand of "." must be struct/union object UX:acomp:
> >> > WARNING: "ip.c", line 466: left operand of "." must be struct/union
> >> > object UX:acomp:
> >> line 416 is:
> >>
> >> int32 s_addr;
> >>
> >> s_addr is seen by the compiler as:
> >>
> >> uint32 __S_un . __S_addr ;
> >>
> >>
> >> We need to pick another name.
> >
> > As a side note, if s_addr is being defined by a common system header, you
> > should probably complain to your vendor as well, since that's amazingly
> > bad behavior on its part.
>
> netinet/in_f.h:#define s_addr __S_un.__S_addr
>
> Hrm. I'll ask, but this is SCO, so.........
>
> Meanwhile, this header is in the field, so.........

Yeah, we obviously need to deal with it now, but hopefully at some
point in the future other people won't.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Pflug 2003-09-07 21:34:45 Re: Unixware 713 probs
Previous Message Nigel J. Andrews 2003-09-07 20:58:10 tsearch CVS and differences to version for 7.3.x

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-09-07 21:34:45 Re: Unixware 713 probs
Previous Message Alvaro Herrera 2003-09-07 20:20:40 Re: Notices for redundant operations

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2003-09-07 21:34:45 Re: Unixware 713 probs
Previous Message Darko Prenosil 2003-09-07 20:29:11 Re: [PATCHES] MinGW patch