[exim-dev] [Bug 1171] eval should support 64bit values

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: exim-dev
Παλιά Θέματα: [exim-dev] [Bug 1171] New: eval should support 64bit values
Αντικείμενο: [exim-dev] [Bug 1171] eval should support 64bit values
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1171




--- Comment #8 from Phil Pennock <pdp@???> 2012-05-16 12:55:10 ---
cc expand.c
expand.c: In function ‘compute_nhash’:
expand.c:1223: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘long unsigned int’
expand.c:1231: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘long unsigned int’
expand.c:1231: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
expand.c: In function ‘find_variable’:
expand.c:1523: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘long unsigned int’
expand.c: In function ‘eval_number’:
expand.c:3107: error: expected ‘:’ before ‘SCNd64’
expand.c: In function ‘eval_op_mult’:
expand.c:3188: error: expected ‘)’ before ‘PRId64’
expand.c:3189: warning: spurious trailing ‘%’ in format
expand.c: In function ‘expand_string_internal’:
expand.c:4301: warning: too many arguments for format
expand.c:5713: warning: field precision should have type ‘int’, but
argument 3 has type ‘long int’
expand.c:5716: error: expected ‘)’ before ‘PRId64’
expand.c:5716: warning: spurious trailing ‘%’ in format
expand.c:5708: warning: unused variable ‘n’
expand.c:5912: warning: format ‘%ld’ expects type ‘long int’, but
argument 9 has type ‘off_t’
make: *** [expand.o] Error 1

This is on MacOS. Missing <inttypes.h>; adding to exim.h fixes it, but that's
C99 which will break on some of our supported platforms, perhaps. We'll find
out during RC.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email