On 10/16/19 11:59 AM, Paolo Carlini wrote: > ... the below, slightly extended patch: 1- Makes sure the > in_system_header_at calls surviving in decl.c get the same location used > for the corresponding diagnostic Hmm, we probably want to change permerror to respect warn_system_headers like warning and pedwarn. Jason