[vtk-developers] Patch for Xcode 1.5/carbon on midworld about scalbl().
sean at rogue-research.com
Wed Jul 18 09:50:34 EDT 2007
On 7/17/07 11:55 PM, Francois Bertel said:
>I patched /System/Library/Frameworks/CoreServices.framework/Frameworks/
>according to this message:
>in order to fix the following error after reinstalling Xcode 1.5 on it:
Thanks for updating midworld and keeping an eye on it!
Hacking system headers is not ideal. :) It may break other software,
and it requires root access. Perhaps there is a better way. I compared
the 10.3 and 10.4 SDKs looking for 'scalb' and there are many insights.
The 10.4 SDK contains this nugget in wxPython_int.h:
#ifdef __WXMAC__ // avoid a bug in Carbon headers
#define scalb scalbn
I suggest we do the same, it is probably most correct, as it made it
into the 10.4 SDK. Patch attached. I can't test on 10.3, but I will
commit it anyway if no one objects.
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the vtk-developers