Re: testing for usable C compiler - Mailing list pgsql-hackers

From Tom Lane
Subject Re: testing for usable C compiler
Date
Msg-id 29627.1062611886@sss.pgh.pa.us
Whole thread Raw
In response to Re: testing for usable C compiler  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: testing for usable C compiler  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> BTW, would it be possible to tweak configure's test for "minimum working
>> C compiler" to include a check that cc accepts ANSI-style function
>> prototypes?  That would allow us to bounce HP's lame excuse for a free
>> compiler with a slightly useful message ...

> Yes, unfortunately that involves that configure automatically mucks with
> CFLAGS, which could have interesting side-effects on some platforms.

Yeah.  I would suggest doing it at the "check that C compiler still
works" stage, after we think we have all the CFLAGS.  Couldn't we just
throw a prototyped function into that test program?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Olivier PRENANT
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Bruce Momjian
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)