[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS-060720 compilation failure on Solaris 10, patch
From: |
Ludovic Courtès |
Subject: |
Re: CVS-060720 compilation failure on Solaris 10, patch |
Date: |
Tue, 25 Jul 2006 09:33:55 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> Claes Wallin <address@hidden> writes:
>>
>> +#ifdef __sun__
>> +/* workaround for broken Solaris 10 headers */
>> +#define SCM_I_PTHREAD_ONCE_INIT { PTHREAD_ONCE_INIT }
>> +#else /* !__sun__ */
>> +#define SCM_I_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT
>> +#endif /* !__sun__ */
>
> Grr. Contrary to what posix says I think :-(.
>
> http://www.opengroup.org/onlinepubs/000095399/functions/pthread_once.html
>
> I might make a configure test to see which style should be used, you'd
> imagine sun will fix their bugs eventually.
I guess defining `_POSIX_SOURCE' doesn't make any difference here, does
it?
Thanks,
Ludovic.
- Re: CVS-060720 compilation failure on Solaris 10, patch, (continued)
- Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/20
- Re: CVS-060720 compilation failure on Solaris 10, patch, Claes Wallin, 2006/07/21
- Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/23
- Re: CVS-060720 compilation failure on Solaris 10, patch, Claes Wallin, 2006/07/24
- Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/24
- Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/20
- Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/24
- Re: CVS-060720 compilation failure on Solaris 10, patch,
Ludovic Courtès <=
Re: CVS-060720 compilation failure on Solaris 10, patch, Kevin Ryde, 2006/07/20