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

Time-HiRes broken in Sierra

Thread Next
From:
Jarkko Hietaniemi
Date:
October 16, 2016 20:10
Subject:
Time-HiRes broken in Sierra
Message ID:
2c3dc962-4365-d382-eae9-17989a22e862@iki.fi
The 
http://perl5.git.perl.org/perl.git/commit/d1e7b5aaf871f3bb4562cefa3ee3153d9aa9506f 
looks likely culprit.

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 Next


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