Re: Second call for platform testing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Second call for platform testing
Date
Msg-id 19547.1007058550@sss.pgh.pa.us
Whole thread Raw
In response to Re: Second call for platform testing  ("Cyril VELTER" <cyril.velter@libertysurf.fr>)
Responses Re: Second call for platform testing
Re: Second call for platform testing
List pgsql-hackers
"Cyril VELTER" <cyril.velter@libertysurf.fr> writes:
>     What modification should be made to configure.in to make it include
> SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?

This looks like a bit of a pain.  We're currently using AC_CHECK_SIZEOF
to make those probes, apparently because it's the closest standard macro
to what we want.  But it's not close enough.  It doesn't include
anything except <stdio.h>.  I don't think we can fix this except by
making our own macro.  Peter, any opinion about how to do it?

(If we do make our own macro, we could change the output to be something
more reasonable, like #defining HAVE_UINT8 rather than claiming
"sizeof uint8 = 0", which is sure to confuse people.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: select NOT IN with NULL bug on 7.2b3
Next
From: "Cyril VELTER"
Date:
Subject: Re: Second call for platform testing