Re: macro problem
Re: macro problem
- Subject: Re: macro problem
- From: Patrick Rutkowski <email@hidden>
- Date: Sat, 20 Nov 2010 15:27:53 -0500
Firstly, the C and C++ reserve all symbols with two underscores for the compiler and for system headers; it's their namespace.
Secondly, why are they unwanted? What makes you think they're causing your program to crash?
-Patrick
On Nov 20, 2010, at 1:26 PM, Programmingkid wrote:
> There is some code in stdio.h that adds the unwanted symbols __stdoutp and __stderrp to my program. The code that does this is this:
>
> __BEGIN_DECLS
> #if __DARWIN_UNIX03
> extern FILE * __stdoutp;
> extern FILE * __stderrp;
> #else
> extern FILE __sF[];
> #endif
> __END_DECLS
>
>
> The __stdoutp and __stderrp variables causes my program to crash. Is there some kind of command line option I can give to gcc to stop these variables from being added to my program? In case your curious, __DARWIN_UNIX03 is defined in cdefs.h. _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden