On 2 Dec 2014, at 00:47, Riccardo Mottola <[email protected]> wrote: > > Hi, > > I just tried compiling on FreeBSD 10.0 clang: > > Compiling file NSThread.m ... > NSThread.m:810:14: error: assigning to 'int' from incompatible type 'void' > result = PTHREAD_SETNAME(pthread_self(), > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > > Ideas? It looks it is Johannes' change here.
It seems there are two variants of pthread_setname_np and the autoconf script didn't know about them; it was just checking for pthread_setname_np or pthread_set_name_np I have rewritten the tests so it should discriminate between the version which takes two arguments and the one that takes three. I comitted the change to trunk so you can try it out (I don't have the different bsd systems to try it on). _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
