This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46836] New: reporting locations for names in std namespace could be improved


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: unassigned@gcc.gnu.org
        ReportedBy: froydnj@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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]