• 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
Re: stdout redirect in xcode and not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stdout redirect in xcode and not


  • Subject: Re: stdout redirect in xcode and not
  • From: Tommy Nordgren <email@hidden>
  • Date: Sun, 21 Dec 2008 22:52:27 +0100


On Dec 21, 2008, at 5:20 AM, Wesley Smith wrote:

Hi,
I have some code that replaces stdout->_write with a custom handler.
My handler gets called when I do build & run from xcode, but when I
launch the app form Finder, it doesn't get called at all.  Not with
fputs, printf, or std::cout.  My app is a Cocoa app if that makes a
difference.  So far I haven't been able to find any info on this
discrepancy.  Is there any particular reason for it?  This is under
Leopard.

thanks,
wes
Do you possibly call the code you have written to install this handler from an
assert macro?
Such code gets stripped in release builds.


------
What is a woman that you forsake her, and the hearth fire and the home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the Dane women
Tommy Nordgren
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


  • Follow-Ups:
    • Re: stdout redirect in xcode and not
      • From: "Wesley Smith" <email@hidden>
References: 
 >stdout redirect in xcode and not (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: Re: Adding frameworks question...
  • Next by Date: Dumb question about Java
  • Previous by thread: stdout redirect in xcode and not
  • Next by thread: Re: stdout redirect in xcode and not
  • Index(es):
    • Date
    • Thread