[Bug c/52952] Wformat location info is bad (wrong column number)

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 1 14:20:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29753|0                           |1
        is obsolete|                            |
  Attachment #29755|0                           |1
        is obsolete|                            |

--- Comment #23 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-01 14:20:16 UTC ---
Created attachment 29765
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29765
add locations and offsets to format warnings + loc_token hash

This patch works perfect for simple sequences of plain strings and when the
whole format string comes from a macro expansion.


More information about the Gcc-bugs mailing list