> On Nov 10, 2015, at 7:04 AM, Andrew Fish <af...@apple.com> wrote: > >> >> On Nov 10, 2015, at 12:06 AM, Gao, Liming <liming....@intel.com >> <mailto:liming....@intel.com>> wrote: >> >> Andrew: >> The patch is missing. >> > > Liming, > > My sent mail shows these 3 patches attached? > 0001-MdeModulePkg-PeiCore-Fix-Xcode-Wempty-body-warning.patch > 0002-MdeModulePkg-RegularExpressionDxe-Xcode-warnings-fix.patch > 0003-MdeModulePkg-Variable-add-mising-VA_COPY.patch > > I attached again here: > >
>cat 0003-MdeModulePkg-Variable-add-mising-VA_COPY.patch >From 56cea06ce806fd0ac9295e1211964f30e6baaac1 Mon Sep 17 00:00:00 2001 From: andrew fish <af...@apple.com> Date: Mon, 9 Nov 2015 22:42:57 -0800 Subject: [PATCH 3/4] MdeModulePkg: Variable add mising VA_COPY Xcode fails to compile: error: array type 'VA_LIST' (aka '__builtin_va_list') is not assignable Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <af...@apple.com> --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 621ce16..8a07f0e 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -1716,7 +1716,7 @@ CheckRemainingSpaceForConsistencyInternal ( ASSERT_EFI_ERROR (Status); TotalNeededSize = 0; - Args = Marker; + VA_COPY (Args, Marker); VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *); while (VariableEntry != NULL) { // @@ -1745,7 +1745,7 @@ CheckRemainingSpaceForConsistencyInternal ( return FALSE; } - Args = Marker; + VA_COPY (Args, Marker); VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *); while (VariableEntry != NULL) { // -- 2.3.2 (Apple Git-55) > > > Thanks, > > Andrew Fish > >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> Andrew Fish >> Sent: Tuesday, November 10, 2015 3:18 PM >> To: edk2-devel >> Cc: Tian, Feng >> Subject: [edk2] MdeModulePkg: Fix Xcode 6.3.2/clang compilation issues. >> >> Please review the following patches as they are required to build with Xcode >> 6.3.2. >> >> Thanks, >> >> Andrew Fish >> >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >> https://lists.01.org/mailman/listinfo/edk2-devel >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org <mailto:edk2-devel@lists.01.org> > https://lists.01.org/mailman/listinfo/edk2-devel > <https://lists.01.org/mailman/listinfo/edk2-devel> _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel