Re: vsprintf crashes
Re: vsprintf crashes
- Subject: Re: vsprintf crashes
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 21 Apr 2006 17:55:37 -0700
On Apr 21, 2006, at 17:45 , Alfred Van Hoek wrote:
Could someone enlighten me why the following crashes in my dylib?
It used to work with the previous version of Xcode, and works ok on
windows:
[snip]
This is a bit of a guess, but a few thoughts occur:
- first, it's not the version of Xcode that matters (it's just and
IDE and
doesn't care a whit about this stuff); the important information
is the version
of the compiler. Since it's generally gcc/g++, you get this by
"gcc/g++ -v".
- At some point, perhaps gcc 3.3, vsprintf became "old hat"; I
thought, from
experience combined with a leaky memory, that you had to work to
get code
using vsprintf to even compile...
You might try the (somewhat tedious) approach of updating from
"varargs.h" to "stdarg.h". I don't know of any documents that
describe this. I went through it a while back, and found some
mailing list archives via Google that discussed some of the issues.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
_______________________________________________
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