http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836
Summary: reporting locations for names in std namespace could be improved Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: froy...@gcc.gnu.org As suggested in http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00530.html , if we have to issue diagnostics about names in standard headers, it would be better if we said something like: <algorithm>: ...std::count... rather than: /some/ugly/path/the/user/didn't/include: ...std::count...