Re: [PATCH] gcc warning 'expression which evaluates to zero treated as a null pointer' - Mailing list pgsql-hackers

didier <[email protected]> writes:
> clang -E output before 7a0574b5
> HeapTuple newtuple = 0;
> with 7a0574b5
> HeapTuple newtuple = ((bool) 0);

Hm, did you re-run configure after 7a0574b5?  If you didn't, it would
have gone through the not-stdbool.h path in c.h, which might account
for this.  It's a good catch though, even if by accident :-)

            regards, tom lane



pgsql-hackers by date:

Previous
From: didier
Date:
Subject: Re: [PATCH] gcc warning 'expression which evaluates to zero treatedas a null pointer'
Next
From: Peter Geoghegan
Date:
Subject: Re: Building infrastructure for B-Tree deduplication that recognizeswhen opclass equality is also equivalence