Re: AC_CHECK_SIZEOF(char) should warn at autoconf time

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

 



"Zack Weinberg" <zackw@xxxxxxxxx> 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?


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux