Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 70930
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: RMBarker [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.9724
Fixed in: (no value)



Subject: Latest ExtUtils::ParseXS warns on Time::HiRes
The latest version of ExtUtils::ParseXS (from cpan or blead-perl) warns when building Time::HiRes due to missing OUTPUT sections. Attached patch supplies the missing sections.
Subject: hires-output-retval.patch
--- HiRes.xs.orig 2011-09-08 21:11:02.755383026 +0100 +++ HiRes.xs 2011-09-08 21:11:12.435384818 +0100 @@ -849,6 +849,8 @@ CODE: croak("Time::HiRes::nanosleep(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(TIME_HIRES_NANOSLEEP) */ @@ -897,6 +899,8 @@ CODE: croak("Time::HiRes::usleep(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(HAS_USLEEP) && defined(HAS_GETTIMEOFDAY) */ @@ -969,6 +973,8 @@ CODE: croak("Time::HiRes::ualarm(): unimplemented in this platform"); RETVAL = -1; + OUTPUT: + RETVAL NV alarm(seconds,interval=0) @@ -977,6 +983,8 @@ CODE: croak("Time::HiRes::alarm(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #ifdef HAS_UALARM */ @@ -1132,6 +1140,8 @@ CODE: croak("Time::HiRes::clock_gettime(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(TIME_HIRES_CLOCK_GETTIME) */ @@ -1162,6 +1172,8 @@ CODE: croak("Time::HiRes::clock_getres(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(TIME_HIRES_CLOCK_GETRES) */ @@ -1200,6 +1212,8 @@ CODE: croak("Time::HiRes::clock_nanosleep(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(TIME_HIRES_CLOCK_NANOSLEEP) && defined(TIMER_ABSTIME) */ @@ -1223,6 +1237,8 @@ CODE: croak("Time::HiRes::clock(): unimplemented in this platform"); RETVAL = 0.0; + OUTPUT: + RETVAL #endif /* #if defined(TIME_HIRES_CLOCK) && defined(CLOCKS_PER_SEC) */
Subject: Re: [rt.cpan.org #70930] Latest ExtUtils::ParseXS warns on Time::HiRes
Date: Tue, 13 Sep 2011 15:42:39 +0100
To: Robin Barker via RT <bug-Time-HiRes [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Robin Barker via RT wrote: Show quoted text
>The latest version of ExtUtils::ParseXS (from cpan or blead-perl) warns >when building Time::HiRes due to missing OUTPUT sections. >Attached patch supplies the missing sections.
Thanks. Will go in the next release. -zefram
Fixed in Time-HiRes-1.9725.