|
Boost : |
Subject: Re: [boost] [bind] Error C4430 in bind.hpp
From: Lars Viklund (zao_at_[hidden])
Date: 2012-03-15 10:25:45
Please don't top-post. Respond in-line or at the bottom.
On Thu, Mar 15, 2012 at 08:25:54AM -0500, Robert Dailey wrote:
> >> For some reason when I include <boost/bind.hpp> I get the following
> >> errors:
> >>
> >> 1>c:\code\work\cmake-mds\build-vc9\third_party\boost\1.48.0\include\boost\bind\bind.hpp(1200)
> >> : error C4430: missing type specifier - int assumed. Note: C++ does not
> >> support default-int
> >> 1>c:\code\work\cmake-mds\build-vc9\third_party\boost\1.48.0\include\boost\bind\bind.hpp(1201)
> >> : error C4430: missing type specifier - int assumed. Note: C++ does not
> >> support default-int
[snip]
> >>
> >> They point to this code in bind.hpp:
> >>
> >> BOOST_BIND_OPERATOR( ==, equal )
> >> BOOST_BIND_OPERATOR( !=, not_equal )
[snip]
> >> Any idea why this is failing? If more info is needed please let me know.
Try preprocessing your source and see what these macros expand to on
your configuration, preferably doing the same on a known good machine.
-- Lars Viklund | zao_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk