Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-10-15 11:46:31


on 10/11/01 7:16 AM, Karl Pitrich at pit_at_[hidden] wrote:

> 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

This has nothing to do with make. It's a bug in once.cpp that has been
discussed recently and will presumably be fixed for the next release.

    -- Darin


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