Fails to build from yade/trunk

Bug #1282634 reported by Chao Yuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Unassigned

Bug Description

Hi, I git clone <email address hidden>:yade/trunk.git, then make install, the compiler complains:

[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/Wall.cpp.o
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/PyRunner.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o
In file included from /home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.cpp:3:0:
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: a class-key must be used when declaring a friend
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: friend declaration does not name a class or function
make[2]: *** [CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Christian Jakob (jakob-ifgt) wrote :
Revision history for this message
Christian Jakob (jakob-ifgt) wrote :
Changed in yade:
status: New → Fix Released
Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

Thanks a lot Christian.

@Chao
See, as I told you, opening a bug report is more efficient than looking for me in the building. ;)

Revision history for this message
Chao Yuan (chaoyuan2012) wrote :

Thank you very much, Christian!

@Bruno yes . you are right. this is much more efficient. :D

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.