[Bug c/77328] incorrect caret location in -Wformat calling printf via a macro

2019-10-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77328 --- Comment #5 from Martin Sebor --- The GCC 10 output looks almost correct. I think two things should change: 1) the warning should underline the directive (like the second note), not the whole format string 2) the second note should be

[Bug c/77328] incorrect caret location in -Wformat calling printf via a macro

2019-10-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77328 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > GCC 8 and 9 output for the test case is slightly different (underlining the > sprintf argument is a nice improvement) but still not what it should be: > > pr77328

[Bug c/77328] incorrect caret location in -Wformat calling printf via a macro

2018-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77328 Martin Sebor changed: What|Removed |Added Known to fail||7.3.0, 8.2.0, 9.0 --- Comment #3 from Mar

[Bug c/77328] incorrect caret location in -Wformat calling printf via a macro

2018-07-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77328 Eric Gallager changed: What|Removed |Added CC||dodji at gcc dot gnu.org --- Comment #2

[Bug c/77328] incorrect caret location in -Wformat calling printf via a macro

2017-07-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77328 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|