Bug #867
Fixed compile error on linux
| Status: | Fixed | Start date: | 10/27/2011 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % 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.
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 ‘...’
