Any comment on this? These changes are low-risk so the only real objection I can see is that people don't deem these messages useful in the first place. I would hope, though, that some editors/IDEs provide one-click solutions to add the #includes.
On Fri, Aug 5, 2022 at 9:35 PM Ulrich Drepper <drep...@redhat.com> wrote: > How about adding a few more names from the std namespace to get > appropriate hints? This patch compiles and the appropriate messages are > printed. Is there a problem with just adding more or even at some point > all the symbols of the standard library? > > gcc/ChangeLog: > > * cp/name-lookup.cc (get_std_name_hint): Add more symbols from the > <iomanip>, <ios>, <istream> and <ostream> headers. >