From: Zenith432 <zenith432@users.sourceforge.net>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
Marvin H?user <Marvin.Haeuser@outlook.com>
Cc: "michael.d.kinney@intel.com" <michael.d.kinney@intel.com>,
"liming.gao@intel.com" <liming.gao@intel.com>
Subject: Re: [PATCH] MdePkg: resolve bug 741
Date: Sat, 9 Dec 2017 20:40:00 +0000 (UTC) [thread overview]
Message-ID: <1822489314.1922023.1512852000221@mail.yahoo.com> (raw)
In-Reply-To: 1822489314.1922023.1512852000221.ref@mail.yahoo.com
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.Haeuser@outlook.com> wrote:
Subject: RE: [edk2] [PATCH] MdePkg: resolve bug 741
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Zenith432" <zenith432@users.sourceforge.net>, "michael.d.kinney@intel.com" <michael.d.kinney@intel.com>, "liming.gao@intel.com" <liming.gao@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.
next parent reply other threads:[~2017-12-09 20:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1822489314.1922023.1512852000221.ref@mail.yahoo.com>
2017-12-09 20:40 ` Zenith432 [this message]
2017-12-09 20:57 ` [PATCH] MdePkg: resolve bug 741 Marvin Häuser
[not found] <617598899.1906935.1512855198518.ref@mail.yahoo.com>
2017-12-09 21:33 ` Zenith432
2018-01-03 2:06 ` Gao, Liming
[not found] <541697813.1899563.1512848632833.ref@mail.yahoo.com>
2017-12-09 19:43 ` Zenith432
2017-12-09 20:22 ` Marvin H?user
2017-12-10 13:52 ` Gao, Liming
2017-12-10 14:41 ` Zenith432
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1822489314.1922023.1512852000221@mail.yahoo.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox