/Developer/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DSWIG_TYPE_TABLE=hepmccompat -I/usr/local/packages/Rivet-1.7.0/include -I/usr/local/packages/Rivet-1.7.0/include -I/usr/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./rivet/rivetwrap_wrap.cc -o build/temp.macosx-10.7-x86_64-2.7/./rivet/rivetwrap_wrap.o -O2 ./rivet/rivetwrap_wrap.cc:2375:23: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] res = SWIG_AddCast(res); ~~~ ^ ~~~ ./rivet/rivetwrap_wrap.cc:2378:23: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] res = SWIG_AddCast(res); ~~~ ^ ~~~ ./rivet/rivetwrap_wrap.cc:16542:14: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] clientdata = clientdata; ~~~~~~~~~~ ^ ~~~~~~~~~~ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:144:9: error: use of undeclared identifier 'readArray' readArray( v.array() ); ^ this-> /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:31:9: note: in instantiation of member function 'Eigen::Vector::Vector' requested here : _vec(other._vec) { } ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector3.hh:26:9: note: in instantiation of member function 'Rivet::Vector<3>::Vector' requested here class Vector3 : public Vector<3> { ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:395:10: note: must qualify identifier to find this declaration in dependent base class void readArray( const T * src ); ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:144:9: error: no member named 'readArray' in 'Eigen::Vector' readArray( v.array() ); ^~~~~~~~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:31:9: note: in instantiation of member function 'Eigen::Vector::Vector' requested here : _vec(other._vec) { } ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector4.hh:39:7: note: in instantiation of member function 'Rivet::Vector<4>::Vector' requested here : Vector<4>(other) { } ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:33: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:510:16: error: no matching constructor for initialization of 'Eigen::Vector' return res; ^~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector4.hh:186:21: note: in instantiation of member function 'Eigen::VectorBase >::operator-' requested here result._vec = -_vec; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:150:5: note: candidate constructor not viable: no known conversion from 'Eigen::Vector' to 'const double *' for 1st argument Vector( const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:130:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Vector() {} ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:160:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( int unused_size, const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:169:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( T x, T y ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:179:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided Vector( T x, T y, T z ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:190:5: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Vector( T x, T y, T z, T w ) ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:33: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:843:12: error: no matching constructor for initialization of 'Eigen::Vector' return v * factor; ^~~~~~~~~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector4.hh:205:21: note: in instantiation of function template specialization 'Eigen::operator* >' requested here result._vec = a * v._vec; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:150:5: note: candidate constructor not viable: no known conversion from 'Eigen::Vector' to 'const double *' for 1st argument Vector( const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:130:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Vector() {} ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:160:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( int unused_size, const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:169:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( T x, T y ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:179:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided Vector( T x, T y, T z ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:190:5: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Vector( T x, T y, T z, T w ) ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:33: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:624:16: error: no matching constructor for initialization of 'Eigen::Vector' return res; ^~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:843:14: note: in instantiation of member function 'Eigen::VectorBase >::operator*' requested here return v * factor; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector4.hh:205:21: note: in instantiation of function template specialization 'Eigen::operator* >' requested here result._vec = a * v._vec; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:150:5: note: candidate constructor not viable: no known conversion from 'Eigen::Vector' to 'const double *' for 1st argument Vector( const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:130:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Vector() {} ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:160:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( int unused_size, const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:169:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( T x, T y ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:179:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided Vector( T x, T y, T z ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:190:5: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Vector( T x, T y, T z, T w ) ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:43: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vectors.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/VectorN.hh:7: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:33: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vectorbase.h:478:16: error: no matching constructor for initialization of 'Eigen::Vector' return res; ^~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Vector4.hh:227:26: note: in instantiation of member function 'Eigen::VectorBase >::operator+' requested here result._vec = a._vec + b._vec; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:150:5: note: candidate constructor not viable: no known conversion from 'Eigen::Vector' to 'const double *' for 1st argument Vector( const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:130:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Vector() {} ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:160:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( int unused_size, const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:169:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( T x, T y ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:179:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided Vector( T x, T y, T z ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:190:5: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Vector( T x, T y, T z, T w ) ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:44: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Matrices.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:8: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrix.h:33: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/ludecomposition.h:88:54: error: use of undeclared identifier 'perform' LUDecomposition( const Matrix & mat ) { perform( mat ); } ^ this-> /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrixbase.h:1789:9: note: in instantiation of member function 'Eigen::LUDecomposition::LUDecomposition' requested here LUDecompositionType( *static_cast(this) ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrixbase.h:1094:9: note: in instantiation of member function 'Eigen::MatrixBase, Eigen::Vector, Eigen::LUDecomposition >::computeInverse' requested here computeInverse( &m ); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:136:29: note: in instantiation of member function 'Eigen::MatrixBase, Eigen::Vector, Eigen::LUDecomposition >::inverse' requested here tmp._matrix = _matrix.inverse(); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/LorentzTrans.hh:88:56: note: in instantiation of member function 'Rivet::Matrix<4>::inverse' requested here const Matrix4 newlt = rot4 * _boostMatrix * rot4.inverse(); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/ludecompositionbase.h:195:10: note: must qualify identifier to find this declaration in dependent base class void perform ( const MatrixType & A ); ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:44: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Matrices.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:8: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrix.h:173:9: error: use of undeclared identifier 'readArray' readArray( other.array() ); ^ this-> /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrixbase.h:1095:16: note: in instantiation of member function 'Eigen::Matrix::Matrix' requested here return m; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:136:29: note: in instantiation of member function 'Eigen::MatrixBase, Eigen::Vector, Eigen::LUDecomposition >::inverse' requested here tmp._matrix = _matrix.inverse(); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/LorentzTrans.hh:88:56: note: in instantiation of member function 'Rivet::Matrix<4>::inverse' requested here const Matrix4 newlt = rot4 * _boostMatrix * rot4.inverse(); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrixbase.h:392:10: note: must qualify identifier to find this declaration in dependent base class void readArray( const T * src ); ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:44: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Matrices.hh:5: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:326:16: warning: no viable constructor copying parameter of type 'Eigen::Vector'; C++98 requires a copy constructor when binding a reference to a temporary [-Wbind-to-temporary-copy] tmp._vec = a._matrix * b._vec; ^~~~~~~~~~~~~~~~~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/LorentzTrans.hh:94:14: note: in instantiation of function template specialization 'Rivet::multiply<4>' requested here return multiply(_boostMatrix, v4); ^ In file included from ./rivet/rivetwrap_wrap.cc:3078: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Analysis.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Rivet.hh:44: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/Matrices.hh:5: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:8: In file included from /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrix.h:34: /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/matrixbase.h:847:16: error: no matching constructor for initialization of 'Eigen::Vector' return res; ^~~ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/MatrixN.hh:326:26: note: in instantiation of member function 'Eigen::MatrixBase, Eigen::Vector, Eigen::LUDecomposition >::operator*' requested here tmp._vec = a._matrix * b._vec; ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/LorentzTrans.hh:94:14: note: in instantiation of function template specialization 'Rivet::multiply<4>' requested here return multiply(_boostMatrix, v4); ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:150:5: note: candidate constructor not viable: no known conversion from 'Eigen::Vector' to 'const double *' for 1st argument Vector( const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:130:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Vector() {} ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:160:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( int unused_size, const T *array ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:169:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Vector( T x, T y ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:179:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided Vector( T x, T y, T z ) ^ /usr/local/packages/Rivet-1.7.0/include/Rivet/Math/eigen/vector.h:190:5: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Vector( T x, T y, T z, T w ) ^ ./rivet/rivetwrap_wrap.cc:4843:45: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Warray-bounds] res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1)... ^~~~~~~~~~~~~~~~~~~~~~~ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:50:34: note: instantiated from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ./rivet/rivetwrap_wrap.cc:3586:32: note: in instantiation of member function 'swig::traits_asptr >::asptr' requested here return traits_asptr::asptr(obj, vptr); ^ ./rivet/rivetwrap_wrap.cc:7978:12: note: in instantiation of function template specialization 'swig::asptr >' requested here res1 = swig::asptr(obj0, &ptr); ^ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ ./rivet/rivetwrap_wrap.cc:4843:45: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Warray-bounds] res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1)... ^~~~~~~~~~~~~~~~~~~~~~~ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:50:34: note: instantiated from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ./rivet/rivetwrap_wrap.cc:3586:32: note: in instantiation of member function 'swig::traits_asptr >::asptr' requested here return traits_asptr::asptr(obj, vptr); ^ ./rivet/rivetwrap_wrap.cc:11189:12: note: in instantiation of function template specialization 'swig::asptr >' requested here res1 = swig::asptr(obj0, &ptr); ^ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ 6 warnings and 9 errors generated.