Re: [edk2] [StdLib] Fails to compile with the latest version of Xcode/clang due to new compiler diagnostic.

2016-07-21 Thread Ard Biesheuvel
On 21 July 2016 at 17:38, Andrew Fish wrote: > >> On Jul 21, 2016, at 4:00 AM, Ard Biesheuvel >> wrote: >> >> On 20 July 2016 at 23:09, Andrew Fish wrote: >>> It looks like clang has added a warning to detect infinite recursion and

Re: [edk2] [StdLib] Fails to compile with the latest version of Xcode/clang due to new compiler diagnostic.

2016-07-21 Thread Andrew Fish
> On Jul 21, 2016, at 4:00 AM, Ard Biesheuvel wrote: > > On 20 July 2016 at 23:09, Andrew Fish wrote: >> It looks like clang has added a warning to detect infinite recursion and I'm >> seeing the failure here: >> >>

Re: [edk2] [StdLib] Fails to compile with the latest version of Xcode/clang due to new compiler diagnostic.

2016-07-21 Thread Ard Biesheuvel
On 20 July 2016 at 23:09, Andrew Fish wrote: > It looks like clang has added a warning to detect infinite recursion and I'm > seeing the failure here: > > https://github.com/tianocore/edk2/blob/master/StdLib/LibC/StdLib/Environs.c#L123 > void > _Exit(int status) > { >

[edk2] [StdLib] Fails to compile with the latest version of Xcode/clang due to new compiler diagnostic.

2016-07-20 Thread Andrew Fish
It looks like clang has added a warning to detect infinite recursion and I'm seeing the failure here: https://github.com/tianocore/edk2/blob/master/StdLib/LibC/StdLib/Environs.c#L123 void _Exit(int status) { gMD->ExitValue = status; // Save our exit status. Allows a status of 0.