On Fri, 5 Aug 2022 at 17:39, Julian Lenz via Gcc <gcc@gcc.gnu.org> wrote: > > Hi everybody, > > TL;DR: > > What is the reason that `error: '<some class>' has incomplete type` does > not give a note about where the forward declaration happened for > standard library classes?
Probably because the declaration happens in a system header. Does -Wsystem-headers change it?