[C++-sig] MSVC6 problems upgrading to Version_1_31_0 tag

Raoul Gough RaoulGough at yahoo.co.uk
Thu Feb 5 19:21:07 CET 2004


For some now forgotten reason, I decided to start testing my
indexing_v2 code with Version_1_31_0 of the rest of boost. I'm now
having trouble compiling python/src/object/inheritance.cpp on MSVC6 -
errors are reported in boost/graph/detail/adjacency_list.hpp and
boost/mem_fn.hpp (full details below).

This error *might* be because I still have some things around from the
indexing_v2 branch, although I've tried to eliminate this possibility
by reverting most of the libs/python/src tree and virtually all of the
boost headers to the Version_1_31_0 tag.

BTW, I don't see any Python test results at
http://boost.sourceforge.net/regression-logs/cs-win32.html but MSVC6
has a bunch of fails in the graph and function libraries. Any insight
into this?

----- build output (I'm pretty sure I'm using v1 of the build tools) -

"C:\Program Files\Microsoft Visual Studio\VC98\bin\cl" /Zm800
-nologo -GX -c -DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_SOURCE /Z7
/Od /Ob0 /GX /GR /MDd
-I"c:\home\rgough\build\bin\boost\libs\python\build"
-I"C:\home\rgough\boost" -I"c:\Python23\include"
-I"c:\home\rgough\msvc"
-Fo"c:\home\rgough\build\bin\boost\libs\python\build\boost_python.dll\msvc\debug\inheritance.obj"
-Tp"C:\home\rgough\boost\libs\python\build\../src/object\inheritance.cpp"

inheritance.cpp
C:\home\rgough\boost\boost/graph/detail/adjacency_list.hpp(1055) : error C2244: 'bidirectional_graph_helper_with_property<Config>::remove_edge' : unable to resolve function overload
C:\home\rgough\boost\boost/graph/detail/adjacency_list.hpp(1057) : error C2954: template definitions cannot nest
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2039: 'dm' : is not a member of '_mfi'
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2143: syntax error : missing ';' before '<'
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2501: 'dm' : missing storage-class or type specifiers
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2059: syntax error : ';'
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2059: syntax error : '<'
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2653: 'T' : is not a class or namespace name
C:\home\rgough\boost\boost/mem_fn.hpp(315) : error C2645: no qualified name for
pointer to member (found ':: *')
C:\home\rgough\boost\boost/mem_fn.hpp(320) : error C2143: syntax error : missing ';' before '}'
C:\home\rgough\boost\boost/mem_fn.hpp(320) : fatal error C1506: unrecoverable block scoping error
...failed vc-C++ c:\home\rgough\build\bin\boost\libs\python\build\boost_python.dll\msvc\debug\inheritance.obj...

-- 
Raoul Gough.
export LESS='-X'





More information about the Cplusplus-sig mailing list