kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38971
Build failed in Jenkins: kicad-qa #5073
See <http://ci.kicad-pcb.org/job/kicad-qa/5073/display/redirect?page=changes>
Changes:
[jean-pierre charras] qa test: fix a compil issue by modifying the way BOOST_PRINT namespace
------------------------------------------
[...truncated 29.17 KB...]
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:71:28: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:71:46: error: expected primary-expression before ‘double’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:13: error: ‘IsWithin’ is not a member of ‘boost::KI_TEST’
KI_TEST::IsWithin<double>, ( aArc.GetRadius() )( aProps.m_radius )( pos_tol ) );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:13: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:31: error: expected primary-expression before ‘double’
KI_TEST::IsWithin<double>, ( aArc.GetRadius() )( aProps.m_radius )( pos_tol ) );
^
In file included from /usr/include/boost/test/unit_test.hpp:20:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>: At global scope:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:284:1: error: expected ‘}’ at end of input
BOOST_AUTO_TEST_SUITE_END()
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>: In instantiation of ‘bool boost::KI_TEST::IsVecWithinTol(const VEC&, const VEC&, typename VEC::coord_type) [with VEC = VECTOR2<int>; typename VEC::coord_type = int]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:61:5: required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:36:57: warning: left operand of comma operator has no effect [-Wunused-value]
&& IsWithin<typename VEC::coord_type>( aVec.y, aExp.y, aTol );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:36:65: warning: right operand of comma operator has no effect [-Wunused-value]
&& IsWithin<typename VEC::coord_type>( aVec.y, aExp.y, aTol );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:54: warning: left operand of comma operator has no effect [-Wunused-value]
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:62: warning: right operand of comma operator has no effect [-Wunused-value]
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
/usr/include/boost/test/test_tools.hpp: In instantiation of ‘void boost::test_tools::print_log_value<T>::operator()(std::ostream&, const T&) [with T = BOX2<VECTOR2<int> >; std::ostream = std::basic_ostream<char>]’:
/usr/include/boost/test/test_tools.hpp:467:40: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t<T>&) [with T = BOX2<VECTOR2<int> >; std::ostream = std::basic_ostream<char>]’
/usr/include/boost/test/utils/lazy_ostream.hpp:74:29: required from ‘std::ostream& boost::unit_test::lazy_ostream_impl<T>::operator()(std::ostream&) const [with T = const boost::test_tools::tt_detail::print_helper_t<BOX2<VECTOR2<int> > >&; std::ostream = std::basic_ostream<char>]’
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:284:1: required from here
/usr/include/boost/test/test_tools.hpp:326:14: error: cannot bind ‘std::ostream {aka std::basic_ostream<char>}’ lvalue to ‘std::basic_ostream<char>&&’
ostr << t; // by default print the value
^
In file included from /usr/include/c++/4.9/istream:39:0,
from /usr/include/c++/4.9/sstream:38,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/geometry/shape.h>:29,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/geometry/shape_arc.h>:28,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:24:
/usr/include/c++/4.9/ostream:602:5: note: initializing argument 1 of ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = BOX2<VECTOR2<int> >]’
operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>: In function ‘bool boost::KI_TEST::IsVecWithinTol(const VEC&, const VEC&, typename VEC::coord_type) [with VEC = VECTOR2<int>; typename VEC::coord_type = int]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
qa/common/CMakeFiles/qa_common_gerbview.dir/build.make:376: recipe for target 'qa/common/CMakeFiles/qa_common_gerbview.dir/geometry/test_shape_arc.cpp.o' failed
make[2]: *** [qa/common/CMakeFiles/qa_common_gerbview.dir/geometry/test_shape_arc.cpp.o] Error 1
CMakeFiles/Makefile2:3128: recipe for target 'qa/common/CMakeFiles/qa_common_gerbview.dir/all' failed
make[1]: *** [qa/common/CMakeFiles/qa_common_gerbview.dir/all] Error 2
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:91:40: error: expected ‘{’ before ‘::’ token
#define BOOST_PRINT_NAMESPACE boost::test_tools
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:15:11: note: in expansion of macro ‘BOOST_PRINT_NAMESPACE’
namespace BOOST_PRINT_NAMESPACE
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:91:42: error: ‘test_tools’ in namespace ‘::’ does not name a type
#define BOOST_PRINT_NAMESPACE boost::test_tools
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:15:11: note: in expansion of macro ‘BOOST_PRINT_NAMESPACE’
namespace BOOST_PRINT_NAMESPACE
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>: In function ‘bool boost::KI_TEST::IsVecWithinTol(const VEC&, const VEC&, typename VEC::coord_type)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:12: error: ‘IsWithin’ was not declared in this scope
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:12: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:45: error: expected ‘(’ before ‘>’ token
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:36:48: error: expected ‘(’ before ‘>’ token
&& IsWithin<typename VEC::coord_type>( aVec.y, aExp.y, aTol );
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>: In function ‘void boost::ShapeArc::CheckArcGeom(const SHAPE_ARC&, const boost::ShapeArc::ARC_PROPERTIES&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:67:28: error: ‘IsWithin’ is not a member of ‘boost::KI_TEST’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:67:28: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:67:46: error: expected primary-expression before ‘double’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:69:28: error: ‘IsWithin’ is not a member of ‘boost::KI_TEST’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:69:28: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:69:46: error: expected primary-expression before ‘double’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:71:28: error: ‘IsWithin’ is not a member of ‘boost::KI_TEST’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:71:28: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:71:46: error: expected primary-expression before ‘double’
BOOST_CHECK_PREDICATE( KI_TEST::IsWithin<double>,
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:13: error: ‘IsWithin’ is not a member of ‘boost::KI_TEST’
KI_TEST::IsWithin<double>, ( aArc.GetRadius() )( aProps.m_radius )( pos_tol ) );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:13: note: suggested alternative:
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:5:0,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/numeric.h>:40:28: note: ‘KI_TEST::IsWithin’
template <typename T> bool IsWithin( T aValue, T aNominal, T aError )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:74:31: error: expected primary-expression before ‘double’
KI_TEST::IsWithin<double>, ( aArc.GetRadius() )( aProps.m_radius )( pos_tol ) );
^
In file included from /usr/include/boost/test/unit_test.hpp:20:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>: At global scope:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:284:1: error: expected ‘}’ at end of input
BOOST_AUTO_TEST_SUITE_END()
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>: In instantiation of ‘bool boost::KI_TEST::IsVecWithinTol(const VEC&, const VEC&, typename VEC::coord_type) [with VEC = VECTOR2<int>; typename VEC::coord_type = int]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:61:5: required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:36:57: warning: left operand of comma operator has no effect [-Wunused-value]
&& IsWithin<typename VEC::coord_type>( aVec.y, aExp.y, aTol );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:36:65: warning: right operand of comma operator has no effect [-Wunused-value]
&& IsWithin<typename VEC::coord_type>( aVec.y, aExp.y, aTol );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:54: warning: left operand of comma operator has no effect [-Wunused-value]
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:35:62: warning: right operand of comma operator has no effect [-Wunused-value]
return IsWithin<typename VEC::coord_type>( aVec.x, aExp.x, aTol )
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from /usr/include/boost/test/test_case_template.hpp:15,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h>:27,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:6,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:
/usr/include/boost/test/test_tools.hpp: In instantiation of ‘void boost::test_tools::print_log_value<T>::operator()(std::ostream&, const T&) [with T = BOX2<VECTOR2<int> >; std::ostream = std::basic_ostream<char>]’:
/usr/include/boost/test/test_tools.hpp:467:40: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t<T>&) [with T = BOX2<VECTOR2<int> >; std::ostream = std::basic_ostream<char>]’
/usr/include/boost/test/utils/lazy_ostream.hpp:74:29: required from ‘std::ostream& boost::unit_test::lazy_ostream_impl<T>::operator()(std::ostream&) const [with T = const boost::test_tools::tt_detail::print_helper_t<BOX2<VECTOR2<int> > >&; std::ostream = std::basic_ostream<char>]’
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:284:1: required from here
/usr/include/boost/test/test_tools.hpp:326:14: error: cannot bind ‘std::ostream {aka std::basic_ostream<char>}’ lvalue to ‘std::basic_ostream<char>&&’
ostr << t; // by default print the value
^
In file included from /usr/include/c++/4.9/istream:39:0,
from /usr/include/c++/4.9/sstream:38,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/geometry/shape.h>:29,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/geometry/shape_arc.h>:28,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:24:
/usr/include/c++/4.9/ostream:602:5: note: initializing argument 1 of ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = BOX2<VECTOR2<int> >]’
operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)
^
In file included from <http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/common/geometry/test_shape_arc.cpp>:26:0:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>: In function ‘bool boost::KI_TEST::IsVecWithinTol(const VEC&, const VEC&, typename VEC::coord_type) [with VEC = VECTOR2<int>; typename VEC::coord_type = int]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/unit_test_utils/include/unit_test_utils/geometry.h>:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
qa/common/CMakeFiles/qa_common_eeschema.dir/build.make:376: recipe for target 'qa/common/CMakeFiles/qa_common_eeschema.dir/geometry/test_shape_arc.cpp.o' failed
make[2]: *** [qa/common/CMakeFiles/qa_common_eeschema.dir/geometry/test_shape_arc.cpp.o] Error 1
CMakeFiles/Makefile2:3087: recipe for target 'qa/common/CMakeFiles/qa_common_eeschema.dir/all' failed
make[1]: *** [qa/common/CMakeFiles/qa_common_eeschema.dir/all] Error 2
[ 91%] Built target eeschema_kiface
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Follow ups
References