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:              19-Oct-10 17:29 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).


====================================================================== 

---------------------------------------------------------------------- 
 (0002588) paul (administrator) - 17-Jul-08 20:55
 http://www.dbmail.org/mantis/view.php?id=715#c2588 
---------------------------------------------------------------------- 
Where is the patch? 

---------------------------------------------------------------------- 
 (0002589) hinote (reporter) - 18-Jul-08 15:30
 http://www.dbmail.org/mantis/view.php?id=715#c2589 
---------------------------------------------------------------------- 
here it comes, zipped due to max size restriction... 

---------------------------------------------------------------------- 
 (0003121) cloos (reporter) - 19-Oct-10 17:29
 http://www.dbmail.org/mantis/view.php?id=715#c3121 
---------------------------------------------------------------------- 
Is there any chance of this getting applied to the 2.2 branch? 

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                          
19-Oct-10 17:29  cloos          Note Added: 0003121                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to