On 10 November 2011 17:36, Basile Starynkevitch wrote: > On Thu, 10 Nov 2011 12:54:52 +0000 > Jonathan Wakely <jwakely....@gmail.com> wrote: >> > That type annotation produced by g++ would be usable by external editors, >> > etc. >> >> That's a pretty big assumption, and the file would be useless without >> editor support (I realise there's a chicken and egg situation here.) >> >> Doesn't DWARF debug info already contain all that info anyway? > > > The same argument can be used in reverse: the -M dependency output is in > principle > extractible from DWARF information (or could be provided by plugin), but GCC > does provide > it natively.
Good idea, maybe using a plugin for header dependency generation would be a better approach, of course plugins weren't supported when that feature was added.