Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Andrew Fish
> On Mar 16, 2016, at 10:06 AM, Laszlo Ersek wrote: > > On 03/16/16 17:50, Andrew Fish wrote: >> >>> On Mar 16, 2016, at 6:54 AM, Laszlo Ersek wrote: >>> >>> On 03/14/16 16:38, Leif Lindholm wrote: To permit many existing platforms to build with

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Marvin Häuser
ag von Andrew Fish <af...@apple.com> Gesendet: Mittwoch, 16. März 2016 18:12 An: Laszlo Ersek Cc: Mike Kinney; edk2-de...@ml01.01.org; Leif Lindholm; Liming Gao Betreff: Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h > On Mar 16, 2016, at 10:06 AM, Laszlo Ersek <ler...

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Andrew Fish
> On Mar 16, 2016, at 6:54 AM, Laszlo Ersek wrote: > > On 03/14/16 16:38, Leif Lindholm wrote: >> To permit many existing platforms to build with -Wunused-parameter, on >> GCC and CLANG, the unused parameters need to be annotated as such. >> Existing regexp code already uses

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Andrew Fish
rch 17, 2016 1:12 AM > To: Laszlo Ersek <ler...@redhat.com <mailto:ler...@redhat.com>> > Cc: Kinney, Michael D <michael.d.kin...@intel.com > <mailto:michael.d.kin...@intel.com>>; edk2-de...@ml01.01.org > <mailto:edk2-de...@ml01.01.org>; Gao, Liming <liming

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Laszlo Ersek
On 03/16/16 17:50, Andrew Fish wrote: > >> On Mar 16, 2016, at 6:54 AM, Laszlo Ersek wrote: >> >> On 03/14/16 16:38, Leif Lindholm wrote: >>> To permit many existing platforms to build with -Wunused-parameter, on >>> GCC and CLANG, the unused parameters need to be annotated as

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Gao, Liming
: Thursday, March 17, 2016 1:12 AM To: Laszlo Ersek <ler...@redhat.com> Cc: Kinney, Michael D <michael.d.kin...@intel.com>; edk2-de...@ml01.01.org; Gao, Liming <liming@intel.com>; Leif Lindholm <leif.lindh...@linaro.org> Subject: Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Laszlo Ersek
> <>From: af...@apple.com <mailto:af...@apple.com> [mailto:af...@apple.com >>> <mailto:af...@apple.com>] >>> Sent: Thursday, March 17, 2016 1:12 AM >>> To: Laszlo Ersek <ler...@redhat.com <mailto:ler...@redhat.com>> >>> Cc: Kinney,

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-19 Thread Laszlo Ersek
On 03/14/16 16:38, Leif Lindholm wrote: > To permit many existing platforms to build with -Wunused-parameter, on > GCC and CLANG, the unused parameters need to be annotated as such. > Existing regexp code already uses ARG_UNUSED for this, but it is really > needed across the codebase - so add a

Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-18 Thread Gao, Liming
t;michael.d.kin...@intel.com>; edk2-de...@ml01.01.org; Gao, Liming <liming@intel.com> Subject: Re: [edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h On 03/17/16 11:11, Leif Lindholm wrote: > On Wed, Mar 16, 2016 at 07:06:12PM -0700, Andrew Fish wrote: >> >>> On M

[edk2] [RFC] MdePkg: add ARG_UNUSED notation to Base.h

2016-03-14 Thread Leif Lindholm
To permit many existing platforms to build with -Wunused-parameter, on GCC and CLANG, the unused parameters need to be annotated as such. Existing regexp code already uses ARG_UNUSED for this, but it is really needed across the codebase - so add a version in Base.h. Contributed-under: TianoCore