|
Boost Testing : |
Subject: Re: [Boost-testing] [VC++10] Could someone please see if this compiles?
From: KTC (ktc_at_[hidden])
Date: 2010-05-28 18:35:01
On 28/05/2010 22:33, Jeremiah Willcock wrote:
> Sorry I keep asking for these, but I don't have VC++ 10 and would like a
> small example to report as a bug. I guess I trimmed too far in the last
> one -- what about this?
>
> <snip>
It doesn't compile.
1>------ Build started: Project: Test, Configuration: Debug Win32 ------
1>Build started 28/05/2010 23:33:35.
1>InitializeBuildStatus:
1> Creating "Debug\Test.unsuccessfulbuild" because "AlwaysCreate" was
specified.
1>ClCompile:
1> main.cpp
1>c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(40): 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>,
1> Property=float vertex_prop::*
1> ]
1> c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(27): could be
'property_map<compressed_sparse_row_graph<directedS,VertexProperty,EdgeProperty,GraphProperty,distributedS,InEdgeIndex>,TBundle::*
>'
1> c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(5): or
'property_map<Graph,TBundle::* >'
1>c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(40): 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>,
1> Property=float vertex_prop::*
1> ]
1>c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(40): error C2065: 'type' : undeclared
identifier
1>c:\documents and settings\ktc\my documents\visual studio
2010\projects\test\test\main.cpp(40): error C2065: 'x' : undeclared
identifier
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:04.39
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Regards,
KTC