首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > 驱动开发 >

uboot中config.mk的pedantic有关问题

2012-05-13 
uboot中config.mk的pedantic问题在uboot的config.mk有如下一段# We build some files with extra pedantic

uboot中config.mk的pedantic问题
在uboot的config.mk有如下一段

# We build some files with extra pedantic flags to try to minimize things
# that won't build on some weird host compiler -- though there are lots of
# exceptions for files that aren't complaint. # 这句应该如何翻译呢?

HOSTCFLAGS_NOPED = $(filter-out -pedantic,$(HOSTCFLAGS)) # 这句什么意思呢?pedantic起什么作用呢?
HOSTCFLAGS+= -pedantic

[解决办法]

探讨
在uboot的config.mk有如下一段

# We build some files with extra pedantic flags to try to minimize things
# that won't build on some weird host compiler -- though there are lots of
# exceptions for files t……

热点排行