[Insight-developers] Clang Warnings about in-class static initializers...

Johnson, Hans J hans-johnson at uiowa.edu
Fri Dec 16 17:21:56 EST 2011


Sean,

I agree with you that this should not be allowed. Unfortunately I've not
been able to make any progress in getting this incorporated into VXL.

Hans


On 12/16/11 4:18 PM, "Sean McBride" <sean at rogue-research.com> wrote:

>On Fri, 16 Dec 2011 19:37:01 +0000, Williams, Norman K said:
>
>>What could remedy the situation without involving any modifications to
>>VNL
>>would be if theres a way to force VCL_STATIC_CONST_INIT_INT to be false/0
>>when CLang is used.
>
>Why only when clang is used?  It may be accepted by other compilers, but
>it's not valid C++03.  Or does ITK require a C++11 compiler?  Or do we
>just be lax with this since it's now part of C++11 and already silently
>accepted by most compilers?
>
>--
>____________________________________________________________
>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



________________________________
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