Re: Third email on compilining 7.0.2 on Solaris 2.5.1 - Mailing list pgsql-novice

From ghaverla@freenet.edmonton.ab.ca
Subject Re: Third email on compilining 7.0.2 on Solaris 2.5.1
Date
Msg-id Pine.A41.3.95.1000818222357.34080C-100000@freenet.edmonton.ab.ca
Whole thread Raw
In response to Re: Third email on compilining 7.0.2 on Solaris 2.5.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Third email on compilining 7.0.2 on Solaris 2.5.1  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On Fri, 18 Aug 2000, Tom Lane wrote:

> ghaverla@freenet.edmonton.ab.ca writes:

[ ... ]

> ANSI C says va_start() takes 2 args.  <varargs.h> (on those platforms
> that have it at all) defines an older, non-ANSI-compliant version of
> the va_foo macros.  What you want to be including is <stdarg.h>.
> Dunno why src/include/c.h is not including that automatically on your
> platform, but that's what to look at.

I found that out some time today.

> I've suspected for some time that the conditional include of <varargs.h>
> near the bottom of c.h is dead code, if not actively pernicious.  But
> without access to a platform where
>     #if defined(sun) && defined(__sparc__) && !defined(__SVR4)
> applies, I can't be sure whether to rip it out or not.

Well, I have a Sun Ultra Enterprise 2 (2 166 MHz UltraSPARCs)
running Solaris 2.5.1.  If that qualifies as one of these
platforms, ...  It certainly is a sun with a sparc.  I thought
2.5.1 was supposed to be SvR4, but the Open-BSD people tell
me it's a dinosaur (I had some compile fun with Open-SSH).
If there are some tests you want me to run, I can spend some
time playing with it.

Gord

Matter Realisations     http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101  9504 182 St. NW    Edmonton, AB, CA  T5T 3A7
780/481-8019            ghaverla @ freenet.edmonton.ab.ca



pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Third email on compilining 7.0.2 on Solaris 2.5.1
Next
From: Tom Lane
Date:
Subject: Re: Third email on compilining 7.0.2 on Solaris 2.5.1