#2244 closed enhancement (fixed)
Add infrastructure to detect bad arguments to printf-like functions
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | debug |
Cc: | warmerdam |
Description
In r13858, I've added a new macro, CPL_PRINT_FUNC_FORMAT, for GCC >= 3. This helps detecting bad arguments to functions whose signature is like printf. CPLDebug and CPLString::Printf are two such functions.
Thanks to this addition, I've been able to fix quite a few wrong arguments in r13859 and in r13860
Change History (2)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Type: | defect → enhancement |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
Another missing argument added in r13871