* [PATCH] fm10k: fix clang warning flags
@ 2015-02-18 17:57 Jeff Shaw
[not found] ` <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Shaw @ 2015-02-18 17:57 UTC (permalink / raw)
To: dev-VfR2kkLFssw, dev-VfR2kkLFssw
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] fm10k: fix clang warning flags [not found] ` <1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2015-02-18 18:18 ` Wiles, Keith [not found] ` <D10A337C.13CCD%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Wiles, Keith @ 2015-02-18 18:18 UTC (permalink / raw) To: Shaw, Jeffrey B, dev-VfR2kkLFssw@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 > ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <D10A337C.13CCD%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] fm10k: fix clang warning flags [not found] ` <D10A337C.13CCD%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2015-02-24 2:14 ` Thomas Monjalon 0 siblings, 0 replies; 3+ messages in thread From: Thomas Monjalon @ 2015-02-24 2:14 UTC (permalink / raw) To: Shaw, Jeffrey B; +Cc: dev-VfR2kkLFssw > >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 Applied, thanks ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-24 2:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[not found] ` <D10A337C.13CCD%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24 2:14 ` Thomas Monjalon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox