Jiri Daněk created DISPATCH-2355:
------------------------------------
Summary: Implement the `format` attribute for `qd_log_impl` and
other such functions to hopefully have compile-time check for format strings
Key: DISPATCH-2355
URL: https://issues.apache.org/jira/browse/DISPATCH-2355
Project: Qpid Dispatch
Issue Type: Bug
Affects Versions: 1.19.0
Reporter: Jiri Daněk
Fix For: 1.20.0
Attachments: image-2023-04-02-21-25-09-798.png
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Common-Function-Attributes.html#Common-Function-Attributes
{code}
void qd_log_impl(qd_log_source_t *source, qd_log_level_t level, const char
*file, int line, const char *fmt, ...) __attribute__(( format(printf,5,6) ));
{code}
!image-2023-04-02-21-25-09-798.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]