Bug #867

Fixed compile error on linux

Added by d.l.i.w 7 months ago. Updated 5 months ago.

Status:Fixed Start date:10/27/2011
Priority:High Due date:
Assignee:tdev % Done:

100%

Category:Build Tools
Target version:0.39
Operating System:Linux - OpenSuSe Operating System Bits:64 Bit

Description

Please apply this patch to RoR svn, otherwise RoR won't compile on linux.

cstr.patch (1.5 kB) Magnifier d.l.i.w, 10/27/2011 07:22 pm

History

#1 Updated by d.l.i.w 7 months ago

Sorry, forgot to say:
Revision 2254

The error gcc 4.5.1 generates:

[ 9%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/scripting/GameScript.cpp.o
/home/***/RoR/source/main/scripting/GameScript.cpp: In member function ‘int GameScript::useOnlineAPIDirectly(GameScript::OnlineAPIParams_t)’:
/home/***/RoR/source/main/scripting/GameScript.cpp:514:166: error: cannot pass objects of non-trivially-copyable type ‘struct std::basic_string<char>’ through ‘...’
/home/***/RoR/source/main/scripting/GameScript.cpp:515:170: error: cannot pass objects of non-trivially-copyable type ‘struct std::basic_string<char>’ through ‘...’
/home/***/RoR/source/main/scripting/GameScript.cpp:516:166: error: cannot pass objects of non-trivially-copyable type ‘struct std::basic_string<char>’ through ‘...’

#2 Updated by d.l.i.w 7 months ago

Compilation works again in Rev 2265, this can be can be closed...
Thanks ;-)

#3 Updated by tdev 5 months ago

  • Status changed from New to Fixed

thanks for reporting anyways

Also available in: Atom PDF