
I also forgot to mention I'm using Boost 1.48 --------- Robert Dailey On Wed, Mar 14, 2012 at 5:07 PM, Robert Dailey <rcdailey@gmail.com> 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 1>c:\code\work\cmake-mds\build-vc9\third_party\boost\1.48.0\include\boost\bind\bind.hpp(1203) : 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(1204) : 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(1206) : 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(1207) : 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(1209) : 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(1210) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
They point to this code in bind.hpp:
BOOST_BIND_OPERATOR( ==, equal ) BOOST_BIND_OPERATOR( !=, not_equal )
BOOST_BIND_OPERATOR( <, less ) BOOST_BIND_OPERATOR( <=, less_equal )
BOOST_BIND_OPERATOR( >, greater ) BOOST_BIND_OPERATOR( >=, greater_equal )
BOOST_BIND_OPERATOR( &&, logical_and ) BOOST_BIND_OPERATOR( ||, logical_or )
Any idea why this is failing? If more info is needed please let me know.
--------- Robert Dailey