Re: [Boost-bugs] [Boost C++ Libraries] #7626: msvs 2010 problem with BGL when using previously existing good code

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7626: msvs 2010 problem with BGL when using previously existing good code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-10 22:23:50


#7626: msvs 2010 problem with BGL when using previously existing good code
-----------------------------------------+----------------------------------
  Reporter: jay.w.overstreet@… | Owner: jewillco
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.52.0 | Severity: Showstopper
Resolution: | Keywords: BGL MSVS incompatability
-----------------------------------------+----------------------------------
Description changed by jewillco:

Old description:

> Hello Team BGL,
>
> First, let me say you guys did a wonderful job on this tool set.
>
> The problem I'm experiencing is when compiling Code with Boost 1.51.0 and
> MS Visual Studio 2010, I get a bunch of compiler errors that I didn't get
> before. I had been previously using Boost 1.41.0. The typical two
> errors are:
>
> C:\devTools\boost_1_51_0\boost/pending/property.hpp(125): error C2955:
> 'boost::type' : use of class template requires template argument list
> C:\devTools\boost_1_51_0\boost/type.hpp(14) : see declaration
> of 'boost::type'
> C:\devTools\boost_1_51_0\boost/pending/property.hpp(130): error C2039:
> 'type' : is not a member of
> 'boost::lookup_one_property_internal<PList,PropName>'
>
> My graph is the following, and I'm using the depth_first_search
> algorithm.
>
> ''typedef
> property<vertex_info_t, vInfo_t, /* BOOST_INSTALL_PROPERTY */
> property<vertex_predecessor_t, size_t,
> property<vertex_rank_t, double,
> property<vertex_distance_t, double> > > >
> vertex_property_t;''
>
> ''typedef property<edge_weight_t, double> edge_property_t;''
>
> ''typedef adjacency_list<vecS, vecS, directedS, vertex_property_t,
> edge_property_t >graph_t;''
>
> The compiler complains about these two lines (There are many more
> complaints by the compiler. Just giving two examples.).
>
> '''''typedef property_map<graph_t, edge_name_t>::type
> edge_name_map_t;'''''
>
> '''
> ''typedef property_map<graph_t, vertex_color_t>::type colorMap_t;
> '''''
>

> I found a website that may shine information onto the problem
> (http://boost.2283326.n4.nabble.com/graph-msvc-compile-failure-with-
> filtered-graph-and-dijkstra-td4636744.html)
>
> Cheers.

New description:

 Hello Team BGL,

 First, let me say you guys did a wonderful job on this tool set.

 The problem I'm experiencing is when compiling Code with Boost 1.51.0 and
 MS Visual Studio 2010, I get a bunch of compiler errors that I didn't get
 before. I had been previously using Boost 1.41.0. The typical two errors
 are:

 {{{
 C:\devTools\boost_1_51_0\boost/pending/property.hpp(125): error C2955:
 'boost::type' : use of class template requires template argument list
           C:\devTools\boost_1_51_0\boost/type.hpp(14) : see declaration of
 'boost::type'
 C:\devTools\boost_1_51_0\boost/pending/property.hpp(130): error C2039:
 'type' : is not a member of
 'boost::lookup_one_property_internal<PList,PropName>'
 }}}

 My graph is the following, and I'm using the depth_first_search algorithm.

 {{{
     typedef
         property<vertex_info_t, vInfo_t, /* BOOST_INSTALL_PROPERTY */
         property<vertex_predecessor_t, size_t,
         property<vertex_rank_t, double,
         property<vertex_distance_t, double> > > >
 vertex_property_t;

     typedef property<edge_weight_t, double> edge_property_t;

     typedef adjacency_list<vecS, vecS, directedS, vertex_property_t,
 edge_property_t >graph_t;
 }}}

 The compiler complains about these two lines (There are many more
 complaints by the compiler. Just giving two examples.).

 {{{
     typedef property_map<graph_t, edge_name_t>::type edge_name_map_t;

     typedef property_map<graph_t, vertex_color_t>::type colorMap_t;
 }}}

 I found a website that may shine information onto the problem
 (http://boost.2283326.n4.nabble.com/graph-msvc-compile-failure-with-
 filtered-graph-and-dijkstra-td4636744.html)

 Cheers.

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7626#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC