[Insight-developers] new clang compile errors since Aug 26
Williams, Norman K
norman-k-williams at uiowa.edu
Wed Aug 31 13:55:17 EDT 2011
I think this is a CLang problem. 'typename' doesn't really make sense,
because the 'using' is there to expose the parent class method.
I hate 'using' in the case where it is unpacking a namespace. It allows
names to waltz around naked giving you no clue to their provenance,
especially if the 'using' is hidden in a header.
On 8/31/11 10:49 AM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>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?
>
>
>
>On Wed, Aug 31, 2011 at 11:17 AM, Sean McBride <sean at rogue-research.com>
>wrote:
>
>Hi all,
>
>For a while ITK was building with clang, but since the Aug 26 dashboard
>there are errors:
>
><http://www.cdash.org/CDash/viewBuildError.php?buildid=1470746>
>
>There were many (>300) files changed between the 25 and 26th.
>
>Any of you C++ experts know if clang is wrong, or has found a real
>problem?
>
>Cheers,
>
>--
>____________________________________________________________
>Sean McBride, B. Eng sean at rogue-research.com
>Rogue Research www.rogue-research.com
><http://www.rogue-research.com>
>Mac Software Developer Montréal, Québec, Canada
>
>
>_______________________________________________
>Powered by www.kitware.com <http://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
>
>
>
>
>_______________________________________________
>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
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
More information about the Insight-developers
mailing list