| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
| Cc: | Kurt Roeckx <kurt(at)roeckx(dot)be>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: gcc 4.3 breaks ContribCheck in 8.2 and older. |
| Date: | 2008-03-24 18:20:07 |
| Message-ID: | 47E7F0D7.4060008@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Alvaro Herrera wrote:
> Kurt Roeckx wrote:
>
>
>> No, this has nothing to do with CFLAGS. It's calling a function which
>> returns something other than it actually returns.
>>
>
> Yeah but apparently gcc 4.3 is working in 8.3 and later. What happens
> to your sample program if you compile it with the CFLAGS used in 8.3
> versus those used in 8.2? pg_config --configure will show these.
>
>
I am seeing the same results as Kurt. The CFLAGS as reported by
pg_config are identical:
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g
CFLAGS_SL = -fpic
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-03-24 18:24:21 | Re: [PATCHES] Eliminate more detoast copies for packed varlenas |
| Previous Message | Alvaro Herrera | 2008-03-24 18:05:31 | Re: gcc 4.3 breaks ContribCheck in 8.2 and older. |