This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AC_COMPILE_CHECK_SIZEOF


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]