[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: iPhone Platform: "error: stdarg.h: No such file or directory" Sherm Pendley Wed Jan 28 13:00:50 2009

On Jan 28, 2009, at 2:57 PM, Clark Cox wrote:

On Wed, Jan 28, 2009 at 10:36 AM, Andreas Grosam <[EMAIL PROTECTED] > wrote:

I'm getting this error
"/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator2.2.1.sdk/usr/include/stdarg.h"
error: stdarg.h: No such file or directory
when compiling the following file with either GCC 4.2 or LLVM GCC 4.2:

Neither of which are yet supported for iPhone development.

Which, for those who haven't looked in /usr/include/stdarg.h, explains the "No such file" error. That file does a "#include_next <stdarg.h>" when you're using GCC, which pulls in the next instance of stdarg.h in the header search path. That "next" instance is in an architecture- specific directory somewhere under /usr/lib/gcc, and it's *that* one that's not being found.


Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]