On 09/20/2016 01:38 PM, David Malcolm wrote:
On Tue, 2016-09-20 at 13:35 -0600, Martin Sebor wrote:
[...]
+#if 0
...
+#else
...
+#endif
Please remove the #if 0'd code.
Sorry about that. This was left over from my effort to persuade
the substring_loc class to underline just the last quote of the
format string. I thought David had made some changes to make it
possible but I may have misremembered. Let me raise a separate
bug for it.
I don't think the substring_loc code supports such a feature yet;
please open a bug for it and CC me on it.
Done in bug 77672 - wrong rich location in warning: writing
a terminating nul past the end.
Thanks
Martin