From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22671 invoked by alias); 5 Sep 2004 17:04:21 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 22662 invoked from network); 5 Sep 2004 17:04:20 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.10) by sourceware.org with SMTP; 5 Sep 2004 17:04:20 -0000 Received: (qmail 4384 invoked from network); 5 Sep 2004 17:04:20 -0000 Received: from taltos.codesourcery.com (zack@66.92.218.83) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 5 Sep 2004 17:04:20 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Sun, 5 Sep 2004 10:04:20 -0700 To: Jones Desougi Cc: gcc@gcc.gnu.org Subject: Re: AC_COMPILE_CHECK_SIZEOF References: <200409051545.i85FjPxh028248@usagi.ingate.se> From: Zack Weinberg Date: Sun, 05 Sep 2004 17:04:00 -0000 In-Reply-To: <200409051545.i85FjPxh028248@usagi.ingate.se> (Jones Desougi's message of "Sun, 5 Sep 2004 17:45:25 +0200") Message-ID: <87brgk4pgs.fsf@codesourcery.com> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-09/txt/msg00215.txt.bz2 Jones Desougi 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