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++/42824] c++ compilation complains about error: call of overloaded



------- Comment #5 from mario-baumann at web dot de  2010-01-22 09:24 -------
Hi Paolo, thanks for the hint about the delta tool. I attached the file as
foo.delta.ii
> g++ -c foo.delta.ii
foo.delta.ii: In member function 'void Eval<T>::eval(mpl_::int_<0>) [with int V
= 0, T = Mtrl]':
foo.delta.ii:120:115:   instantiated from 'void Eval<T>::eval() [with int V =
0, T = Mtrl]'
foo.delta.ii:121:110:   instantiated from here
foo.delta.ii:120:449: error: call of overloaded 'value(Eval<Mtrl>::Wrap<Quan<0>
>)' is ambiguous
foo.delta.ii:120:245: note: candidates are: void
Eval<T>::value(Eval<T>::Wrap<Quan<V2> >) [with int V = 0, int V2 = 0, T = Mtrl]
foo.delta.ii:120:300: note:                 void
Eval<T>::value(Eval<T>::Wrap<Quan<0> >) [with int V = 0, T = Mtrl]


-- 


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


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