<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks Hans, based on the release schedule it looks like that will
    be out pretty soon. <br>
    <br>
    That's a big improvement to ITK to add c++11 support in my opinion.
    Thanks. <br>
    <br>
    David<br>
    <br>
    <div class="moz-cite-prefix">On 12/15/15 15:36, Johnson, Hans J
      wrote:<br>
    </div>
    <blockquote
      cite="mid:0BFF7F7D-5861-43C9-BC1E-AF2E1391D5A5@uiowa.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>
        <div>
          <div>This will be fixed when VXL is updated after the 4.9
            release.</div>
          <div><br>
          </div>
          <div>Hans</div>
          <div><br>
          </div>
          <div>
          </div>
        </div>
      </div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family:Calibri; font-size:12pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
          <span style="font-weight:bold">From: </span>Insight-developers
          <<a moz-do-not-send="true"
            href="mailto:insight-developers-bounces@itk.org">insight-developers-bounces@itk.org</a>>
          on behalf of David Burns <<a moz-do-not-send="true"
            href="mailto:david.mo.burns@gmail.com">david.mo.burns@gmail.com</a>><br>
          <span style="font-weight:bold">Date: </span>Tuesday, December
          15, 2015 at 2:10 PM<br>
          <span style="font-weight:bold">To: </span>"<a
            moz-do-not-send="true"
            href="mailto:insight-developers@itk.org"><a class="moz-txt-link-abbreviated" href="mailto:insight-developers@itk.org">insight-developers@itk.org</a></a>"
          <<a moz-do-not-send="true"
            href="mailto:insight-developers@itk.org">insight-developers@itk.org</a>><br>
          <span style="font-weight:bold">Subject: </span>[ITK-dev]
          Linux c++11 build issue v4.8.2<br>
        </div>
        <div><br>
        </div>
        <div>
          <div bgcolor="#FFFFFF" text="#000000">Dear Insight Developers<br>
            <br>
            I have compiled v4.8.2 on Ubuntu 14.04 successfully (g++
            4.8), however, I get compiler errors when building my own
            ITK applications with the following cmake flag<br>
            <br>
            set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11"<br>
            <br>
            I can compile ITK applications when not using this flag. <br>
            <br>
            I have tried using -fpermissive when building my
            application. I have also tried compiling ITK using
            -std=c++11 -fpermissive, individually and in combination. I
            always get the same errors.<br>
            <br>
            Any suggestions would be welcome. Thanks<br>
            <br>
            David<br>
            <br>
            <br>
            <br>
            Compiler errors <br>
            <br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:387:60:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const float
            vnl_numeric_traits<float>::zero' of non-integral type
            [-fpermissive]<br>
               static const float zero
            VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);<br>
                                                                       
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:389:59:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const float
            vnl_numeric_traits<float>::one' of non-integral type
            [-fpermissive]<br>
               static const float one
            VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);<br>
                                                                       ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:391:62:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const float
            vnl_numeric_traits<float>::maxval' of non-integral
            type [-fpermissive]<br>
               static const float maxval
            VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);<br>
                                                                         
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:410:61:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const double
            vnl_numeric_traits<double>::zero' of non-integral type
            [-fpermissive]<br>
               static const double zero
            VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);<br>
                                                                        
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:412:60:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const double
            vnl_numeric_traits<double>::one' of non-integral type
            [-fpermissive]<br>
               static const double one
            VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);<br>
                                                                       
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:414:63:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const double
            vnl_numeric_traits<double>::maxval' of non-integral
            type [-fpermissive]<br>
               static const double maxval
            VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);<br>
                                                                          
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:433:66:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const long double
            vnl_numeric_traits<long double>::zero' of non-integral
            type [-fpermissive]<br>
               static const long double zero
            VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);<br>
                                                                             
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:435:65:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const long double
            vnl_numeric_traits<long double>::one' of non-integral
            type [-fpermissive]<br>
               static const long double one
            VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);<br>
                                                                            
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
            /usr/local/include/ITK-4.8/vnl/vnl_numeric_traits.h:437:68:
            warning: 'constexpr' needed for in-class initialization of
            static data member 'const long double
            vnl_numeric_traits<long double>::maxval' of
            non-integral type [-fpermissive]<br>
               static const long double maxval
            VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);<br>
                                                                               
            ^<br>
            /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:
            note: in definition of macro
            'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br>
             # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) = x<br>
                                                            ^<br>
          </div>
        </div>
      </span><br>
      <br>
      <hr>
      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.
      <hr>
    </blockquote>
    <br>
  </body>
</html>