few probs with integer timestamps

Started by Christopher Kings-Lynneover 23 years ago2 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

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

#2Thomas Lockhart
thomas@fourpalms.org
In reply to: Christopher Kings-Lynne (#1)
Re: few probs with integer timestamps

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