If you commit this, it will fix it on Krondor, too, where it happened to show up this morning.....<br><br>So, go for it. It keeps us from having to hack system headers as root.<br><br>:-)<br><br><br><div><span class="gmail_quote">
On 7/18/07, <b class="gmail_sendername">Sean McBride</b> <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/17/07 11:55 PM, Francois Bertel said:<br><br>>On midworld,<br>>I patched /System/Library/Frameworks/CoreServices.framework/Frameworks/<br>>CarbonCore.framework/Headers<br>><br>>according to this message:
<br>><br>><a href="http://public.kitware.com/pipermail/vtkusers/2006-July/086017.html">http://public.kitware.com/pipermail/vtkusers/2006-July/086017.html</a><br>><br>>in order to fix the following error after reinstalling Xcode
1.5 on it:<br>><br>><a href="http://www.vtk.org/Testing/Sites/midworld.kitware/DarwinG5-c++-carbon/">http://www.vtk.org/Testing/Sites/midworld.kitware/DarwinG5-c++-carbon/</a><br>>20070717-0300-Nightly/BuildError.html
<br><br>Hi François,<br><br>Thanks for updating midworld and keeping an eye on it!<br><br>Hacking system headers is not ideal. :) It may break other software,<br>and it requires root access. Perhaps there is a better way. I compared
<br>the 10.3 and 10.4 SDKs looking for 'scalb' and there are many insights.<br>The 10.4 SDK contains this nugget in wxPython_int.h:<br><br>#ifdef __WXMAC__ // avoid a bug in Carbon headers<br>#define scalb scalbn
<br>#endif<br><br>I suggest we do the same, it is probably most correct, as it made it<br>into the 10.4 SDK. Patch attached. I can't test on 10.3, but I will<br>commit it anyway if no one objects.<br><br>--<br>____________________________________________________________
<br>Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>Rogue Research <a href="http://www.rogue-research.com">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br><br>_______________________________________________<br>vtk-developers mailing list<br><a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers">
http://www.vtk.org/mailman/listinfo/vtk-developers</a><br><br><br></blockquote></div><br>