[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] build: enable unused value checks for clang
commit d40d3ef9882650ecedadffa2ef35304b66736664 Author: Roger Pau Monné <roger.pau@xxxxxxxxxx> AuthorDate: Fri Feb 17 16:10:00 2017 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Feb 17 16:10:00 2017 +0100 build: enable unused value checks for clang Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- Config.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Config.mk b/Config.mk index 7d08d16..bff4dc5 100644 --- a/Config.mk +++ b/Config.mk @@ -213,8 +213,7 @@ CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' -# and is a bit too fierce about unused return values -CFLAGS-$(clang) += -Wno-parentheses -Wno-unused-value +CFLAGS-$(clang) += -Wno-parentheses $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement) -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |