android_kernel_xiaomi_msm8998 icon indicating copy to clipboard operation
android_kernel_xiaomi_msm8998 copied to clipboard

implicit function

Open SyntaxSmith opened this issue 5 years ago • 1 comments

o-miui branch:

../kernel/jump_label.c: In function ‘jump_label_init’: ../kernel/jump_label.c:270:7: error: implicit declaration of function ‘init_section_contains’; did you mean ‘init_cpu_online’? [-Werror=implicit-function-declaration] if (init_section_contains((void *)jump_entry_code(iter), 1)) ^~~~~~~~~~~~~~~~~~~~~ init_cpu_online cc1: some warnings being treated as errors make[2]: *** [kernel/jump_label.o] Error 1 make[1]: *** [kernel] Error 2 make: *** [sub-make] Error 2

SyntaxSmith avatar Aug 08 '19 23:08 SyntaxSmith

Welp, disable CONFIG_CC_WERROR to work around it dirty

wloot avatar Aug 09 '19 06:08 wloot