Crystal Space
Welcome, Guest. Please login or register.
August 02, 2014, 08:03:39 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8274 Members
Latest Member: Barryyeager
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Errors when compiling, something about collection.h
« previous next »
Pages: [1] Print
Author Topic: Errors when compiling, something about collection.h  (Read 753 times)
Cheatcat
Newbie
*
Posts: 2


View Profile Email
« on: September 15, 2010, 01:28:44 pm »

I try to compile with jam in Arch Linux.

I think the cs version is 1.9, revision 34616.. I dunno what compiler, gcc 4.5 I think. My video card is Nvidia Geforce GO 7600.

I get this errors:
Code:
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: virtual void csCollection::ReleaseAllObjects(bool) causes a section type conflict
...
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: virtual void csCollection::ReleaseAllObjects(bool) causes a section type conflict
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: virtual void csCollection::ReleaseAllObjects(bool) causes a section type conflict
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h: In member function ‘void csCollection::_ZThn52_N12csCollection17ReleaseAllObjectsEb(bool)’:
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: void csCollection::_ZThn52_N12csCollection17ReleaseAllObjectsEb(bool) causes a section type conflict
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: void csCollection::_ZThn52_N12csCollection17ReleaseAllObjectsEb(bool) causes a section type conflict
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: void csCollection::_ZThn52_N12csCollection17ReleaseAllObjectsEb(bool) causes a section type conflict
/home/katt/Program/crystalspace/./plugins/engine/3d/collection.h:82:8: error: void csCollection::_ZThn52_N12csCollection17ReleaseAllObjectsEb(bool) causes a section type conflict

Please help me.

EDIT: Updated to the latest revision, got same error...
« Last Edit: September 15, 2010, 02:39:28 pm by Cheatcat » Logged
res
Develazyoper
CS Developer
Full Member
*****
Posts: 206


View Profile Email
« Reply #1 on: September 17, 2010, 01:13:19 pm »

This is a bug in gcc 4.5 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43801). You will need to use either a newer (4.5.1) or older (4.4.x) version of gcc.
Logged
Cheatcat
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: September 18, 2010, 09:58:54 pm »

Thank you! Smiley Fixed by upgrading gcc.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.142 seconds with 16 queries.