yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03145
[Bug 509132] Re: #include<yade/lib-pyutil/numpy.hpp> breaks compilation
** Changed in: yade
Status: New => Fix Committed
--
#include<yade/lib-pyutil/numpy.hpp> breaks compilation
https://bugs.launchpad.net/bugs/509132
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: Fix Committed
Bug description:
Vaclav, I'll let you fix this (or use different containers in python::dict TesselationWrapper::getVolPoroDef(bool deformation)) when you need the data. The python array should be returned correctly as soon as the code compiles.
I'm still wondering why this #include is accepted in eudoxos.cpp but not in other files (I tried including this random yade files, it gave the same problem everywhere).
C /home/bruno/YADE/build-last-opt/plugins0.cpp
In file included from /home/bruno/YADE/build-last-opt/include/yade-last/yade/lib-pyutil/numpy.hpp:3,
from /home/bruno/YADE/yade-bzr/pkg/dem/Engine/GlobalEngine/TesselationWrapper.cpp:10,
from /home/bruno/YADE/build-last-opt/plugins0.cpp:12:
/home/bruno/YADE/build-last-opt/include/yade-last/yade/lib-pyutil/numpy_boost.hpp: In constructor 'numpy_boost<T, NDims>::numpy_boost(PyObject*)':
/home/bruno/YADE/build-last-opt/include/yade-last/yade/lib-pyutil/numpy_boost.hpp:146: error: reference to 'detail' is ambiguous
/home/bruno/YADE/build-last-opt/include/yade-last/yade/lib-pyutil/numpy_boost.hpp:50: error: candidates are: namespace detail { }
/usr/include/boost/type_traits/detail/cv_traits_impl.hpp:24: error: namespace boost::detail { }
References