Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-13 Thread Ed L.
On Thursday September 8 2005 4:08 pm, Tom Lane wrote: > "Ed L." <[EMAIL PROTECTED]> writes: > > I see sys/ipc.h already #includes sys/types.h, though. > > Possibly there's some magic #define needed to expose the cid_t > definition? > > We have this in src/template/hpux > CPPFLAGS="-D_XOPEN_SO

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-13 Thread Tom Lane
"Ed L." <[EMAIL PROTECTED]> writes: > Here's my 11.23 compile line: > gcc -O2 -mlp64 -Wall -Wmissing-prototypes -Wpointer-arith > -Wendif-labels -fno-strict-aliasing -I../../../src/include > -D_XOPEN_SOURCE_EXTENDED -c -o pg_sema.o pg_sema.c > I've attached sys/types.h and sys/ipc.h. I'm happ

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Tom Lane
"Ed L." <[EMAIL PROTECTED]> writes: > I see sys/ipc.h already #includes sys/types.h, though. Possibly there's some magic #define needed to expose the cid_t definition? We have this in src/template/hpux CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED" because it seems necessary on HPUX 10. It used to

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Ed L.
On Thursday September 8 2005 3:48 pm, Ed L. wrote: > On Thursday September 8 2005 2:18 pm, Tom Lane wrote: > > "Ed L." <[EMAIL PROTECTED]> writes: > > > In file included from pg_sema.c:22: > > > /usr/include/sys/ipc.h:51: error: parse error before > > > "cid_t" /usr/include/sys/ipc.h:56: error: par

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Ed L.
On Thursday September 8 2005 2:18 pm, Tom Lane wrote: > "Ed L." <[EMAIL PROTECTED]> writes: > > In file included from pg_sema.c:22: > > /usr/include/sys/ipc.h:51: error: parse error before "cid_t" > > /usr/include/sys/ipc.h:56: error: parse error before '}' > > token > > So where is cid_t defined?

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Tom Lane
"Ed L." <[EMAIL PROTECTED]> writes: > In file included from pg_sema.c:22: > /usr/include/sys/ipc.h:51: error: parse error before "cid_t" > /usr/include/sys/ipc.h:56: error: parse error before '}' token So where is cid_t defined? regards, tom lane -

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Peter Eisentraut
Ed L. wrote: > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels > -fno-strict-aliasing -I../../../src/include -D_XOPEN_SOURCE_EXTENDED > -c -o pg_sema.o pg_sema.c In file included from pg_sema.c:22: > /usr/include/sys/ipc.h:51: error: parse error before "cid_t" > /usr/include/sys

Re: [BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Ed L.
On Thursday September 8 2005 12:20 pm, Ed L. wrote: > checking build system type... ia64-hp-hpux11.23 > checking host system type... ia64-hp-hpux11.23 > ... > checking sys/ipc.h presence... yes > configure: WARNING: sys/ipc.h: present but cannot be compiled > configure: WARNING: sys/ipc.h: chec

[BUGS] ia64-hp-hpux11.23 configure warnings

2005-09-08 Thread Ed L.
checking build system type... ia64-hp-hpux11.23 checking host system type... ia64-hp-hpux11.23 ... checking sys/ipc.h presence... yes configure: WARNING: sys/ipc.h: present but cannot be compiled configure: WARNING: sys/ipc.h: check for missing prerequisite headers? configure: WARNING: sys/ipc.