unused-variable warning is getting disabled with clang
From: Sodagudi Prasad
Date: Wed Dec 06 2017 - 16:24:58 EST
Hi All,
When kernel compiled with clang, following line is disabling the
unused-variable warning. This is not the case with gcc.
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
Are there any specific reasons for disabling unused-variable with clang?
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum,
Linux Foundation Collaborative Project