Lists: | pgsql-hackers |
---|
From: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | LOCK_DEBUG breaks compile in 8.2 (and possibly later) |
Date: | 2006-12-13 03:31:18 |
Message-ID: | 457F7406.2060808@paradise.net.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
I just noticed that defining LOCK_DEBUG causes a compile failure (have
not delved into how to fix, but thought it would be worth noting at this
point!):
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -I.
-I../../../../src/include -c -o guc.o guc.c
guc.c:1310: error: `FirstNormalObjectId' undeclared here (not in a function)
guc.c:1310: error: initializer element is not constant
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: LOCK_DEBUG breaks compile in 8.2 (and possibly later) |
Date: | 2006-12-13 05:57:06 |
Message-ID: | 1238.1165989426@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> writes:
> I just noticed that defining LOCK_DEBUG causes a compile failure
Still another demonstration that Bruce's approach to removing "unused"
#includes does not work. Patched in HEAD ...
regards, tom lane