当前位置: 代码迷 >> 驱动开发 >> uboot中config.mk的pedantic有关问题
  详细解决方案

uboot中config.mk的pedantic有关问题

热度:77   发布时间:2016-04-28 10:55:13.0
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……
  相关解决方案