Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group