[ITK] [ITK-dev] C++11 build against C++98 ITK

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Apr 23 11:49:28 EDT 2014


That is great Matt!.

The build is failing as expected. I tried using pragma to get around the issue, I was able to change the error to a warning. I don't think that is ideal so I'll look closer into defining a new macro for the constexpr.

BTW, just adding -fpermissive enables it to build. But blankly adding that flag is not a good idea. It is a work-a-round though.

Brad


On Apr 23, 2014, at 11:27 AM, Matt McCormick <matt.mccormick at kitware.com> wrote:

> Hi Brad, Matt,
> 
> Per our discussion at the last Hangout, I set up a Nightly Sphinx
> Examples build that uses C++11 against a C++98 build of ITK:
> 
>  http://open.cdash.org/buildSummary.php?buildid=3303423
> 
> Both are built with GCC 4.8.2.
> 
> Thanks,
> Matt

_______________________________________________
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.php

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



More information about the Community mailing list