vxl fails to build sles 12 gcc-4.8.5
Current CMB-superbuild bundled VXL origin/for/cmb fails to build on SLES 12 with native gcc-4.8.5 with following error:
superbuild/vxl/src/core/vnl/vnl_vector.hxx: In constructor ‘vnl_vector<T>::vnl_vector(size_t, size_t, const T*)’:
/opt/jenkins/workspace/corey/new_sb/_build/superbuild/vxl/src/core/vnl/vnl_vector.hxx:108:41: internal compiler error: unexpected expression ‘std::min’ of kind overload
const size_t copy_num{std::min(len,n) };
There is a fix for this in the upstream VXL project.
I also submitted a bug and fix as well for VXL for another build issue with SLES 12 gcc-4.8.5