5.4.0-RC2 fails to build VisItBridge
v5.4.0-RC2 (b0b37d66) fails to build VisItBridge
toolchain (on ubuntu 17.04):
- gcc 7.1.0
- hdf5 1.8.18 parallel
- qt 4.8.7
- python 3.6.1
v5.3.0 (3cf8cfba) compiled without issues with the same toolchain
<...>
[ 79%] Python Wrapping - generating vtkPVAMRFragmentIntegrationPython.cxx
[ 79%] CS Wrapping - generating vtkPVBoxClientServer.cxx
[ 79%] Python Wrapping - generating vtkPVArrayCalculatorPython.cxx
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In constructor ‘VsStaggeredField<TYPE>::VsStaggeredField(size_t)’:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:30:24: error: ‘class std::valarray<int>’ has no member named ‘clear’
this->oriCellDimProd.clear();
^~~~~
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:31:21: error: ‘class std::valarray<int>’ has no member named ‘clear’
this->newCellDims.clear();
^~~~~
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:32:24: error: ‘class std::valarray<int>’ has no member named ‘clear’
this->newCellDimProd.clear();
^~~~~
[ 79%] CS Wrapping - generating vtkPVClipClosedSurfaceClientServer.cxx
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In member function ‘void VsStaggeredField<TYPE>::getNewNodalData(TYPE*) const’:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:51: error: no match for ‘operator*’ (operand types are ‘std::valarray<int>’ and ‘const size_t {aka const long unsigned int}’)
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const _Tp&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types ‘const std::valarray<_Tp>’ and ‘const size_t {aka const long unsigned int}’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const std::valarray<_Tp>&, const _Tp&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: deduced conflicting types for parameter ‘const _Tp’ (‘int’ and ‘size_t {aka long unsigned int}’)
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const std::valarray<_Tp>&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/valarray:1174:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types ‘const std::valarray<_Tp>’ and ‘const size_t {aka const long unsigned int}’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘const size_t {aka const long unsigned int}’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: ‘std::valarray<int>’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘const size_t {aka const long unsigned int}’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: ‘std::valarray<int>’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: candidate: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: ‘std::valarray<int>’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’
std::valarray<int> newCellInds = oriCellInds*this->numNeighbors + subCellInds;
^~~~~~~~~~~~
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In member function ‘std::valarray<int> VsStaggeredField<TYPE>::getOriCellIndexSet(size_t) const’:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:20: error: no match for ‘operator/’ (operand types are ‘size_t {aka long unsigned int}’ and ‘const std::valarray<int>’)
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__divides, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__divides, _Tp>::result_type> std::operator/(const _Tp&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: deduced conflicting types for parameter ‘_Tp’ (‘long unsigned int’ and ‘int’)
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__divides, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__divides, _Tp>::result_type> std::operator/(const std::valarray<_Tp>&, const _Tp&)
_DEFINE_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types ‘const std::valarray<_Tp>’ and ‘size_t {aka long unsigned int}’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__divides, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__divides, _Tp>::result_type> std::operator/(const std::valarray<_Tp>&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/valarray:1175:1: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types ‘const std::valarray<_Tp>’ and ‘size_t {aka long unsigned int}’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__divides, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__divides, typename _Dom1::value_type>::result_type> std::operator/(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: ‘const std::valarray<int>’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__divides, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__divides, typename _Dom1::value_type>::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘size_t {aka long unsigned int}’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__divides, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__divides, typename _Dom1::value_type>::result_type> std::operator/(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: ‘const std::valarray<int>’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__divides, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__divides, typename _Dom1::value_type>::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)
_DEFINE_EXPR_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘size_t {aka long unsigned int}’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
In file included from <PREFIX>/include/c++/7.1.0/valarray:592:0,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17,
from <SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8:
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: candidate: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__divides, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__divides, typename _Dom1::value_type>::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(/, __divides)
^
<PREFIX>/include/c++/7.1.0/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed:
<SRC_DIR>/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘size_t {aka long unsigned int}’
return (bigIndex / this->oriCellDimProd) % this->oriCellDims;
^~~~~~~~~~~~~~
[ 79%] Python Wrapping - generating vtkPVBoxPython.cxx
[ 79%] CS Wrapping - generating vtkPVClipDataSetClientServer.cxx
Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/build.make:6869: recipe for target 'Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/readers/Vs/VsStaggeredField.C.o' failed
make[2]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/readers/Vs/VsStaggeredField.C.o] Error 1
make[2]: *** Waiting for unfinished jobs....