autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_SIZEOF(char) should warn at autoconf time


From: Zack Weinberg
Subject: Re: AC_CHECK_SIZEOF(char) should warn at autoconf time
Date: Sat, 26 Apr 2008 02:00:58 -0400

On Sat, Apr 26, 2008 at 1:54 AM, Paul Eggert <address@hidden> wrote:
> "Zack Weinberg" <address@hidden> writes:
>
>  > Would it be possible for autoconf to notice when AC_CHECK_SIZEOF has
>  > been applied to one of these types and issue a warning?
>
>  Sure, autoconf could look for those textual patterns.
>  Also for "char unsigned", and for "char signed".
>
>  A simpler fix would be to simply document not to bother to do that.
>  One could argue that Autoconf should support the general case, and
>  also that the usage is entrenched now.  Or maybe Autoconf should just
>  set the size to be 1 without bothering to do anything at
>  configure-time?

Any or all of the above.  I'm for user education, though, which is why
I suggested the warning; I think that'll get more attention than a
note in the manual (though if you do do the warning, a more detailed
explanation in the manual would be good as well).

zw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]