I have this problem with 1813 < revno < 1817.
Trying 1812 now, it compiles, but it will give me a segfault at
runtime if I remember correctly...
Would it be better to use bug reports for compile errors?
Bruno
Bruno Chareyre a écrit :
Looks like it is not time to "bzr update"...
I wonder why it compiles for you.
Bruno
pkg/dem/meta/Shop.cpp: In static member function 'static
boost::shared_ptr<Body> Shop::sphere(Wm3::Vector3r, Real,
boost::shared_ptr<Material>)':
pkg/dem/meta/Shop.cpp:281: error: operands to ?: have different types
'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>'
pkg/dem/meta/Shop.cpp: In static member function 'static
boost::shared_ptr<Body> Shop::box(Wm3::Vector3r, Wm3::Vector3r,
boost::shared_ptr<Material>)':
pkg/dem/meta/Shop.cpp:294: error: operands to ?: have different types
'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>'
pkg/dem/meta/Shop.cpp: In static member function 'static
boost::shared_ptr<Body> Shop::tetra(Wm3::Vector3r*,
boost::shared_ptr<Material>)':
pkg/dem/meta/Shop.cpp:308: error: operands to ?: have different types
'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>'
scons: *** [/home/bruno/YADE/build-bzr-opt/pkg/dem/meta/Shop.os] Error 1
scons: building terminated because of errors.