https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- so you are asking not to show the source file for #warning ? I don't see why this warning should be treated as any different from any other warning.