$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: williamkempf_at_[hidden]
Date: 2001-10-15 08:59:31
--- In boost_at_y..., larsbj_at_l... wrote:
> larsbj_at_l... writes:
> 
> | Warnings about unused arguments:
> | 
> | --- boost/libs/thread/src/mutex.cpp     Tue Sep 25 02:04:45 2001
> | +++ local/boost/libs/thread/src/mutex.cpp       Thu Oct 11 
22:50:08 2001@@ -199,7 +199,7 @@
> 
> ok, fixed in CVS.
> 
> | Compile error on the cast:
> | 
> | --- boost/libs/thread/src/once.cpp      Tue Sep 25 02:04:45 2001
> | +++ local/boost/libs/thread/src/once.cpp        Thu Oct 11 
22:46:52 2001@@ -38,7 +38,8 @@
> 
> I still get errors on the cast. I am not sure if this is a bug in 
gcc
> 2.96 or a real problem with the code. (either way it is a 
problem...)
> 
> static void do_once()
> {
>     once_callback* cb = reinterpret_cast<once_callback>
(pthread_getspecific(key));
>     (**cb)();
> }
> 
> gives this compiler message:
> 
> once.cpp: In function `void do_once ()':
> once.cpp:41: ISO C++ forbids casting between pointer-to-function and
> pointer-to-object
> once.cpp:41: cannot convert `void (*) ()' to `void (**) ()' in
> initialization
Sorry, you jumped the gun a bit ;).  I was able to make the code 
changes you posted this weekend, but for various reasons was unable 
to test them.  That's why I didn't announce the changes on the list.  
I'll have things worked out and functioning today, hopefully.
Bill Kempf