|
Boost Users : |
From: Nair, Vipin (vnair_at_[hidden])
Date: 2008-05-15 04:59:57
Hi,
Thanks for the interest.
Now I found that compiler is not using /usr/include in the include path.
How to set it??
I tried to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to point to
/usr/include , but still it is not taking the files from /usr/include.
Is it that in Cygwin we need to do something else.
Regards
Vipin
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of dhruva
Sent: 15 May 2008 04:07
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Compile errors in Boost files,suspect GCC
version problem
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 mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
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