https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55252

--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It would be less of a pain if -Wsystem-headers caused both locations to be
printed, but it doesn't, so sometimes the only option is to dump the
preprocessed source without line markers and then compile that to get two
locations, then map the location in the preprocessed source back to a line in
the original source.

Reply via email to