<div>It is related, see</div><div><br></div><div><a href="https://mail.haskell.org/pipermail/ghc-devs/2017-April/014055.html">https://mail.haskell.org/pipermail/ghc-devs/2017-April/014055.html</a><br></div><div><br></div><div>I did not check whether `time` has been updated yet.</div><div><br></div><div>Cheers,</div><div><br></div><div>    Gabor</div><div><br><div class="gmail_quote"><div>Em seg, 1 de mai de 2017 às 03:01, Richard Eisenberg <<a href="mailto:rae@cs.brynmawr.edu">rae@cs.brynmawr.edu</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi devs,<div><br></div><div>Trying to validate with tonight's HEAD (+ my local changes) on a Mac yields</div><div><br></div><div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:22:7: </b></span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>     error: 'HAVE_CLOCK_GETTIME' is not defined, evaluates to 0 [-Werror,-Wundef]</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(83,48,225);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>   |</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1"><b>22 |</b></span><span style="font-variant-ligatures:no-common-ligatures"> #elif </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>H</b></span><span style="font-variant-ligatures:no-common-ligatures">AVE_CLOCK_GETTIME</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1"><b>   |</b></span><span style="font-variant-ligatures:no-common-ligatures"><b>       ^</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">#elif HAVE_CLOCK_GETTIME</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      ^</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:11px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:70:7: </b></span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>     error: 'HAVE_CLOCK_GETTIME' is not defined, evaluates to 0 [-Werror,-Wundef]</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(83,48,225);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>   |</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1"><b>70 |</b></span><span style="font-variant-ligatures:no-common-ligatures"> #elif </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>H</b></span><span style="font-variant-ligatures:no-common-ligatures">AVE_CLOCK_GETTIME</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1"><b>   |</b></span><span style="font-variant-ligatures:no-common-ligatures"><b>       ^</b></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">#elif HAVE_CLOCK_GETTIME</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>Is this related to the recent change from #ifdef to #if?</div><div><br></div><div>Thanks,</div><div>Richard</div></div>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div>