[Insight-developers] new clang compile errors since Aug 26
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Sep 12 16:10:21 EDT 2011
Has there been any progress with ITK's threading model working with clang? Last I recalled most multi-threaded tests failed, rendering this not a usable compiler with ITK.
Brad
On Sep 12, 2011, at 12:01 PM, Sean McBride wrote:
> On Wed, 31 Aug 2011 15:03:59 -0400, Sean McBride said:
>
>> On Wed, 31 Aug 2011 11:49:59 -0400, Bill Lorensen said:
>>
>>> They all look like errors after the changes to itkVectorContainer. They
>>> claim that
>>> using STLContainerType::reference;
>>> should be:
>>> using typename STLContainerType::reference;
>>>
>>> but, I'm not sure all of our compilers support that.
>>>
>>> Can you make the typename changes on your local build and see if clang is
>>> happy?
>>
>> Adding 'typename' to that one, and the following 10 'using' statements
>> "fixes" the problem. Everything then compiles.
>
> It would be nice if the ITK beta could be built with clang... do any of you C++ gurus have further thoughts on the error? I tried to reduce it to something small enough to post to the clang list, but there are many header dependencies, and I gave up after realizing that my minimal C++ knowledge meant I was basically stabbing in the dark.
>
> --
> ____________________________________________________________
> 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
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110912/9fb061bb/attachment.htm>
More information about the Insight-developers
mailing list