Hello,
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:
>>>>>>>>>>>
// test.m
#include <errno.h>
#include <stdarg.h> // error: stdarg.h: no such file or directory
>>>>>>>>>>>
There is no error when using GCC 4.0 or when on the Mac OS X Platform.
The project is basically a Xcode template project. And yes, the file
stdarg.h exists, and the search paths are set. The language does not
matter, I used C, C++ and Objective-C, and Objective-C++. Actually,
it is the **preprocessor** that fails to locate the file.
The file errno.h is located within the same folder. As far as I can
see, there is nothing special with the file stdarg.h It seems the
file is banned from within the compiler.
There a few other files, that cannot be located for instance, float.h.
The details are below.