gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] SIZET_FMT and runtime behaviour checking (was: Appeal fo


From: Patrice Dumas
Subject: Re: [Gnash-dev] SIZET_FMT and runtime behaviour checking (was: Appeal for help - please do a quick test)
Date: Wed, 6 Jun 2007 09:42:21 +0200
User-agent: Mutt/1.5.14 (2007-02-12)

On Wed, Jun 06, 2007 at 09:39:39AM +0200, strk wrote:
> (sorry for flooding)
> 
> >From autoconf.info:
> 
>   << Avoid running test programs if possible, because this prevents people 
> from
>    configuring your package for cross-compiling. >>
> 
> This means dropping the AC_TRY_RUN as a whole is a good idea after all...

Sure.

> What we want to know is just the printf format string to use for size_t
> variables. IIRC, the gnu libc provides a %z modifier for exactly this, for
> any other libc implementation we need to know both size and signedness
> of it. Also, we want to know this for the *target* host, not for the build
> host. 
> 
> All in all, the simpler solution seems to be always casting the size_t 
> variable
> into a known type and forget about SIZET_FMT as a whole.
> 
> Comments ?

Maybe this issue should be brought up on the autoconf mailing list? It
would be strange that it isn't something already known. Unfortunately
I don't have time currently, but I could do that in 3 weeks.

--
Pat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]