dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "Shaw,
	Jeffrey B"
	<jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH] fm10k: fix clang warning flags
Date: Wed, 18 Feb 2015 18:18:42 +0000	[thread overview]
Message-ID: <D10A337C.13CCD%keith.wiles@intel.com> (raw)
In-Reply-To: <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>



On 2/18/15, 11:57 AM, "Shaw, Jeffrey B" <jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:

>This commit fixes the following error which was reported when
>compiling with clang by removing the option.
>
>error: unknown warning option '-Wno-unused-but-set-variable'
>
>Signed-off-by: Jeff Shaw <jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Acked-by: keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
>---
> lib/librte_pmd_fm10k/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/lib/librte_pmd_fm10k/Makefile b/lib/librte_pmd_fm10k/Makefile
>index 986f4ef..26663ae 100644
>--- a/lib/librte_pmd_fm10k/Makefile
>+++ b/lib/librte_pmd_fm10k/Makefile
>@@ -55,7 +55,7 @@ else ifeq ($(CC), clang)
> #
> CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
> CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
>-CFLAGS_BASE_DRIVER += -Wno-unused-variable -Wno-unused-but-set-variable
>+CFLAGS_BASE_DRIVER += -Wno-unused-variable
> CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers
> 
> else
>-- 
>2.1.0
>

  parent reply	other threads:[~2015-02-18 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18 17:57 [PATCH] fm10k: fix clang warning flags Jeff Shaw
     [not found] ` <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-18 18:18   ` Wiles, Keith [this message]
     [not found]     ` <D10A337C.13CCD%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24  2:14       ` Thomas Monjalon

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-all 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=D10A337C.13CCD%keith.wiles@intel.com \
    --to=keith.wiles-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).