[reSIProcate] This is causing my X-Code to generate 975 errors when compiling.
Hi,
This is in X-Code 1.5 - I'm not allowed to use 2.1 yet....
#1 - went to Targets item in Groups & Files window.
#2 - selected the "SIP_proj" application target
#3 - went to File --> Get Info, and new window upened up.
#4 - Selected the "build" tab
#5 - Selected "processor macros", and added USE_ARES=1, closed the
window and re-built.
#if defined(USE_ARES) <---- I'm not sure X-Code knows how to deal
with this? Where is
"defined" defined at?
extern "C"
{
#include "ares.h"
#include "ares_dns.h"
}
#endif
#if defined(USE_ARES)
extern "C"
{
#include "ares.h"
#include "ares_dns.h"
}
#endif
Searching for #if defined(USE_ARES)
extern "C"
{
#include "ares.h"
#include "ares_dns.h"
}
#endif
==================================================
---------- Found in /System/Library/Frameworks/AppKit.framework/Headers:
In file AppKitDefines.h:
24:#define APPKIT_EXTERN extern "C"
29:#endif
41:#endif
44:#define APPKIT_EXTERN extern "C" _NSWINDOWS_DLL_GOOP
49:#endif
58:#define APPKIT_EXTERN extern "C"
59:#define APPKIT_PRIVATE_EXTERN extern "C"
63:#endif
65:#endif
67:#endif // _APPKITDEFINES_H
In file NSATSTypesetter.h:
As you can see - it "breaks" just about every header file in the
project.... 975 errors to
be exact -
Can someone PLEASE help me?
John