Can you provide a small patch with the explicit cast?
I don't have 4.1 to test here...
Le jeudi 05 janvier 2006 à 14:14 -0500, sean a écrit :
I'm trying to build yesterday's pwlib-cvs on fedora 5 test
1, which uses gcc-4.1.
g++ -D_REENTRANT -Wall -O2 -fPIC -funswitch-loops
-fvisibility-inlines-hidden -ftree-vectorize -march=k8
-pipe -mfpmath=sse -DP_64BIT -fPIC -DPIC
-I/usr/src/redhat/BUILD/pwlib-2006.01.05/include -O2 -fPIC
-funswitch-loops -march=k8 -pipe -mfpmath=sse
-felide-constructors -x c++ -c svcproc.cxx -o
/usr/src/redhat/BUILD/pwlib-2006.01.05/lib/obj_linux_x86_64_r/svcproc.o
svcproc.cxx:349: error: invalid conversion from 'void*' to
'__pthread_mutex_u*'
svcproc.cxx:349: error: invalid conversion from 'void*' to
'__pthread_mutex_u*'
I assume this is some gcc language lawyer enforcing an
obscure c++ rule, but I couldn't figure it out.
sean