Re: pgsql-server/src/include/port hpux.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src/include/port hpux.h
Date: 2002-08-30 02:09:45
Message-ID: 21234.1030673385@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

petere(at)postgresql(dot)org (Peter Eisentraut - PostgreSQL) writes:
> Modified files:
> src/include/port: hpux.h
> Log message:
> Workaround for broken large file support on HP-UX

Good try but it didn't help. After looking more closely I've realized
that HP's system headers are just hopelessly broken, at least on HPUX
10.20 (which, to be fair, is well behind the curve now). There is just
no way to compile 64-bit support without drawing warnings in
-Wmissing-declarations mode, because they've simply not included all
the declarations that should be there. _LARGEFILE64_SOURCE was a red
herring --- I forgot to count underscores carefully, and I now see that
the declarations that _LARGEFILE64_SOURCE exposes aren't the ones that
gcc is complaining about the lack of.

What I'm currently thinking we should do is default largefile support to
off in HPUX < 11.0; is there a convenient way to accomplish that in
autoconf?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-30 02:15:02 Re: pgsql-server/src/interfaces/libpq fe-connect.c
Previous Message Tom Lane 2002-08-30 02:01:34 pgsql-server/src/include/port hpux.h

Browse pgsql-hackers by date

  From Date Subject
Next Message Gordon Runkle 2002-08-30 02:33:39 [7.3devl] Using PGPASSWORDFILE with psql requires -U option?
Previous Message Christopher Kings-Lynne 2002-08-30 02:01:53 RULE regression test failure