[Bug c++/28785] internal compiler error
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 21 01:31:00 GMT 2006
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-21 01:31 -------
(In reply to comment #3)
> This works in 4.1.0.
Meaning it does not ICE.
../../include/viewAsGraph.hh: In instantiation of
ÂviewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >Â:
../src/viewAsGraphTest.cc:21: instantiated from here
../../include/viewAsGraph.hh:153: error: ambiguous template specialization
Âsource<>Â for Âconst int& source(const edgeTest&, const
viewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >&)Â
../../include/viewAsGraph.hh:159: error: ambiguous template specialization
Âtarget<>Â for Âconst int& target(const edgeTest&, const
viewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >&)Â
../../include/viewAsGraph.hh:166: error: template-id Âput<>Â for Âvoid
put(boost::default_color_type*, const int&, boost::default_color_type)Â does
not match any template declaration
../../include/viewAsGraph.hh:169: error: template-id Âget<>Â for
Âboost::default_color_type get(boost::default_color_type*, const int&)Â does
not match any template declaration
../src/viewAsGraphTest.cc: In function Âint main(int, char**)Â:
../src/viewAsGraphTest.cc:22: error: call of overloaded Âsource(edgeTest,
main(int, char**)::graphType&)Â is ambiguous
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28785
More information about the Gcc-bugs
mailing list