Withdrawn: 8198918: jio_snprintf and friends are not checked by -Wformat

Afshin Zafari azafari at openjdk.org
Tue Nov 7 09:31:41 UTC 2023


On Tue, 26 Sep 2023 11:46:19 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> - The `ATTRIBUTE_PRINTF` usage in cpp files is useless. They are removed.
> -  There are cases where `jio_xxprintf` functions use `char *` arguments for format string, rather than a literal like `"%s..."`. These cases are _not compiled_ when `ATTRIBUTE_PRINTF` is used for them. So, first I used the attribute and got the corresponding compile errors. Then I fixed the issues and removed the attribute when all issues were fixed.
> 
> ### Test
> The changes are tested on all platforms tiers 1-4.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/15918


More information about the graal-dev mailing list