This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AC_COMPILE_CHECK_SIZEOF
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Jones Desougi <jones at ingate dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 05 Sep 2004 10:04:19 -0700
- Subject: Re: AC_COMPILE_CHECK_SIZEOF
- References: <200409051545.i85FjPxh028248@usagi.ingate.se>
Jones Desougi <jones@ingate.com> writes:
> AC_COMPILE_CHECK_SIZEOF (in config/accross.m4) takes an optional argument
> and uses it for two incompatible purposes. One is additional sizes to try
> and the other is additional code sent to AC_TRY_COMPILE.
> This affects mainline and the 3.4 branch. The gcc_AC_COMPILE_CHECK_SIZEOF
> that was in 3.3.x used two optional arguments for this.
> The optional argument does not appear to be used anywhere at this time.
For mainline, I think it would be better if you cut us over to
plain AC_CHECK_SIZEOF, which works correctly when cross-compiling in
autoconf 2.5x.
For 3.4, we'd need to know that there was an actual problem before
changing anything. Did you encounter a problem?
zw