著者: Jeremy Harris 日付: To: exim-dev 題目: [exim-dev] 64b build probs
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...