* Kurt Roeckx <k...@roeckx.be>, 2009-08-09, 18:35:
birnetthreadimpl.cc: In function 'void* Birnet::g_atomic_pointer_get(volatile void**)': birnetthreadimpl.cc:1496: error: invalid conversion from 'void* volatile*' to 'volatile void**' birnetthreadimpl.cc:1496: error: initializing argument 1 of 'void* Birnet::g_atomic_pointer_get(volatile void**)'
Signature for g_atomic_pointer_get() indeed looks incorrect. I believe that the attached patch fixes this bug. (At least the birnet/ directory was built fine on mipsel, which is also affected.)
-- Jakub Wilk
Description: Correct signature for the g_atomic_pointer_get() function. Author: Jakub Wilk <uba...@users.sf.net> Bug-Debian: http://bugs.debian.org/540681 Index: beast-0.7.1/birnet/birnetthreadimpl.cc =================================================================== --- beast-0.7.1.orig/birnet/birnetthreadimpl.cc 2009-12-16 20:21:24.000000000 +0100 +++ beast-0.7.1/birnet/birnetthreadimpl.cc 2009-12-16 20:26:16.000000000 +0100 @@ -1491,7 +1491,7 @@ #ifdef g_atomic_pointer_get static void* -(g_atomic_pointer_get) (volatile void **atomic) +(g_atomic_pointer_get) (void * volatile *atomic) { return (void*) g_atomic_pointer_get (atomic); }
signature.asc
Description: Digital signature