--- Begin Message ---
Source: freecad
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs
Hello,
Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).
We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION
Full build log is available here:
http://clang.debian.net/logs/2014-06-16/freecad_0.13.3637-dfsg-1_unstable_clang.log
Thanks,
Alexander
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./src/Mod/Robot/App/kdl_cp/framevel.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/framevel.hpp 2014-07-19 01:24:33.211140339 +0400
@@ -111,9 +111,9 @@
IMETHOD friend void SetToZero(VectorVel& v);
- IMETHOD friend bool Equal(const VectorVel& r1,const VectorVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Vector& r1,const VectorVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const VectorVel& r1,const Vector& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const VectorVel& r1,const VectorVel& r2,double eps);
+ IMETHOD friend bool Equal(const Vector& r1,const VectorVel& r2,double eps);
+ IMETHOD friend bool Equal(const VectorVel& r1,const Vector& r2,double eps);
IMETHOD friend VectorVel operator - (const VectorVel& r);
IMETHOD friend doubleVel dot(const VectorVel& lhs,const VectorVel& rhs);
IMETHOD friend doubleVel dot(const VectorVel& lhs,const Vector& rhs);
@@ -167,9 +167,9 @@
IMETHOD friend RotationVel operator* (const RotationVel& r1,const RotationVel& r2);
IMETHOD friend RotationVel operator* (const Rotation& r1,const RotationVel& r2);
IMETHOD friend RotationVel operator* (const RotationVel& r1,const Rotation& r2);
- IMETHOD friend bool Equal(const RotationVel& r1,const RotationVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Rotation& r1,const RotationVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const RotationVel& r1,const Rotation& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const RotationVel& r1,const RotationVel& r2,double eps);
+ IMETHOD friend bool Equal(const Rotation& r1,const RotationVel& r2,double eps);
+ IMETHOD friend bool Equal(const RotationVel& r1,const Rotation& r2,double eps);
IMETHOD TwistVel Inverse(const TwistVel& arg) const;
IMETHOD TwistVel Inverse(const Twist& arg) const;
@@ -221,9 +221,9 @@
IMETHOD friend FrameVel operator * (const FrameVel& f1,const FrameVel& f2);
IMETHOD friend FrameVel operator * (const Frame& f1,const FrameVel& f2);
IMETHOD friend FrameVel operator * (const FrameVel& f1,const Frame& f2);
- IMETHOD friend bool Equal(const FrameVel& r1,const FrameVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Frame& r1,const FrameVel& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const FrameVel& r1,const Frame& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const FrameVel& r1,const FrameVel& r2,double eps);
+ IMETHOD friend bool Equal(const Frame& r1,const FrameVel& r2,double eps);
+ IMETHOD friend bool Equal(const FrameVel& r1,const Frame& r2,double eps);
IMETHOD TwistVel Inverse(const TwistVel& arg) const;
IMETHOD TwistVel Inverse(const Twist& arg) const;
@@ -293,9 +293,9 @@
// = Equality operators
// do not use operator == because the definition of Equal(.,.) is slightly
// different. It compares whether the 2 arguments are equal in an eps-interval
- IMETHOD friend bool Equal(const TwistVel& a,const TwistVel& b,double eps=epsilon);
- IMETHOD friend bool Equal(const Twist& a,const TwistVel& b,double eps=epsilon);
- IMETHOD friend bool Equal(const TwistVel& a,const Twist& b,double eps=epsilon);
+ IMETHOD friend bool Equal(const TwistVel& a,const TwistVel& b,double eps);
+ IMETHOD friend bool Equal(const Twist& a,const TwistVel& b,double eps);
+ IMETHOD friend bool Equal(const TwistVel& a,const Twist& b,double eps);
// = Conversion to other entities
IMETHOD Twist GetTwist() const;
--- ./src/Mod/Robot/App/kdl_cp/jntarrayacc.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jntarrayacc.hpp 2014-07-19 01:27:05.316139591 +0400
@@ -61,7 +61,7 @@
friend void Divide(const JntArrayAcc& src,const doubleVel& factor,JntArrayAcc& dest);
friend void Divide(const JntArrayAcc& src,const doubleAcc& factor,JntArrayAcc& dest);
friend void SetToZero(JntArrayAcc& array);
- friend bool Equal(const JntArrayAcc& src1,const JntArrayAcc& src2,double eps=epsilon);
+ friend bool Equal(const JntArrayAcc& src1,const JntArrayAcc& src2,double eps);
};
}
--- ./src/Mod/Robot/App/kdl_cp/jacobian.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jacobian.hpp 2014-07-19 01:18:00.126912365 +0400
@@ -44,7 +44,7 @@
bool operator ==(const Jacobian& arg)const;
bool operator !=(const Jacobian& arg)const;
- friend bool Equal(const Jacobian& a,const Jacobian& b,double eps=epsilon);
+ friend bool Equal(const Jacobian& a,const Jacobian& b,double eps);
~Jacobian();
--- ./src/Mod/Robot/App/kdl_cp/frameacc.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/frameacc.hpp 2014-07-19 01:26:04.113346460 +0400
@@ -79,9 +79,9 @@
IMETHOD friend VectorAcc operator / (const VectorAcc& r2,const doubleAcc& r1);
- IMETHOD friend bool Equal(const VectorAcc& r1,const VectorAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Vector& r1,const VectorAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const VectorAcc& r1,const Vector& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const VectorAcc& r1,const VectorAcc& r2,double eps);
+ IMETHOD friend bool Equal(const Vector& r1,const VectorAcc& r2,double eps);
+ IMETHOD friend bool Equal(const VectorAcc& r1,const Vector& r2,double eps);
IMETHOD friend VectorAcc operator - (const VectorAcc& r);
IMETHOD friend doubleAcc dot(const VectorAcc& lhs,const VectorAcc& rhs);
IMETHOD friend doubleAcc dot(const VectorAcc& lhs,const Vector& rhs);
@@ -133,9 +133,9 @@
IMETHOD friend RotationAcc operator* (const RotationAcc& r1,const RotationAcc& r2);
IMETHOD friend RotationAcc operator* (const Rotation& r1,const RotationAcc& r2);
IMETHOD friend RotationAcc operator* (const RotationAcc& r1,const Rotation& r2);
- IMETHOD friend bool Equal(const RotationAcc& r1,const RotationAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Rotation& r1,const RotationAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const RotationAcc& r1,const Rotation& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const RotationAcc& r1,const RotationAcc& r2,double eps);
+ IMETHOD friend bool Equal(const Rotation& r1,const RotationAcc& r2,double eps);
+ IMETHOD friend bool Equal(const RotationAcc& r1,const Rotation& r2,double eps);
IMETHOD TwistAcc Inverse(const TwistAcc& arg) const;
IMETHOD TwistAcc Inverse(const Twist& arg) const;
IMETHOD TwistAcc operator * (const TwistAcc& arg) const;
@@ -171,9 +171,9 @@
IMETHOD friend FrameAcc operator * (const FrameAcc& f1,const FrameAcc& f2);
IMETHOD friend FrameAcc operator * (const Frame& f1,const FrameAcc& f2);
IMETHOD friend FrameAcc operator * (const FrameAcc& f1,const Frame& f2);
- IMETHOD friend bool Equal(const FrameAcc& r1,const FrameAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const Frame& r1,const FrameAcc& r2,double eps=epsilon);
- IMETHOD friend bool Equal(const FrameAcc& r1,const Frame& r2,double eps=epsilon);
+ IMETHOD friend bool Equal(const FrameAcc& r1,const FrameAcc& r2,double eps);
+ IMETHOD friend bool Equal(const Frame& r1,const FrameAcc& r2,double eps);
+ IMETHOD friend bool Equal(const FrameAcc& r1,const Frame& r2,double eps);
IMETHOD TwistAcc Inverse(const TwistAcc& arg) const;
IMETHOD TwistAcc Inverse(const Twist& arg) const;
@@ -227,9 +227,9 @@
// the new point.
// Complexity : 6M+6A
- IMETHOD friend bool Equal(const TwistAcc& a,const TwistAcc& b,double eps=epsilon);
- IMETHOD friend bool Equal(const Twist& a,const TwistAcc& b,double eps=epsilon);
- IMETHOD friend bool Equal(const TwistAcc& a,const Twist& b,double eps=epsilon);
+ IMETHOD friend bool Equal(const TwistAcc& a,const TwistAcc& b,double eps);
+ IMETHOD friend bool Equal(const Twist& a,const TwistAcc& b,double eps);
+ IMETHOD friend bool Equal(const TwistAcc& a,const Twist& b,double eps);
IMETHOD Twist GetTwist() const;
--- ./src/Mod/Robot/App/kdl_cp/jntspaceinertiamatrix.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jntspaceinertiamatrix.hpp 2014-07-19 01:27:40.703441910 +0400
@@ -203,7 +203,7 @@
* @return true if each element of src1 is within eps of the same
* element in src2, or if both src1 and src2 have no data (ie 0==rows())
*/
- friend bool Equal(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2,double eps=epsilon);
+ friend bool Equal(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2,double eps);
friend bool operator==(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2);
//friend bool operator!=(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2);
--- ./src/Mod/Robot/App/kdl_cp/jntarrayvel.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jntarrayvel.hpp 2014-07-19 01:26:31.384808655 +0400
@@ -54,7 +54,7 @@
friend void Divide(const JntArrayVel& src,const double& factor,JntArrayVel& dest);
friend void Divide(const JntArrayVel& src,const doubleVel& factor,JntArrayVel& dest);
friend void SetToZero(JntArrayVel& array);
- friend bool Equal(const JntArrayVel& src1,const JntArrayVel& src2,double eps=epsilon);
+ friend bool Equal(const JntArrayVel& src1,const JntArrayVel& src2,double eps);
};
}
--- ./src/Mod/Robot/App/kdl_cp/frames.hpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/frames.hpp 2014-07-19 01:19:16.937391629 +0400
@@ -244,7 +244,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Vector& a,const Vector& b,double eps=epsilon);
+ inline friend bool Equal(const Vector& a,const Vector& b,double eps);
//! The literal equality operator==(), also identical.
inline friend bool operator==(const Vector& a,const Vector& b);
@@ -493,7 +493,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- friend bool Equal(const Rotation& a,const Rotation& b,double eps=epsilon);
+ friend bool Equal(const Rotation& a,const Rotation& b,double eps);
//! The literal equality operator==(), also identical.
friend bool operator==(const Rotation& a,const Rotation& b);
@@ -651,7 +651,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Frame& a,const Frame& b,double eps=epsilon);
+ inline friend bool Equal(const Frame& a,const Frame& b,double eps);
//! The literal equality operator==(), also identical.
inline friend bool operator==(const Frame& a,const Frame& b);
@@ -726,7 +726,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Twist& a,const Twist& b,double eps=epsilon);
+ inline friend bool Equal(const Twist& a,const Twist& b,double eps);
//! The literal equality operator==(), also identical.
inline friend bool operator==(const Twist& a,const Twist& b);
@@ -889,7 +889,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Wrench& a,const Wrench& b,double eps=epsilon);
+ inline friend bool Equal(const Wrench& a,const Wrench& b,double eps);
//! The literal equality operator==(), also identical.
inline friend bool operator==(const Wrench& a,const Wrench& b);
@@ -982,7 +982,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Vector2& a,const Vector2& b,double eps=epsilon);
+ inline friend bool Equal(const Vector2& a,const Vector2& b,double eps);
//! The literal equality operator==(), also identical.
inline friend bool operator==(const Vector2& a,const Vector2& b);
@@ -1034,7 +1034,7 @@
//! do not use operator == because the definition of Equal(.,.) is slightly
//! different. It compares whether the 2 arguments are equal in an eps-interval
- inline friend bool Equal(const Rotation2& a,const Rotation2& b,double eps=epsilon);
+ inline friend bool Equal(const Rotation2& a,const Rotation2& b,double eps);
};
//! A 2D frame class, for further documentation see the Frames class
@@ -1075,7 +1075,7 @@
tmp.SetIdentity();
return tmp;
}
- inline friend bool Equal(const Frame2& a,const Frame2& b,double eps=epsilon);
+ inline friend bool Equal(const Frame2& a,const Frame2& b,double eps);
};
IMETHOD Vector diff(const Vector& a,const Vector& b,double dt=1);
--- ./src/Mod/Robot/App/kdl_cp/frames.inl 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/frames.inl 2014-07-19 01:22:57.309034535 +0400
@@ -1294,7 +1294,7 @@
IMETHOD bool operator==(const Frame& a,const Frame& b ) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return (a.p == b.p &&
a.M == b.M );
@@ -1307,7 +1307,7 @@
IMETHOD bool operator==(const Vector& a,const Vector& b) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return (a.data[0]==b.data[0]&&
a.data[1]==b.data[1]&&
@@ -1321,7 +1321,7 @@
IMETHOD bool operator==(const Twist& a,const Twist& b) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return (a.rot==b.rot &&
a.vel==b.vel );
@@ -1334,7 +1334,7 @@
IMETHOD bool operator==(const Wrench& a,const Wrench& b ) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return (a.force==b.force &&
a.torque==b.torque );
@@ -1350,7 +1350,7 @@
IMETHOD bool operator==(const Vector2& a,const Vector2& b) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return (a.data[0]==b.data[0]&&
a.data[1]==b.data[1] );
--- ./src/Mod/Robot/App/kdl_cp/jacobian.cpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jacobian.cpp 2014-07-19 01:28:51.190052899 +0400
@@ -126,12 +126,12 @@
bool Jacobian::operator ==(const Jacobian& arg)const
{
- return Equal((*this),arg);
+ return Equal((*this),arg, epsilon);
}
bool Jacobian::operator!=(const Jacobian& arg)const
{
- return !Equal((*this),arg);
+ return !Equal((*this),arg, epsilon);
}
bool Equal(const Jacobian& a,const Jacobian& b,double eps)
--- ./src/Mod/Robot/App/kdl_cp/jntspaceinertiamatrix.cpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/jntspaceinertiamatrix.cpp 2014-07-19 01:29:39.337104780 +0400
@@ -115,7 +115,7 @@
return src1.data.isApprox(src2.data,eps);
}
- bool operator==(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2){return Equal(src1,src2);};
+ bool operator==(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2){return Equal(src1,src2, epsilon);};
//bool operator!=(const JntSpaceInertiaMatrix& src1,const JntSpaceInertiaMatrix& src2){return Equal(src1,src2);};
}
--- ./src/Mod/Robot/App/kdl_cp/frames.cpp 2014-05-24 23:37:31.000000000 +0400
+++ ../freecad-0.13.3637-dfsg-my/./src/Mod/Robot/App/kdl_cp/frames.cpp 2014-07-19 01:30:45.955792840 +0400
@@ -377,7 +377,7 @@
bool operator==(const Rotation& a,const Rotation& b) {
#ifdef KDL_USE_EQUAL
- return Equal(a,b);
+ return Equal(a,b, epsilon);
#else
return ( a.data[0]==b.data[0] &&
a.data[1]==b.data[1] &&
--- End Message ---