<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    With 4.8.2 - I built ITK with C++11 (this required -fpermissive to
    complete)<br>
    Despite doing that, I was still unable to built ITK applications
    with C++11 (even when also using -fpermissive). <br>
    <br>
    Let me know if you've had different results. I was hoping this would
    be resolved with 4.9. <br>
    <br>
    - David<br>
    <br>
    <div class="moz-cite-prefix">On 12/17/2015 10:18 AM, Bradley
      Lowekamp wrote:<br>
    </div>
    <blockquote
      cite="mid:05C3001E-8C17-4C22-A2C4-4ADBFCCE21B4@mail.nih.gov"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hello,
      <div class=""><br class="">
      </div>
      <div class="">I thought we are requiring ITK to be built with
        C++11 if your application was going to be build with C++11.</div>
      <div class=""><br class="">
      </div>
      <div class="">Is this saying we are going to support changing the
        C++ language after CMake configuration of ITK? </div>
      <div class=""><br class="">
      </div>
      <div class="">I would think using the C++11 features of explicit
        constructor delete or default specifier may results is ABI
        compatibilities, among many other things.</div>
      <div class=""><br class="">
      </div>
      <div class="">Thanks,</div>
      <div class="">Brad</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">On Dec 15, 2015, at 5:06 PM, David Burns <<a
                moz-do-not-send="true"
                href="mailto:david.mo.burns@gmail.com" class=""><a class="moz-txt-link-abbreviated" href="mailto:david.mo.burns@gmail.com">david.mo.burns@gmail.com</a></a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="Content-Type" content="text/html;
                charset=windows-1252" class="">
              <div bgcolor="#FFFFFF" text="#000000" class=""> Thanks
                Hans, based on the release schedule it looks like that
                will be out pretty soon. <br class="">
                <br class="">
                That's a big improvement to ITK to add c++11 support in
                my opinion. Thanks. <br class="">
                <br class="">
                David<br class="">
                <br class="">
                <div class="moz-cite-prefix">On 12/15/15 15:36, Johnson,
                  Hans J wrote:<br class="">
                </div>
                <blockquote
                  cite="mid:0BFF7F7D-5861-43C9-BC1E-AF2E1391D5A5@uiowa.edu"
                  type="cite" class="">
                  <div class="">
                    <div class="">
                      <div class="">This will be fixed when VXL is
                        updated after the 4.9 release.</div>
                      <div class=""><br class="">
                      </div>
                      <div class="">Hans</div>
                      <div class=""><br class="">
                      </div>
                      <div class=""> </div>
                    </div>
                  </div>
                  <div class=""><br class="">
                  </div>
                  <span id="OLK_SRC_BODY_SECTION" class="">
                    <div style="font-family: Calibri; font-size: 12pt;
                      text-align: left; border-width: 1pt medium medium;
                      border-style: solid none none; padding: 3pt 0in
                      0in; border-top-color: rgb(181, 196, 223);"
                      class=""> <span style="font-weight:bold" class="">From:
                      </span>Insight-developers <<a
                        moz-do-not-send="true"
                        href="mailto:insight-developers-bounces@itk.org"
                        class=""><a class="moz-txt-link-abbreviated" href="mailto:insight-developers-bounces@itk.org">insight-developers-bounces@itk.org</a></a>>

                      on behalf of David Burns <<a
                        moz-do-not-send="true"
                        href="mailto:david.mo.burns@gmail.com" class=""><a class="moz-txt-link-abbreviated" href="mailto:david.mo.burns@gmail.com">david.mo.burns@gmail.com</a></a>><br
                        class="">
                      <span style="font-weight:bold" class="">Date: </span>Tuesday,
                      December 15, 2015 at 2:10 PM<br class="">
                      <span style="font-weight:bold" class="">To: </span>"<a
                        moz-do-not-send="true"
                        class="moz-txt-link-abbreviated"
                        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"
                        class="">insight-developers@itk.org</a>><br
                        class="">
                      <span style="font-weight:bold" class="">Subject: </span>[ITK-dev]

                      Linux c++11 build issue v4.8.2<br class="">
                    </div>
                    <div class=""><br class="">
                    </div>
                    <div class="">
                      <div bgcolor="#FFFFFF" text="#000000" class="">Dear
                        Insight Developers<br class="">
                        <br class="">
                        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 class="">
                        <br class="">
                        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
                        -std=c++11"<br class="">
                        <br class="">
                        I can compile ITK applications when not using
                        this flag. <br class="">
                        <br class="">
                        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
                          class="">
                        <br class="">
                        Any suggestions would be welcome. Thanks<br
                          class="">
                        <br class="">
                        David<br class="">
                        <br class="">
                        <br class="">
                        <br class="">
                        Compiler errors <br class="">
                        <br class="">
                        /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 class="">
                           static const float zero
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);<br
                          class="">
                                                                                   

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const float one
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);<br
                          class="">
                                                                                  
                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const float maxval
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);<br
                          class="">
                                                                                     

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const double zero
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);<br
                          class="">
                                                                                    

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const double one
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);<br
                          class="">
                                                                                   

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const double maxval
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);<br
                          class="">
                                                                                      

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const long double zero
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);<br
                          class="">
                                                                                         

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const long double one
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);<br
                          class="">
                                                                                        

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                        /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 class="">
                           static const long double maxval
                        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);<br
                          class="">
                                                                                           

                        ^<br class="">
                        /usr/local/include/ITK-4.8/vcl_config_compiler.h:152:48:

                        note: in definition of macro
                        'VCL_STATIC_CONST_INIT_FLOAT_DECL'<br class="">
                         # define VCL_STATIC_CONST_INIT_FLOAT_DECL(x) =
                        x<br class="">
                                                                       
                        ^<br class="">
                      </div>
                    </div>
                  </span><br class="">
                  <br class="">
                  <hr class=""> 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 class=""> </blockquote>
                <br class="">
              </div>
              _______________________________________________<br
                class="">
              Powered by <a moz-do-not-send="true"
                href="http://www.kitware.com" class="">www.kitware.com</a><br
                class="">
              <br class="">
              Visit other Kitware open-source projects at<br class="">
              <a moz-do-not-send="true"
                href="http://www.kitware.com/opensource/opensource.html"
                class="">http://www.kitware.com/opensource/opensource.html</a><br
                class="">
              <br class="">
              Kitware offers ITK Training Courses, for more information
              visit:<br class="">
              <a class="moz-txt-link-freetext" href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a><br class="">
              <br class="">
              Please keep messages on-topic and check the ITK FAQ at:<br
                class="">
              <a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br class="">
              <br class="">
              Follow this link to subscribe/unsubscribe:<br class="">
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/insight-developers">http://public.kitware.com/mailman/listinfo/insight-developers</a><br
                class="">
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>