develooper Front page | perl.perl5.porters | Postings from October 2016

Re: Time-HiRes broken in Sierra

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
October 16, 2016 20:43
Subject:
Re: Time-HiRes broken in Sierra
Message ID:
f15dd259-841f-81c7-a4ac-3dec9c41599b@iki.fi
On Sunday-201610-16 16:09, Jarkko Hietaniemi wrote:
> The
> http://perl5.git.perl.org/perl.git/commit/d1e7b5aaf871f3bb4562cefa3ee3153d9aa9506f
> looks likely culprit.

http://perl5.git.perl.org/perl.git/commit/69d1f2c2cdaa4ac2f37372e8c15c679848df2252

looks possible cure.

> cc -c   -fno-common -DPERL_DARWIN -mmacosx-version-min=10.12
> -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
> -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wall
> -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings
> -O3   -DVERSION=\"1.9740_01\" -DXS_VERSION=\"1.9740_01\"  "-I../.."
> -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME
> -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK_NANOSLEEP
> -DTIME_HIRES_CLOCK_NANOSLEEP_EMULATION -DTIME_HIRES_CLOCK
> -DTIME_HIRES_STAT_ST_XTIMESPEC -DTIME_HIRES_STAT=1 -DATLEASTFIVEOHOHFIVE
> HiRes.c
> HiRes.xs:805:13: error: typedef redefinition with different types ('int'
> vs 'enum clockid_t')
> typedef int clockid_t; /* to conform with POSIX prototypes */
>              ^
> /usr/include/time.h:171:3: note: previous definition is here
> } clockid_t;
>    ^
> 1 error generated.
>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About