本文主要是介绍all warnings being treated as errors报错解决(一),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
编译linux kernel3.10报错:all warnings being treated as errors
expects argument of type 'int *', but argument 3 has type 'uint16_t *' [-Werror=format]
cc1: all warnings being treated as errors
在linux kernel根目录下:Makefile修改 622行
ifdef CONFIG_WERROR
KBUILD_CFLAGS += -Werror
endif
修改为:
ifdef CONFIG_WERROR
KBUILD_CFLAGS += #-Werror
endif
这篇关于all warnings being treated as errors报错解决(一)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!