fc5 and gcc4.1 compiler problems

Matthew Saltzman mjs at ces.clemson.edu
Sat May 13 00:25:02 UTC 2006


On Fri, 12 May 2006, Jakub Jelinek wrote:

> 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.

Any reason not to use the boost RPMs in FC5?

>
> 	Jakub
>
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list