I prefer my route because it preserves BOOLEAN (descriptive) and fixes the 
issue obviously (the last named parameter is what is passed). It's your choice 
of course.

By the way, all of your other patch e-mails do not CC the package maintainer. 
They may not see them this way, so I suggest resending CC'ing the package 
maintainers.

Regards,
Marvin.

> -----Original Message-----
> From: Zenith432 [mailto:zenith...@users.sourceforge.net]
> Sent: Saturday, December 9, 2017 9:40 PM
> To: edk2-devel@lists.01.org; Marvin H?user
> <marvin.haeu...@outlook.com>
> Cc: michael.d.kin...@intel.com; liming....@intel.com
> Subject: RE: [edk2] [PATCH] MdePkg: resolve bug 741
> 
> FWIW, I tried another solution by replacing the statement
> 
> VA_START (Args, Iso639Language);
> 
> with
> 
> VA_START (Args, *(int*)&Iso639Language);
> 
> in an attempt to get an lvalue with the same address-of as Iso639Language
> and correct sizeof the promoted argument, but clang doesn't like that either
> 
> error: second argument to 'va_start' is not the last named parameter [-
> Werror,-Wvarargs]
> 
> --------------------------------------------
> On Sat, 12/9/17, Marvin H?user <marvin.haeu...@outlook.com> wrote:
> 
>  Subject: RE: [edk2] [PATCH] MdePkg: resolve bug 741
>  To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
>  Cc: "Zenith432" <zenith...@users.sourceforge.net>,
> "michael.d.kin...@intel.com" <michael.d.kin...@intel.com>,
> "liming....@intel.com" <liming....@intel.com>
>  Date: Saturday, December 9, 2017, 10:22 PM
> 
>  For code style purposes, I suggest to declare  the first member of the
> language list as a third argument,  process it, and then use it to get the
> following from the  VA.
>  Also, I think you forgot to CC the
>  MdePkg maintainers, so I did with this mail.
> 
>  Regards,
>  Marvin.
> 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to