Re: fc5 and gcc4.1 compiler problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 12, 2006 at 08:34:09AM +0200, Johannes Rainer wrote:
> interfaces.cpp:371:   instantiated from here
> boostIncl/boost/graph/depth_first_search.hpp:324: error: no matching
> function for call to 'vertices(const std::vector<std::vector<long unsigned
> int, std::allocator<long unsigned int> >, std::allocator<std::vector<long
> unsigned int, std::allocator<long unsigned int> > > >&)'
> 
> unfortunately it is not my code, so i have no clue how to fix the problem if
> it is a bug in the source code. it's just interesting that it compiles fine
> with gcc3.2, gcc4.0 but not with gcc4.1 ...

Please see http://gcc.gnu.org/gcc-4.1/changes.html, there were some C++
frontend changes in GCC 4.1 and this might very well be one of them.
Primarily check if vertices is present in a friend decl but without a real
decl.

	Jakub


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux