[Bug c/52952] Wformat location info is bad (wrong column number)
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 8 16:20:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952
--- Comment #36 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Latest patch: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00663.html
Joseph pointed out that it does not handle escape sequences. The only solution
I can think of is to open the file and re-parse the string. However, it doesn't
seem trivial to re-use libcpp to parse a string given as a char *. Any ideas
how to achieve this or a better alternative?
Escape sequences are too common to ignore in a first implementation.
More information about the Gcc-bugs
mailing list