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++/28785] internal compiler error



------- Comment #2 from smirolo at hotmail dot com  2006-08-20 19:06 -------
Actually, I have the following two definitions:

  friend vertex_descriptor
  source<>( const edge_descriptor& e, const viewAsGraph& g );

  friend const vertex_descriptor& 
  source<>( const edge_descriptor& e, const viewAsGraph& g );

This is an error as both function have the same prototype according to C++.
None the less, the compiler should report an error message and not an internal
error in my opinion.


-- 


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


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