fm10k: fix clang warning flags
PATCH 1/1 fm10k: fix clang warning flags
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'
--- lib/librte_pmd_fm10k/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_pmd_fm10k/Makefile +1 -1
@@ -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
Signature · 1 line
2.1.0
A message that is not in the archive (sent off-list or not yet received): 1424282263-28429-1-git-send-email-jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Wiles, Keith
Acked-byQuoted 6 lines · Jeffrey B
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 <[email protected]>
Quoted 20 lines
---
lib/librte_pmd_fm10k/Makefile| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)lib/librte_pmd_fm10k/Makefile +0
-0@@ -55,7 +55,7 @@ else ifeq ($(CC), clang) #
CFLAGS_BASE_DRIVER= -Wno-unused-parameter -Wno-unused-valueCFLAGS_BASE_DRIVER+= -Wno-strict-aliasing -Wno-format-extra-argslib/librte_pmd_fm10k/Makefile +1
-1-CFLAGS_BASE_DRIVER += -Wno-unused-variable -Wno-unused-but-set-variable +CFLAGS_BASE_DRIVER += -Wno-unused-variable
CFLAGS_BASE_DRIVER+= -Wno-missing-field-initializerselse
Signature · 1 line
2.1.0
A message that is not in the archive (sent off-list or not yet received): D10A337C.13CCD%[email protected]
Thomas Monjalon
AppliedQuoted 8 lines
Quoted 6 lines
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 <[email protected]>Acked-by [email protected]
Applied, thanks