A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=715 ====================================================================== Reported By: hinote Assigned To: ====================================================================== Project: DBMail Issue ID: 715 Category: General Reproducibility: always Severity: tweak Priority: normal Status: new target: ====================================================================== Date Submitted: 17-Jul-08 19:43 CEST Last Modified: 18-Jul-08 15:30 CEST ====================================================================== Summary: suggestion: eliminate annoying compiler warnings on 64-bit platforms Description: This is a (mostly code cosmetic) suggestion.
Eliminate annoying compiler warnings on 64-bit platforms, caused by incompatible u64_t datatype when you printf it using %llu or %lld format. For 2.2.10, just apply the patch attached. For 2.3.x: --- add #define U64_T_FORMAT G_GUINT64_FORMAT into dbmailtypes.h after definition of the u64_t datatype; --- change all appearances of '%llu' or '%lld' to '%" U64_T_FORMAT "' with a batch editor, and finally remove appearances of the "" literal where it follows U64_T_FORMAT (ie where %llu was placed at the end of the string literal). ====================================================================== ---------------------------------------------------------------------- paul - 17-Jul-08 20:55 ---------------------------------------------------------------------- Where is the patch? ---------------------------------------------------------------------- hinote - 18-Jul-08 15:30 ---------------------------------------------------------------------- here it comes, zipped due to max size restriction... Issue History Date Modified Username Field Change ====================================================================== 17-Jul-08 19:43 hinote New Issue 17-Jul-08 20:55 paul Note Added: 0002588 18-Jul-08 15:29 hinote File Added: warnllu_patch.zip 18-Jul-08 15:30 hinote Note Added: 0002589 ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
