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

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Fri Feb 6 20:30:04 CET 2004


Unfortunately I have to confirm that Boost.Python from the 1.31.0 release fails
to compile with Visual C++ 6. :( :( :(
I am extremely frustrated because I spent days and days recompiling the
RC_1_31_0 branch over and over again with many different compilers. I guess I
got exhausted because the release was pushed back all the time and VC6 dropped
off my radar at some point.

However, I am having NO problems compiling with Visual C++ 7.0 (.NET 2002) and
7.1 (.NET 2003) using our SCons-based build system. This includes compiling all
tests in boost/libs/python/test. I.e. any problems with these compilers must be
due to the compilation flags used. To see that flags that I am using look here:

http://cci.lbl.gov/cctbx_build/results/2004_01_20_2338/win2000_py23_build_log

I should mention that our VC7 is the poor-man's version without the optimizer.
But our VC7.1 is the full-blown version.

I don't know what to do about the VC6 failure. David?
Two comments:

- First of all a plea: please, please, please try the release candidates if you
want to be sure a release works on your platform. For a volunteer driven
development like Boost it is very difficult to ensure everything is healthy on
all platforms at all times. Especially if antiquated compilers are involved we
really depend on timely feedback.

- Maybe it is a wink from god: VC6 is a very sick compiler anyway. A much
better alternative is readily available (VC71). I personally believe that any
effort spent on supporting VC6 is a huge financial damage in the bigger
picture.

Ralf

--- Aashish Chaudhary <aashish at iastate.edu> wrote:
> I had some sort of same probelm with the MSVC7.0 !! compiling the cvs version
> of
> Boost.Python... 
> 
> ~aashish
> 
> 
> 
> > "Willem de Jonge" <w.d.jonge at cebra.tue.nl> writes:
> > > "Raoul Gough" <RaoulGough at yahoo.co.uk> wrote in message
> > > news:usmhpz8to.fsf at yahoo.co.uk...
> > 
> > [reformatting...]
> > >> 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).
> > >
> > > I'm having the same problem. I used a "clean" 1.31.0 version (.zip
> > > downloaded from sourceforge). I also did a new checkout from the CVS
> > > today, which also doesn't compile. I did a CVS checkout on 21-1-2004
> > > which compiled fine (and still does). Any help appreciated.
> > 
> > That's bad - it's starting to look like Boost.Python may be broken on
> > MSVC6 in the 1.31.0 release... I can't imagine it was a conscious
> > decision to drop support for this compiler, but it could be that the
> > Windows regression tests don't include Boost.Python [see below].
> > Maybe Ralf knows more about the situation?
> > 
> > [snip]
> > >> 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'
> > 
> > 
> > _______________________________________________
> > C++-sig mailing list
> > C++-sig at python.org
> > http://mail.python.org/mailman/listinfo/c++-sig


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html




More information about the Cplusplus-sig mailing list