[Bug c++/42824] [4.5 regression] c++ compilation complains about error: call of overloaded
redi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 25 19:44:00 GMT 2010
------- Comment #11 from redi at gcc dot gnu dot org 2010-01-25 19:44 -------
Confirmed
pr42824.cc: In member function Âvoid Eval<T>::eval(int_<0>) [with int V = 0, T
= Mtrl]Â:
pr42824.cc:42:9: instantiated from Âvoid Eval<T>::eval() [with int V = 0, T =
Mtrl]Â
pr42824.cc:65:20: instantiated from here
pr42824.cc:57:9: error: call of overloaded Âvalue(Eval<Mtrl>::Wrap<Quan<0> >)Â
is ambiguous
pr42824.cc:49:10: note: candidates are: void
Eval<T>::value(Eval<T>::Wrap<Quan<V2> >) [with int V = 0, int V2 = 0, T = Mtrl]
pr42824.cc:52:10: note: void
Eval<T>::value(Eval<T>::Wrap<Quan<0> >) [with int V = 0, T = Mtrl]
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to work| |4.4.2
Last reconfirmed|0000-00-00 00:00:00 |2010-01-25 19:44:07
date| |
Summary|c++ compilation complains |[4.5 regression] c++
|about error: call of |compilation complains about
|overloaded |error: call of overloaded
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42824
More information about the Gcc-bugs
mailing list