Re: Third email on compilining 7.0.2 on Solaris 2.5.1

From: ghaverla(at)freenet(dot)edmonton(dot)ab(dot)ca
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Third email on compilining 7.0.2 on Solaris 2.5.1
Date: 2000-08-19 04:27:41
Message-ID: Pine.A41.3.95.1000818222357.34080C-100000@freenet.edmonton.ab.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Fri, 18 Aug 2000, Tom Lane wrote:

> ghaverla(at)freenet(dot)edmonton(dot)ab(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2000-08-19 04:39:48 Re: Third email on compilining 7.0.2 on Solaris 2.5.1
Previous Message Tom Lane 2000-08-19 02:04:25 Re: Third email on compilining 7.0.2 on Solaris 2.5.1