Boost logo

Boost :

From: richielee616_at_[hidden]
Date: 2001-12-01 23:09:34


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?


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