[Insight-developers] Re: Mac OS : 64bits to 32bits conversion
warnings
David Cole
david.cole at kitware.com
Thu Jan 24 16:17:40 EST 2008
Another alternative would be to mask those out of dashboard results only
(interactively building, you would still see the warnings) via the
CTEST_CUSTOM_WARNING_EXCEPTION variable in
Insight/CMake/CTestCustom.ctest.in.
Add a line like "MacOSX.*sdk.usr.include.c++" or some other regex that
matches all the warnings you want to exclude from dashboard results....
HTH,
David
On 1/24/08, Sean McBride <sean at rogue-research.com> wrote:
>
> On 1/24/08 3:11 PM, Luis Ibanez said:
>
> >We are working on the 64bits to 32bits conversion warnings on
> >the Mac, and we are wondering if there is a way of remove the
> >ones that come from the MacOS Developer SDK itself.
> >
> >e.g.:
> >/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0
> >
> >Do you have any suggestions on how to remove these
> >files from the list of the ones that produce warnings ?
> >
> >It will help to focus on the warnings that are actually
> >related to ITK.
>
> Apple's headers suffer from these 64 to 32 conversions as you have
> noticed. I don't understand why gcc complains because by default it is
> not supposed to give warnings from system headers. I suspect it is
> related to templates and inlining. We have been filing bugs with Apple,
> hopefully the headers will be fixed in the next Xcode. Until then, we
> have simply hacked our headers with casts. Over the last few days we
> have been doing this on our dashboard machines, but there are a few more
> to do. Would you like a patch file to apply to your own Macs?
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20080124/1b2a260f/attachment.html
More information about the Insight-developers
mailing list