• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
macro problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

macro problem


  • Subject: macro problem
  • From: Programmingkid <email@hidden>
  • Date: Sat, 20 Nov 2010 13:26:11 -0500

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

  • Follow-Ups:
    • Re: macro problem
      • From: Patrick Rutkowski <email@hidden>
  • Prev by Date: Re: Help DTrace gurus: suggestions for capturing a mis-allocated NSData object on a customer's system
  • Next by Date: Re: macro problem
  • Previous by thread: Re: GDB: Timed out fetching data
  • Next by thread: Re: macro problem
  • Index(es):
    • Date
    • Thread