Boost logo

Boost :

From: Karl Pitrich (pit_at_[hidden])
Date: 2001-10-11 09:16:42


On Thu, 11 Oct 2001, helmut.zeisel_at_[hidden] wrote:

> --- In boost_at_y..., Karl Pitrich <pit_at_r...> wrote:
> >
> > as i have absolutely no clue of jam i' dbe really grateful for
> > advice on
> > building the threads library.
>
> http://www.boost.org/libs/thread/doc/config.html
>
> I did not use jam,
> but I used the following definitions in my makefile:
>
> -DBOOST_HAS_GETTIMEOFDAY -DBOOST_HAS_PTHREADS
>

can i have your makefile?

i made an automake environment for building, this is my result:

once.cpp: In function `void do_once ()':
once.cpp:41: ISO C++ forbids casting between pointer-to-function and
pointer-to-object
once.cpp: In function `void boost::call_once (void (*) (), once_flag
&)':
once.cpp:88: cannot convert `void (*) ()' to `const void *' for
argument `2' to `pthread_setspecific (unsigned int, const void *)'
make[1]: *** [once.lo] Error 1

thanks, karl.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk