few probs with integer timestamps

Lists: pgsql-hackers
From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: few probs with integer timestamps
Date: 2002-04-22 04:55:12
Message-ID: GNELIHDDFBOCMGBFGEFOOEDMCCAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On FreeBSD/Alpha, current CVS:

gmake -C common SUBSYS.o
gmake[4]: Entering directory `/home/chriskl/pgsql/src/backend/access/common'
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../..
/../src/include -c -o heaptuple.o heaptuple.c -MMD
In file included from ../../../../src/include/utils/timestamp.h:24,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/heapam.h:18,
from heaptuple.c:23:
../../../../src/include/utils/int8.h:35: warning: `INT64CONST' redefined
../../../../src/include/utils/pg_crc.h:85: warning: this is the location of
the previous definition
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../..
/../src/include -c -o indextuple.o indextuple.c -MMD
In file included from ../../../../src/include/utils/timestamp.h:24,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/access/heapam.h:18,
from indextuple.c:19:
../../../../src/include/utils/int8.h:35: warning: `INT64CONST' redefined
../../../../src/include/utils/pg_crc.h:85: warning: this is the location of
the previous definition
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../..
/../src/include -c -o indexvalid.o indexvalid.c -MMD
In file included from ../../../../src/include/utils/timestamp.h:24,
from ../../../../src/include/utils/nabstime.h:21,
from ../../../../src/include/access/xact.h:19,
from ../../../../src/include/utils/tqual.h:19,
from ../../../../src/include/access/relscan.h:17,
from ../../../../src/include/nodes/execnodes.h:17,
from ../../../../src/include/nodes/plannodes.h:17,
from ../../../../src/include/executor/execdesc.h:19,
from ../../../../src/include/executor/executor.h:17,
from ../../../../src/include/executor/execdebug.h:17,
from indexvalid.c:19:
../../../../src/include/utils/int8.h:35: warning: `INT64CONST' redefined
../../../../src/include/utils/pg_crc.h:85: warning: this is the location of
the previous definition


From: Thomas Lockhart <thomas(at)fourpalms(dot)org>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: few probs with integer timestamps
Date: 2002-04-22 05:54:56
Message-ID: 3CC3A5B0.E9BD40D1@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> On FreeBSD/Alpha, current CVS:
...
> ../../../../src/include/utils/int8.h:35: warning: `INT64CONST' redefined
> ../../../../src/include/utils/pg_crc.h:85: warning: this is the location of
> the previous definition

afaict this is OK (that is, the compiled code should work) until we get
the definitions moved around and cleaned up. I'm not sure why I didn't
see that multiple definition on my machine...

- Thomas