https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2015-02-27 CC| |manu at gcc dot gnu.org Component|c++ |c Ever confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to David Malcolm from comment #0) > Currently, -Wformat tells me that I got something wrong but doesn't tell we > what the correct format string is: I think this should not be hard given the tables already available when checking formats. This could be an EasyHack. About generating a patch, we would first need precise locations within format strings (PR52952), then implement the fix-it hints (PR62314) and editors like Emacs could parse them to patch the code. Unfortunately, the time I can dedicate to GCC has been very much reduced lately and I haven't been able to find anyone to continue this work.