[Insight-developers] constexpr errors

Brad King brad.king at kitware.com
Wed Jan 25 17:43:10 EST 2012


On 1/25/2012 5:36 PM, David Doria wrote:
> I just tried a fresh build of master with CMAKE_CXX_FLAGS=
> -std=gnu++0x and I get tons of:
>
> error: ‘constexpr’ needed for in-class initialization of static data
> member ‘e’ of non-integral type
>
> Isn't building ITK with that flag the suggested fix to using these features?

Was the flag present during the initial configuration or did you add
it later?  It must be present the first time so that all the try_compile
tests use it.

-Brad


More information about the Insight-developers mailing list