Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
FreeBSD 6.0 Port - Updated 12/09/05 Port and package made
anonuser:
basically the problem is there's an implicit cast that shouldn't be there.
I sent mandrav a fix, so it'll use the regular PTHREAD_ONCE_INIT. So i'm sure it'll be in the repo soon.
Also a note the freebsd version angel script is still broken the #ifdef's are wrong and working on getting the patch in.
anonuser:
After rereading your replay it seems i didn't anser your question.
Pthread was erroring out on the PTHREAD_ONCE_INIT because some function call using the key was not exepecting NULL, it was expecting pthread_mutex_t. Now it seems my little fix by casting the defintion, at least for freebsd now breaks some linux implementations. I personally never use pthread_once. its said to be dynamic package intitilization, but frankly I've no idea what its pertaining to. So I fixed it and let it be. But the patch was sent so hopefully it'll be there soon. Glad you noticed it.
Also for people on freebsd who want to build codebocks open bootstrap and execute them by hand, when you run libtool it'll ask you to add your local aclocal.m4 cache. so cat that into the codeblocks generated one. No idea why it already doesn't do it, not a problem in my port of it though.
Navigation
[0] Message Index
[*] Previous page
Go to full version