Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Trying to build InsightToolkit with VTK 8.1.1 which uses -std=gnu++11 results in: BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:387:22: error: 'constexpr' needed for in-class initialization of static data member 'const float vnl_numeric_traits<float>::zero' of non-integral type [-fpermissive] BUILDSTDERR: static const float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F); BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:389:22: error: 'constexpr' needed for in-class initialization of static data member 'const float vnl_numeric_traits<float>::one' of non-integral type [-fpermissive] BUILDSTDERR: static const float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F); BUILDSTDERR: ^~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:391:22: error: 'constexpr' needed for in-class initialization of static data member 'const float vnl_numeric_traits<float>::maxval' of non-integral type [-fpermissive] BUILDSTDERR: static const float maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:410:23: error: 'constexpr' needed for in-class initialization of static data member 'const double vnl_numeric_traits<double>::zero' of non-integral type [-fpermissive] BUILDSTDERR: static const double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0); BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:412:23: error: 'constexpr' needed for in-class initialization of static data member 'const double vnl_numeric_traits<double>::one' of non-integral type [-fpermissive] BUILDSTDERR: static const double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0); BUILDSTDERR: ^~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:414:23: error: 'constexpr' needed for in-class initialization of static data member 'const double vnl_numeric_traits<double>::maxval' of non-integral type [-fpermissive] BUILDSTDERR: static const double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:433:28: error: 'constexpr' needed for in-class initialization of static data member 'const long double vnl_numeric_traits<long double>::zero' of non-integral type [-fpermissive] BUILDSTDERR: static const long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0); BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:435:28: error: 'constexpr' needed for in-class initialization of static data member 'const long double vnl_numeric_traits<long double>::one' of non-integral type [-fpermissive] BUILDSTDERR: static const long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0); BUILDSTDERR: ^~~ BUILDSTDERR: /usr/include/vxl/core/vnl/vnl_numeric_traits.h:437:28: error: 'constexpr' needed for in-class initialization of static data member 'const long double vnl_numeric_traits<long double>::maxval' of non-integral type [-fpermissive] BUILDSTDERR: static const long double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308); BUILDSTDERR: ^~~~~~ Version-Release number of selected component (if applicable): vxl-1.17.0-28 See https://copr.fedorainfracloud.org/coprs/orion/vtk8/builds/
FEDORA-2019-b0a152dd3b has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b0a152dd3b
vxl-2.0.2-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b0a152dd3b
vxl-2.0.2-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.