[vtk-developers] Patch for Xcode 1.5/carbon on midworld about scalbl().
David Cole
david.cole at kitware.com
Wed Jul 18 11:23:59 EDT 2007
vtkToolkits.h should do:
#define VTK_WRAP_PYTHON
on python wrapped builds...
It looks to me from the dashboard error reports that it is python wrapping
specific... But that's probably because the python wrappers are the only
(indirect) clients of scalbl. It would seem like this will occur with any
similar code on this configuration.
I would think it's more of a pre-10.4 SDK issue than a python issue....
Perhaps #if MAC_OS_X_VERSION_MAX_ALLOWED < 1040 is the best way to go.
I could probably be persuaded either way. But I'd lean towards the MAC_OS_X
macro personally.
HTH,
David
On 7/18/07, Sean McBride <sean at rogue-research.com> wrote:
>
> On 7/18/07 10:14 AM, David Cole said:
>
> >Except...... use a different symbol than __WXMAC__ as the ifdef test.
> Isn't
> >that wxWindows specific...?
>
> And is the vtk problem only with Python wrappings? Is there a #if VTK-
> IS-USING-PYTHON?
>
> Or I could detect the 10.3 SDK and apply the hack only then, like so:
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED < 1040
>
> --
> ____________________________________________________________
> 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 HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20070718/a3af994d/attachment.html>
More information about the vtk-developers
mailing list