缺少XCode中的_va_list.h头文件

时间:2014-06-07 16:13:52

标签: c xcode

使用Xcode命令行工具,在尝试编译包含stdio.h的C文件时,编译器产生以下错误:

/usr/include/stdio.h:71:10: fatal error: 'sys/_types/_va_list.h' file not found
#include <sys/_types/_va_list.h>

编译器信息是

LSK-Macbook-Pro:sys larry$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

我怎么能这个这个文件回来所以我可以使用编译器?

0 个答案:

没有答案