[Bug c++/16070] Bad error message
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 19 19:33:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-06-19 19:33 -------
Actually, the error message explains in very clear and plain terms
what is going on: std::endl is an overloaded function, so when you
want to pass its address to something else, you have to pick on
of these. This isn't possible based on the conversion to type
'int'. The compiler knows that the template can't match, so it
has to match against the only other candidate available.
In my view, this error message is close to perfect. If someone feels
similarly, feel free to close this bug.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16070
More information about the Gcc-bugs
mailing list