buildbots

buildbots

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

buildbots

Post by imbaczek »

several things:

1) gcc 4.2.1 was released recently, should be worth upgrading to.
2) mingw-4.3.0 is failing due to some boost stuff.
3) maybe upgrade boost? Auswaschbar once committed a revision that failed to compile in the buildbots and with native mingw because ptr_map had its iterator interface sanitized.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

I prefer to keep using normal debian testing packages (which is the OS of the server it runs on), and not start compiling everything myself unless absolutely necessary.

Mingw-4.3.0 is probably failing because of a bug in GCC 4.3.0 (Note that it is a development version of GCC, only recently gone to stage 2 of development, and it still has over 170 regressions.)
Just ignore it until it works again.
(it started failing after I updated it)
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Ok, waiting eagerly then.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

I actually took a minute to look at the GCC 4.3 issue and it happens to be a known GCC 4.3 regression: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32596
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I thought the latest mingw32 was 5.2?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

that's the version of the package. gcc used is still 3.4.5. There's a release candidate 4.2.1, which I use, but it has slight issues.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

GCC 4.3 works again but Spring now fails to compile on GCC 4.3:
In file included from rts/Lua/LuaFeatureDefs.cpp:17:
rts/Lua/LuaDefs.h:51: error: explicit template specialization cannot have a storage class
rts/Lua/LuaDefs.h:52: error: explicit template specialization cannot have a storage class
rts/Lua/LuaDefs.h:53: error: explicit template specialization cannot have a storage class
rts/Lua/LuaDefs.h:54: error: explicit template specialization cannot have a storage class
scons: *** [build/rts/Lua/LuaFeatureDefs.o] Error 1
rts/Sim/MoveTypes/AirMoveType.cpp: In member function 'void CAirMoveType::UpdateFlying(float, float)':
rts/Sim/MoveTypes/AirMoveType.cpp:756: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
rts/System/Sync/SyncedFloat3.h:121: note: candidate 1: float3 operator-(const float3&, const SyncedFloat3&)
rts/System/float3.h:104: note: candidate 2: float3 float3::operator-(const float3&) const
scons: *** [build/rts/Sim/MoveTypes/AirMoveType.o] Error 1
rts/Sim/MoveTypes/TAAirMoveType.cpp: In member function 'void CTAAirMoveType::UpdateAirPhysics()':
rts/Sim/MoveTypes/TAAirMoveType.cpp:686: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
rts/System/Sync/SyncedFloat3.h:121: note: candidate 1: float3 operator-(const float3&, const SyncedFloat3&)
rts/System/float3.h:104: note: candidate 2: float3 float3::operator-(const float3&) const
scons: *** [build/rts/Sim/MoveTypes/TAAirMoveType.o] Error 1
I'll look at these sometime later unless someone fixes them earlier.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

omg. 4.3 is so pedantic it hurts.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Builds again now. I'm not sure how the template thing would need to be fixed correctly (or whether it's a GCC 4.3 bug) but I just commented out the code since it appeared not to be used anywhere.
Post Reply

Return to “Engine”