如果一个项目有一个包含第二个标题的标题,并且两者都包含一个公共标题,那么从第一个标头中删除包含公共标头并依赖于通过第二个标头间接包含是否是一个好做法?我知道stdint.h可以从temperature.h中删除,但它应该是吗?在temperature.h中
#include <stdint.h> // *Should* this include be removed in this
我不使用标准的gcc头。我正在使用-nostdlib和-nostdinc选项构建。这些选项迫使编译器不使用标准标头。lib/builtins/lib_int.h:29:12: fatal error: 'stdint.h' file not found
# include <stdint.hMakefile: