$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [bind] Error C4430 in bind.hpp
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2012-03-14 18:07:26
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