[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2021-12-15 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 Tomas Kalibera changed: What|Removed |Added CC||tomas.kalibera at gmail dot com --- Com

[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2019-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 --- Comment #5 from joseph at codesourcery dot com --- On Tue, 31 Dec 2019, ssbssa at yahoo dot de wrote: > Is there also a scenario where it would make sense to have multiple format > attributes for the same format string? That seems less like

[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2019-12-31 Thread ssbssa at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 --- Comment #4 from Domani Hannes --- (In reply to jos...@codesourcery.com from comment #3) > On Tue, 31 Dec 2019, ssbssa at yahoo dot de wrote: > > > But does it make sense to do a format check multiple times for one function? > > Yes. You co

[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2019-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 --- Comment #3 from joseph at codesourcery dot com --- On Tue, 31 Dec 2019, ssbssa at yahoo dot de wrote: > But does it make sense to do a format check multiple times for one function? Yes. You could have a function with one format string for

[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2019-12-31 Thread ssbssa at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 Domani Hannes changed: What|Removed |Added CC||ssbssa at yahoo dot de --- Comment #2 fr

[Bug c/92292] duplicate -Wformat warnings about incorrect printf format specifiers

2019-10-30 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292 --- Comment #1 from joseph at codesourcery dot com --- This would be an interaction between the built-in function having a printf format attribute and the header having either a gnu_printf or an ms_printf format attribute (depending on feature