This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: new trunk dependence on nanosleep()
- From: Tim Prince <n8tm at aol dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 12 Nov 2015 17:55:49 -0500
- Subject: Re: new trunk dependence on nanosleep()
- Authentication-results: sourceware.org; auth=none
- References: <5644C07E dot 5020900 at gmail dot com> <CAH6eHdSOHO=yJWMS+X-pQYdCsJ3L8i9G5Ax8FiUS_LtzR_9FeQ at mail dot gmail dot com>
- Reply-to: tprince at computer dot org
On 11/12/2015 12:03 PM, Jonathan Wakely wrote:
> On 12 November 2015 at 16:38, Tim Prince wrote:
>> I see that the current trunk chooses to configure so as to depend on a
>> compatible nanosleep() regardless of the ability of the target system to
>> support that (e.g. cygwin64). I haven't been able to see whether there
>> is a configure option or a prerequisites download installation to take
>> care of it.
> We've been using nanosleep there pretty much unchanged for about three years.
>
> The only recent change is to check its return value and inspect errno.
>
>> The reported compile error has to do with undefined errno and associated
>> macros in the nanosleep() call. Is there an include missing from the
>> libstdc++ source where it calls nanosleep() ?
> The missing include is fixed at r230266.
Thanks
--
Tim Prince