Re: stdout redirect in xcode and not
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