BZR 1789, problem to compile

Bug #484273 reported by Anton Gladky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Unassigned

Bug Description

BZR 1789, problem to compile

Compiles only with linkStrategy = 'monolithic' option
When not:

pkg/dem/PreProcessor/STLImporterTest.cpp: In member function 'void STLImporterTest::createSphere(boost::shared_ptr<Body>&, int, int, int)':
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: 'Sphere' was not declared in this scope
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: template argument 1 is invalid
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid type in declaration before '(' token
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected type-specifier before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected ')' before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid conversion from 'int*' to 'int'
pkg/dem/PreProcessor/STLImporterTest.cpp:185: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:186: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:187: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:188: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:189: error: no match for 'operator=' in '((boost::shared_ptr<Body>*)body)->boost::shared_ptr< <template-parameter-1-1> >::operator-> [with T = Body]()->Body::geometricalModel = gSphere'
/usr/include/boost/shared_ptr.hpp:211: note: candidates are: boost::shared_ptr< <template-parameter-1-1> >& boost::shared_ptr< <template-parameter-1-1> >::operator=(const boost::shared_ptr< <template-parameter-1-1> >&) [with T = GeometricalModel]
scons: *** [/home/gladk/dem/yade/current/build-current/pkg/dem/PreProcessor/STLImporterTest.os] Error 1
scons: building terminated because of errors.

Related branches

Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.