[PATCH] C++: show location of unclosed extern "C" specifications (v2)

Jason Merrill jason@redhat.com
Thu Oct 12 21:18:00 GMT 2017


On Thu, Oct 12, 2017 at 2:45 PM, David Malcolm <dmalcolm@redhat.com> wrote:
> - put the note on the string-literal, rather than the extern:
>     note: 'extern "C"' linkage started here
>      extern "C" {
>             ^~~

Maybe a range spanning both tokens?

OK with or without that change.

Jason



More information about the Gcc-patches mailing list