Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [VC++10] Could someone please see if this compiles?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-28 13:58:30


AMDG

Jeremiah Willcock wrote:
> I'm trying to figure out a small test case for something that's
> failing in Boost.Graph and that seems like a compiler bug. Here is a
> snippet that I would appreciate having tested. Thank you.

It does not compile. Here's the output:

1>------ Build started: Project: scratch, Configuration: Debug Win32 ------
1> scratch.cpp
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(42): error C2752:
'property_map<Graph,Property>' : more than one partial specialization
matches the template argument list
1> with
1> [
1>
Graph=compressed_sparse_row_graph<directedS,vertex_prop,int,int,distributedS<int,int,int>,int>,
1> Property=float vertex_prop::*
1> ]
1> c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(29): could be
'property_map<compressed_sparse_row_graph<directedS,VertexProperty,EdgeProperty,GraphProperty,distributedS<ProcessGroup,InVertex,InDistribution>,InEdgeIndex>,TBundle::*
>'
1> c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(5): or
'property_map<Graph,TBundle::* >'
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(42): error C2039: 'type' : is
not a member of 'property_map<Graph,Property>'
1> with
1> [
1>
Graph=compressed_sparse_row_graph<directedS,vertex_prop,int,int,distributedS<int,int,int>,int>,
1> Property=float vertex_prop::*
1> ]
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(42): error C2065: 'type' :
undeclared identifier
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(43): error C2065: 'x' :
undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

In Christ,
Steven Watanabe


Boost-testing list run by mbergal at meta-comm.com