Latest datetime changes produce gcc complaints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Latest datetime changes produce gcc complaints
Date: 2001-12-30 01:23:42
Message-ID: 25815.1009675422@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

make[3]: Entering directory `/home/postgres/pgsql/src/backend/parser'
gcc -O1 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I../../../src/include -c -o analyze.o analyze.c
In file included from analyze.c:23:
../../../src/include/parser/parse.h:160: warning: `TIME' redefined
../../../src/include/utils/datetime.h:113: warning: this is the location of the previous definition

and similarly in half a dozen other modules. This is very bad; I have
no confidence that the correct value of the symbol is being used in each
place that references it. Could we rename the one in datetime.h to a
non-conflicting name?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-12-30 01:50:48 Re: LWLock contention: I think I understand the problem
Previous Message Tom Lane 2001-12-29 23:09:26 Re: LWLock contention: I think I understand the problem