[vtk-developers] libtiff inline insanity

Casey Goodlett casey.goodlett at kitware.com
Sun Oct 6 19:15:10 EDT 2013


Hi Sean,

Thank you very much for raising this issue.  I was having trouble
cross-compiling VTK for iOS in VES and commenting out those lines fixes the
build.

It seems reasonable to remove that #define inline clause entirely.  Do you
have a patch prepared?  Otherwise I can submit one.

Thank you


On Fri, Oct 4, 2013 at 10:50 AM, Sean McBride <sean at rogue-research.com>wrote:

> Hi all,
>
> Anyone know/understand the history of this nugget:
>
> -----------------------
> /* Define to `__inline__' or `__inline' if that's what the C compiler
>    calls it, or to nothing if 'inline' is not supported under any name.  */
> #ifndef __cplusplus
> #define inline
> //#cmakedefine inline
> #endif
> -----------------------
>
> Here:
>
> <
> http://vtk.org/gitweb?p=VTK.git;a=blob;f=ThirdParty/tiff/vtktiff/tif_config.h.in;h=55ff16a21756dd896891f7b08ec47af664d0cafa;hb=HEAD
> >
>
> The "#define inline" is causing linker errors for me.
>
> Are VTK's minimum C compiler requirements now such that we can just assume
> 'inline' works?  Surely?  :)
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
Casey B. Goodlett, Ph.D.
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20131006/27e6bb96/attachment.html>


More information about the vtk-developers mailing list