Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-01 23:26:48


That appears to be due to the following change in mem_fn.hpp:

----------------------------
revision 1.7
date: 2001/11/29 17:29:31; author: pdimov; state: Exp; lines: +4 -1
Temporarily disabled void returns on MSVC 6 to address internal compiler
errors.
----------------------------

You might try checking out version 1.6 from CVS...

-Dave
----- Original Message -----
From: <richielee616_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, December 01, 2001 11:09 PM
Subject: [boost] Re: BOOST1.26.0.BIND?

> Really?
> When I built boost.python library. There is an error in bind header
> file:
>
> msvc-C++-action
> libs\python\build\bin\libboost_python\msvc\debug\runtime-link-
> dynamic\types.obj
> types.cpp
>
> .\boost/bind/mem_fn_template.hpp(135) : error C2562: '()' : 'void'
> function returning a value
> .\boost/bind/mem_fn_template.hpp(133) : see declaration
> of '()'
> .\boost/bind.hpp(735) : see reference to function template
> instantiation 'void __thiscall boost::_mfi::cmf1<void,class
> boost::python::detail::type_object_base,struct _object *>::operator ()
> (class boost::python::detail::type_object_base *const & ,struct
> _object *) const' being compiled
>
>
> --- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> > Mighty strange: I checked in and tested changes which make bind
> work with
> > msvc and void returns myself, well before the release.
> >
> > ----- Original Message -----
> > From: <richielee616_at_y...>
> >
> > > I am using VC6. It does not support void function returning void,
> > > So I get some errors when I use new bind library.
> > > Does that mean I cannot use bind library of boost1.26.0?
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk