https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #19 from Larry Smith <admin at hexadigm dot com> --- Op here, finally got around to reviewing comment #1 (well over a year later). Yes, it's an ordering issue. Rearranging things so that all #includes come before imports fixes it. Hopefully will be corrected at some point (clearly low priority). @Patrick: Thanks for your help (appreciated).