[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cross-compilers.



On Mon, 2006-09-18 at 14:58 +0100, David Howells wrote:
> David Woodhouse <dwmw2 infradead org> wrote:
> 
> > For example, why do runtime checks for word-size when you can just use
> > explicitly sized C99 types if you actually care?

In autoconf >= 2.49 (released several years ago), size-type checks are
compile-time checks, not run-time checks.

> But you might have to build with a compiler that doesn't support them.
Exactly ... but there generally is nothing wrong with using size-type
checks _inside_ of a package. 

The real problem is people exporting the results to external header
files ("exporting autoheaders"). Autoconf already does a hard job at
preventing people from this, nevertheless people still do it.

Ralf






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]