|
Boost Users : |
From: dhruva (dhruvakm_at_[hidden])
Date: 2008-05-14 23:07:27
Hi,
Let me attempt helping you (as I do not have your setup).
On Wed, May 14, 2008 at 9:35 PM, jadooo <vnair_at_[hidden]> wrote:
> ../../boost_1_33_1/boost/shared_ptr.hpp: In member function `T*
> boost::shared_ptr<T>::operator->() const [with T = LCEllaLogSource]':
> ../include/Shutdown.h:263: instantiated from here
> ../../boost_1_33_1/boost/shared_ptr.hpp:253: error: `assert' undeclared
This is the first error you are seeing (ignore the fpic stuff). Open
the file "../../boost_1_33_1/boost/shared_ptr.hpp" in an editor and
see if "boost/assert.hpp" is included. If not, there is a problem. I
am seeing the 1.35 code and it has. If the file in included, open the
"boost/assert.hpp" and see under what conditions "assert.h" is
included.
It gets included only if you have not defined both
BOOST_DISABLE_ASSERTS and BOOST_ENABLE_ASSERT_HANDLER anywhere in your
makefiles or build or source.
Alternatively, include "assert.h" before including any boost header.
-dky
-- Contents reflect my personal views only!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net