Re: [exim-dev] 64b build probs

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-dev
Temat: Re: [exim-dev] 64b build probs
On 11/11/2012 09:57 PM, Jeremy Harris wrote:
> Resurrecting stuff (sorry!) inserted by bug 1171...
>
> Doing an rpmbuild on an SL6 system, warnings:
>
> expand.c:3396: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘long long int’
> expand.c:3396: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘long long int’
>
> As far as I can see, the compile (gcc) line has "-m64" which should
> specify an LP64 model. So the format code expanding as %ld is
> correct but the types for LLONG_M{AX,IN} must be expanding
> to "long long int" and are not.
>
> I'm tempted to introduce EXIM_64B_M{AX,IN} defines;
> the problem is to make them reasonably portable across
> 32 & 64b builds on the assorted target systems...


I've pushed a branch "sl6_build_64" doing the above.
Comments?
--
Jeremy