[Bug c++/17763] Wrong context in error message for template parameter

gdr at cs dot tamu dot edu gcc-bugzilla@gcc.gnu.org
Fri Oct 1 03:41:00 GMT 2004


------- Additional Comments From gdr at cs dot tamu dot edu  2004-10-01 03:41 -------
Subject: Re:  Wrong context in error message for template parameter

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Well that line is correct as it is operator== which cannot be found.

You miss the point of the report.

The issue is not that the operator cannot be found.  The issue is
about the intelligibility of the diagnostic message.

| we already fixed the problem:
| t.cc:14: error: no match for 'operator==' in 'q. std::_Rb_tree_iterator<_Tp>::operator* [with _Tp = std::
| pair<const int, int>]() == p'

This is not what I consider fixing the problem.  I am the one who
specifically put the new error message in 3.4.x (and therefore 4.0.x).
Please reopen this and put it in the category enhancement.'

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17763



More information about the Gcc-bugs mailing list