Re: Re: Solaris 8 compilation errors _OUTPUT - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: Solaris 8 compilation errors _OUTPUT
Date
Msg-id 22811.981426825@sss.pgh.pa.us
Whole thread Raw
In response to Re: Solaris 8 compilation errors _OUTPUT  ("J.Goodleaf" <john@goodleaf.net>)
Responses Re: Solaris 8 compilation errors _OUTPUT
List pgsql-general
"J.Goodleaf" <john@goodleaf.net> writes:
> stringinfo.c: In function `appendStringInfo':
> stringinfo.c:104: `va_list' undeclared (first use in this function)
> stringinfo.c:104: (Each undeclared identifier is reported only once
> stringinfo.c:104: for each function it appears in.)
> stringinfo.c:104: parse error before `args'
> stringinfo.c:121: warning: implicit declaration of function `va_start'
> stringinfo.c:121: `args' undeclared (first use in this function)
> stringinfo.c:124: warning: implicit declaration of function `va_end'

In src/include/c.h, try including <stddef.h> and <stdarg.h>
unconditionally --- that is, remove #ifdef STDC_HEADERS / #endif
near line 53.  This is what we are doing in the 7.1 sources...

            regards, tom lane

pgsql-general by date:

Previous
From: "J.Goodleaf"
Date:
Subject: Re: Solaris 8 compilation errors _OUTPUT
Next
From: Franck Martin
Date:
Subject: RE: GIS-type databases using PostgreSQL