yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02357
Re: compile error in r1817
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.
--
_______________
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
References