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

From Bruce Momjian
Subject Re: Second call for platform testing
Date
Msg-id 200111291912.fATJCsN24164@candle.pha.pa.us
Whole thread Raw
In response to Re: Second call for platform testing  (Tom Lane <tgl@sss.pgh.pa.us>)
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?

I was wondering where that bizarre fopen()/fprintf() in the test code
came from.  It looked strange.  Now I know why;  it came from autoconf.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Second call for platform testing
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Rules