https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71255
--- Comment #9 from Florian Weimer <fw at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #8) > While a pragma might work I'd say for the case in question we'd like to > have a "tentative" forward declaration that can be merged with subsequent > forward declarations but isn't found itself by name lookup until > declared itself. Right, this is what I meant to suggest in comment 3 as well.