INFO Command line: 'c++' '/var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp' '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7' '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/.' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/pythran' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++' '-DENABLE_PYTHON_MODULE' '-O2' '-g' '-std=c++11' '-O2' '-shared' '-o' 'yin_and_yang.so' '-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config' '-lpython2.7' '-L/opt/local/lib' '-lboost_python-mt' '-lgmp' '-lgmpxx' '-fPIC'
CRITICAL Leave the vessel! Women and children first!
C++ compiler failed to compile translated code.
E: Compile error!
******** Command line was: ********
'c++' '/var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp' '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7' '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/.' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/pythran' '-Iโฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++' '-DENABLE_PYTHON_MODULE' '-O2' '-g' '-std=c++11' '-O2' '-shared' '-o' 'yin_and_yang.so' '-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config' '-lpython2.7' '-L/opt/local/lib' '-lboost_python-mt' '-lgmp' '-lgmpxx' '-fPIC'
******** Output : ********
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from โฆ.//pythran/install/lib/python2.7/site-packages/./pythran/pythran.h:817,
from /var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp:2:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
In file included from โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/pythonic++.h:9:0,
from โฆ.//pythran/install/lib/python2.7/site-packages/./pythran/pythran.h:7,
from /var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp:2:
โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/core/tuple.h: In instantiation of 'std::size_t std::hash<std::array<_Tp, _Nm> >::operator()(const std::array<_Tp, _Nm>&) const [with T = long int; long unsigned int N = 2ul; std::size_t = long unsigned int]':
/opt/local/include/gcc48/c++/bits/hashtable_policy.h:1103:22: required from 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_hash_code(const _Key&) const [with _Key = std::array<long int, 2ul>; _Value = std::pair<const std::array<long int, 2ul>, pythonic::core::string>; _ExtractKey = std::__detail::_Select1st; _H1 = std::hash<std::array<long int, 2ul> >; _H2 = std::__detail::_Mod_range_hashing; std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code = long unsigned int]'
/opt/local/include/gcc48/c++/bits/hashtable_policy.h:487:49: required from 'std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::operator[](const key_type&) [with _Key = std::array<long int, 2ul>; _Pair = std::pair<const std::array<long int, 2ul>, pythonic::core::string>; _Alloc = std::allocator<std::pair<const std::array<long int, 2ul>, pythonic::core::string> >; _Equal = std::equal_to<std::array<long int, 2ul> >; _H1 = std::hash<std::array<long int, 2ul> >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>; std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::mapped_type = pythonic::core::string; std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::key_type = std::array<long int, 2ul>]'
/opt/local/include/gcc48/c++/bits/unordered_map.h:596:20: required from 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type&) [with _Key = std::array<long int, 2ul>; _Tp = pythonic::core::string; _Hash = std::hash<std::array<long int, 2ul> >; _Pred = std::equal_to<std::array<long int, 2ul> >; _Alloc = std::allocator<std::pair<const std::array<long int, 2ul>, pythonic::core::string> >; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type = pythonic::core::string; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::key_type = std::array<long int, 2ul>]'
โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/core/dict.h:138:62: required from 'V& pythonic::core::dict<K, V>::operator[](const K&) [with K = std::array<long int, 2ul>; V = pythonic::core::string]'
/var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp:487:10: required from 'typename __yin_and_yang::yinyang::type<argument_type0>::result_type __yin_and_yang::yinyang::operator()(argument_type0&&) const [with argument_type0 = long int; typename __yin_and_yang::yinyang::type<argument_type0>::result_type = pythonic::core::string]'
/var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp:530:22: required from here
โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/core/tuple.h:162:32: error: no match for call to '(std::hash<long int>) (const std::array<long int, 2ul>&)'
seed ^= h(l) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
^
In file included from /opt/local/include/gcc48/c++/bits/basic_string.h:3035:0,
from /opt/local/include/gcc48/c++/string:52,
from /opt/local/include/gcc48/c++/bits/locale_classes.h:40,
from /opt/local/include/gcc48/c++/bits/ios_base.h:41,
from /opt/local/include/gcc48/c++/ios:42,
from /opt/local/include/gcc48/c++/ostream:38,
from /opt/local/include/gcc48/c++/iterator:64,
from โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/core/utils.h:5,
from โฆ.//pythran/install/lib/python2.7/site-packages/pythran/pythonic++/pythonic++.h:5,
from โฆ.//pythran/install/lib/python2.7/site-packages/./pythran/pythran.h:7,
from /var/folders/b6/s_v2kl3918s2v6lf3xpqnp100000gn/T/tmp9nkn8T.cpp:2:
/opt/local/include/gcc48/c++/bits/functional_hash.h:107:3: note: candidate is:
_Cxx_hashtable_define_trivial_hash(long)
^
/opt/local/include/gcc48/c++/bits/functional_hash.h:107:3: note: std::size_t std::hash<long int>::operator()(long int) const
_Cxx_hashtable_define_trivial_hash(long)
^
/opt/local/include/gcc48/c++/bits/functional_hash.h:107:3: note: no known conversion for argument 1 from 'const std::array<long int, 2ul>' to 'long int'