This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42824] c++ compilation complains about error: call of overloaded
- From: "mario-baumann at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2010 09:24:01 -0000
- Subject: [Bug c++/42824] c++ compilation complains about error: call of overloaded
- References: <bug-42824-17177@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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