You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2023/04/04 11:22:00 UTC

[jira] [Resolved] (DISPATCH-2355) Implement the `format` attribute for `qd_log_impl` and other such functions to hopefully have compile-time check for format strings

     [ https://issues.apache.org/jira/browse/DISPATCH-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Daněk resolved DISPATCH-2355.
----------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org