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 clear the map's
in-system-header flag around the warning emission. But that's, well, urgh:(
Is there a neater way?
nathan
[1] The user may have included the system header inside an extern "C"
region, but this is also so the glibc maintainers can locate where glibc
does it itself.
--
Nathan Sidwell