Re: PR 91770 - emit a warning in a system header

2019-10-10 Thread Marek Polacek
On Thu, Oct 10, 2019 at 02:34:36PM +0200, Jakub Jelinek wrote: > On Thu, Oct 10, 2019 at 08:24:29AM -0400, Nathan Sidwell wrote: > > In addressing 91770, I need to emit a warning for a location inside a system > > header file[1]. The diagnostics machinery elides warnings when the location > > is

Re: PR 91770 - emit a warning in a system header

2019-10-10 Thread Jakub Jelinek
On Thu, Oct 10, 2019 at 08:24:29AM -0400, Nathan Sidwell wrote: > In addressing 91770, I need to emit a warning for a location inside a system > header file[1]. The diagnostics machinery elides warnings when the location > is in a system header :( > > As I happen to have located the appropriate

PR 91770 - emit a warning in a system header

2019-10-10 Thread Nathan Sidwell
In addressing 91770, I need to emit a warning for a location inside a system header file[1]. The diagnostics machinery elides warnings when the location is in a system header :( As I happen to have located the appropriate line_map in the process of determining the nested extern "C", I could