Created
June 7, 2011 20:44
-
-
Save springmeyer/1013111 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ccache clang++ -Qunused-arguments -fcolor-diagnostics -o bindings/python/mapnik_envelope.os -c -g -DHAVE_JPEG -ansi -Wall -Wno-unused-function -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -ftemplate-depth-200 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -fPIC -Iagg/include -I. -Iinclude -I/opt/libpng-1.5.2/include -I/opt/jpeg-8c/include -I/opt/proj/include -I/opt/icu/include -I/opt/boost-46/include -I/Library/Frameworks/GDAL.framework/Versions/1.8/Headers -I/usr/local/pgsql-9.0/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/Cellar/sqlite/3.7.5/include -I/usr/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/include/libxml2 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 bindings/python/mapnik_envelope.cpp | |
In file included from bindings/python/mapnik_envelope.cpp:1: | |
In file included from bindings/python/mapnik_envelope.cpp:25: | |
In file included from /opt/boost-46/include/boost/python.hpp:50: | |
/opt/boost-46/include/boost/python/operators.hpp:231:277: error: invalid operands to binary expression ('lhs' (aka 'mapnik::box2d<double>') and 'const rhs' (aka 'const mapnik::box2d<double>')) | |
namespace detail { template <> struct operator_l<op_ne> { template <class L, class R> struct apply { typedef typename unwrap_wrapper_<L>::type lhs; typedef typename unwrap_wrapper_<R>::type rhs; static PyObject* execute(lhs& l, rhs const& r) { return detail::convert_result(l != r); } }; static char const* name() { return "__" "ne" "__"; } }; template <> struct operator_r<op_ne> { template <class L, class R> struct apply { typedef typename unwrap_wrapper_<L>::type lhs; typedef typename unwrap_wrapper_<R>::type rhs; static PyObject* execute(rhs& r, lhs const& l) { return detail::convert_result(l != r); } }; static char const* name() { return "__" "ne" "__"; } }; } namespace self_ns { template <class L, class R> inline detail::operator_<detail::op_ne,L,R> operator !=(L const&, R const&) { return detail::operator_<detail::op_ne,L,R>(); } } | |
~ ^ ~ | |
/opt/boost-46/include/boost/python/operators.hpp:156:18: note: in instantiation of member function 'boost::python::detail::operator_l<26>::apply<mapnik::box2d<double>, mapnik::box2d<double> >::execute' requested here | |
>::execute | |
^ | |
/opt/boost-46/include/boost/python/def_visitor.hpp:31:29: note: in instantiation of function template specialization 'boost::python::detail::operator_<26, boost::python::self_ns::self_t, boost::python::self_ns::self_t>::visit<boost::python::class_<mapnik::box2d<double>, boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here | |
v.derived_visitor().visit(c); | |
^ | |
/opt/boost-46/include/boost/python/def_visitor.hpp:67:9: note: in instantiation of function template specialization 'boost::python::def_visitor_access::visit<boost::python::def_visitor<boost::python::detail::operator_<26, boost::python::self_ns::self_t, boost::python::self_ns::self_t> >, boost::python::class_<mapnik::box2d<double>, boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here | |
def_visitor_access::visit(*this, c); | |
^ | |
/opt/boost-46/include/boost/python/class.hpp:225:17: note: in instantiation of function template specialization 'boost::python::def_visitor<boost::python::detail::operator_<26, boost::python::self_ns::self_t, boost::python::self_ns::self_t> >::visit<boost::python::class_<mapnik::box2d<double>, boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here | |
visitor.visit(*this); | |
^ | |
bindings/python/mapnik_envelope.cpp:265:10: note: in instantiation of function template specialization 'boost::python::class_<mapnik::box2d<double>, boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>::def<boost::python::detail::operator_<26, boost::python::self_ns::self_t, boost::python::self_ns::self_t> >' requested here | |
.def(self != self) | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:820:3: note: candidate function [with Functor = mapnik::box2d<double>] not viable: no known conversion from 'lhs' (aka 'mapnik::box2d<double>') to 'const boost::function_base' for 1st argument | |
operator!=(const function_base& f, Functor g) | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:829:3: note: candidate function [with Functor = mapnik::box2d<double>] not viable: no known conversion from 'const rhs' (aka 'const mapnik::box2d<double>') to 'const boost::function_base' for 2nd argument | |
operator!=(Functor g, const function_base& f) | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:746:13: note: candidate function not viable: no known conversion from 'lhs' (aka 'mapnik::box2d<double>') to 'const boost::function_base' for 1st argument | |
inline bool operator!=(const function_base& f, | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:758:13: note: candidate function not viable: no known conversion from 'lhs' (aka 'mapnik::box2d<double>') to 'detail::function::useless_clear_type *' for 1st argument | |
inline bool operator!=(detail::function::useless_clear_type*, | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:857:3: note: candidate template ignored: failed template argument deduction | |
operator!=(const function_base& f, reference_wrapper<Functor> g) | |
^ | |
/opt/boost-46/include/boost/function/function_base.hpp:866:3: note: candidate template ignored: failed template argument deduction | |
operator!=(reference_wrapper<Functor> g, const function_base& f) | |
^ | |
/opt/boost-46/include/boost/function/function_template.hpp:1026:8: note: candidate template ignored: failed template argument deduction | |
void operator!=(const function0< | |
^ | |
/opt/boost-46/include/boost/smart_ptr/shared_ptr.hpp:484:40: note: candidate template ignored: failed template argument deduction | |
template<class T, class U> inline bool operator!=(shared_ptr<T> const & a, shared_ptr<U> const & b) | |
^ | |
/opt/boost-46/include/boost/function/function_template.hpp:1026:8: note: candidate template ignored: failed template argument deduction | |
void operator!=(const function2< | |
^ | |
1 error generated. | |
scons: *** [bindings/python/mapnik_envelope.os] Error 1 | |
scons: building terminated because of errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment