<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Adrian,</div><div><br></div><div>Your recent commit</div><div dir="ltr"><a href="https://github.com/llvm-mirror/llvm/commit/e8c5427c">https://github.com/llvm-mirror/llvm/commit/e8c5427c</a><br>causes build failures for me locally on Mac OSX 10.11.6 using a stock (and I guess fairly old) Xcode Clang.</div><div dir="ltr"><br></div><div>Is there any way to fix trunk so that your new code is #ifdef'ed out for versions of Clang that don't support this bizarre <font face="monospace, monospace">__builtin_available(macos 10.12, *)</font> syntax?  Or maybe hide it behind a macro?</div><div dir="ltr"><br></div><div>Thanks in advance,</div><div>Arthur</div><div dir="ltr"><br><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">In file included from $ROOT/llvm/lib/Support/Path.cpp:1113:</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>$ROOT/llvm/lib/Support/Unix/Path.inc:1140:27: </b></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>error: </b></span><span style="font-variant-ligatures:no-common-ligatures"><b>use of undeclared identifier 'macos'; did you mean 'acos'?</b></span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  if (__builtin_available(macos 10.12, *)) {</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures:no-common-ligatures"><b>                          ^~~~~</b></span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures:no-common-ligatures">                          acos</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>/usr/include/math.h:323:15: note: </b>'acos' declared here</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">extern double acos(double);</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures:no-common-ligatures"><b>              ^</b></span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">In file included from $ROOT/llvm/lib/Support/Path.cpp:1113:</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>$ROOT/llvm/lib/Support/Unix/Path.inc:1147:14: </b></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>error: </b></span><span style="font-variant-ligatures:no-common-ligatures"><b>use of undeclared identifier 'COPYFILE_CLONE'</b></span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">      Flag = COPYFILE_CLONE;</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures:no-common-ligatures"><b>             ^</b></span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">











</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">2 errors generated.</span></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p></div></div></div></div>