Boost logo

Boost Users :

Subject: Re: [Boost-users] Error using boost::thread
From: Sergey Nikulov (sergey.nikulov_at_[hidden])
Date: 2010-02-05 17:56:40


Dann,

In general, it is good idea provide additional information, such as what C++
compiler with exact version and system you using,

2010/2/6 Daniel Veneros <dann.vd_at_[hidden]>

> Hi,
>
> I was trying to work with boost::thread but I receive an error just by
> including the header:
>
> #include <boost/thread.hpp>
>
> #include <boost/date_time.hpp>
>
>
> Error:
>
> from main.cpp:17:
>
> In file included from
> /usr/include/boost/algorithm/string/find_format.hpp:22,
>
> /usr/include/boost/algorithm/string/concept.hpp:38: error: expected `;'
> before '<' token
>
> /usr/include/boost/algorithm/string/concept.hpp:46: error: `range' does not
> name a type
>
> /usr/include/boost/algorithm/string/concept.hpp: In member function `void
> boost::algorithm::FinderConcept<FinderT, IteratorT>::constraints()':
>
> /usr/include/boost/algorithm/string/concept.hpp:43: error: `r' undeclared
> (first use this function)
>
> /usr/include/boost/algorithm/string/concept.hpp:43: error: (Each undeclared
> identifier is reported only once for each function it appears in.)
>
> /usr/include/boost/algorithm/string/concept.hpp: In member function `void
> boost::algorithm::FormatterConcept<FormatterT, FinderT,
> IteratorT>::constraints()':
>
> /usr/include/boost/algorithm/string/concept.hpp:68: error: `begin' is not a
> member of `boost'
>
> /usr/include/boost/algorithm/string/concept.hpp:69: error: `end' is not a
> member of `boost'
>
>
>
>
>
> Any idea how to solve this or what is causing this errors?
>
> Thanks
>
>
> Dann
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Best Regards,
Sergey Nikulov


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