Re: how to check type size

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

 



Andrew Makhorin <mao@xxxxxxx> writes:

> However, AC_CHECK_SIZEOF does *not* that I need. It defines certain
> macros to be used later during compilation

You can also use AC_COMPUTE_INT to set a shell variable.

> while I want the configure script just to raise an error if some types
> have unexpected sizes, for example, if 'int' is not of 4 bytes long.

If you want fixed sized type you should use the ones from <stdint.h>.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
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