← Back to team overview

yade-dev team mailing list archive

compile error in r1817

 

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.

--

_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




Follow ups