Lines Matching refs:warning
63 warning- := $(empty)
65 warning-1 := -Wextra -Wunused -Wno-unused-parameter
66 warning-1 += -Wmissing-declarations
67 warning-1 += -Wmissing-format-attribute
68 warning-1 += -Wmissing-prototypes
69 warning-1 += -Wold-style-definition
70 warning-1 += $(call cc-option, -Wmissing-include-dirs)
71 warning-1 += $(call cc-option, -Wunused-but-set-variable)
72 warning-1 += $(call cc-disable-warning, missing-field-initializers)
74 warning-2 := -Waggregate-return
75 warning-2 += -Wcast-align
76 warning-2 += -Wdisabled-optimization
77 warning-2 += -Wnested-externs
78 warning-2 += -Wshadow
79 warning-2 += $(call cc-option, -Wlogical-op)
80 warning-2 += $(call cc-option, -Wmissing-field-initializers)
82 warning-3 := -Wbad-function-cast
83 warning-3 += -Wcast-qual
84 warning-3 += -Wconversion
85 warning-3 += -Wpacked
86 warning-3 += -Wpadded
87 warning-3 += -Wpointer-arith
88 warning-3 += -Wredundant-decls
89 warning-3 += -Wswitch-default
90 warning-3 += $(call cc-option, -Wpacked-bitfield-compat)
91 warning-3 += $(call cc-option, -Wvla)
93 warning := $(warning-$(findstring 1, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
94 warning += $(warning-$(findstring 2, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
95 warning += $(warning-$(findstring 3, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
101 KBUILD_CFLAGS += $(warning)
108 $(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprog…
128 $(warning kbuild: Makefile.build is included improperly)