[C++-sig] VC6 Compile error with boost 1.31.0

Eric wstwej03 at sneakemail.com
Wed Apr 7 21:04:42 CEST 2004


I can't claim this is anything but a hack, but I was able to work around
this problem with no ill effects with a handy #if 0:

in boost\graph\detail\adjacency_list.hpp:1047

#if 0
    // O(E/V) or O(log(E/V))
    template <class Config>
    inline void
    bidirectional_graph_helper_with_property<Config>::remove_edge(typename
Config::edge_descriptor e)
    {
      typedef typename Config::graph_type graph_type;
      graph_type& g = static_cast<graph_type&>(*this);
      boost::remove_edge(source(e, g), target(e, g), *this);
    }
#endif

I'm still able to build the boost_python dll with MSVC6 and build various
python extension DLLs.

Hope that is helpful...

Eric



-----Original Message-----
From: c++-sig-bounces at python.org [mailto:c++-sig-bounces at python.org]On
Behalf Of Your Name python-at-cityofdreams.com |cppsig|
Sent: Wednesday, April 07, 2004 5:38 AM
To: XXXXXXXXXXXXXXXXXXXXXX
Subject: [C++-sig] VC6 Compile error with boost 1.31.0


Using VC6, Python 2.3 and Boost 1.31.0, I get the following errors


inheritance.cpp
C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1055) : error
C2244: 'bidirectional_graph_ move_edge' : unable to resolve function
overload
C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1057) : error
C2954: template definitions

plus a whole lot more.  I know others have had this problem, and the
only answer I saw was to get a snapshot direct from CVS.  Sadly I can't
get direct CVS access from my location.  Is there anywhere else I can
get an update to the specific files?  And can someone list which files I
need to get to fix this?

Thanks.
Peter

_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig







More information about the Cplusplus-sig mailing list