[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error while compiling on FreeBSD
From: |
Richard Frith-Macdonald |
Subject: |
Re: Error while compiling on FreeBSD |
Date: |
Tue, 2 Dec 2014 06:57:02 +0000 |
On 2 Dec 2014, at 00:47, Riccardo Mottola <address@hidden> 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).
- Error while compiling on FreeBSD, Riccardo Mottola, 2014/12/01
- Re: Error while compiling on FreeBSD, Lundberg, Johannes, 2014/12/01
- Re: Error while compiling on FreeBSD,
Richard Frith-Macdonald <=
- Re: Error while compiling on FreeBSD, Riccardo Mottola, 2014/12/04
- Re: Error while compiling on FreeBSD, Wolfgang Lux, 2014/12/06
- Re: Error while compiling on FreeBSD, Riccardo Mottola, 2014/12/14
- Re: Error while compiling on FreeBSD, Lundberg, Johannes, 2014/12/14
- Re: Error while compiling on FreeBSD, Lundberg, Johannes, 2014/12/14
- Re: Error while compiling on FreeBSD, Riccardo Mottola, 2014/12/21
- Re: Error while compiling on FreeBSD, Riccardo Mottola, 2014/12/29
- Re: Error while compiling on FreeBSD, David Wetzel, 2014/12/29