GAE/Linux Compiling (error on "tinyxml.cpp:1243") (svn rev. 835)

Started by mersinliali, 28 September 2010, 18:54:24

mersinliali

Hi,

While compiling, I have these:

.
.
.
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlerror.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlparser.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxml.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/xml/xml_parser.cpp.o
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp: In member function 'bool TiXmlDocument::SaveFile(Shared::PhysFS::FileOps*) const':
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp:1243: error: expected type-specifier before 'runtime_error'
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp:1243: error: expected `)' before '&' token
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp:1243: error: expected `{' before '&' token
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp:1243: error: 'e' was not declared in this scope
/home/Glest/glestae_svn/source/shared_lib/sources/tinyxml/tinyxml.cpp:1243: error: expected `;' before ')' token

*** 5 errors, 0 warnings
make[2]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxml.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/all] Error 2
make: *** [all] Error 2


I cannot compile anymore.
Regards,
Ali

Yggdrasil

Yeah, sorry. I noticed and fixed this some days ago but didn't commit, just a one-liner. Will do so in no time. If you're not on branch 0.3.x then better switch to it as that's the best place atm. Thanks for reporting.

mersinliali

Thank you very much. I've just switched to branch 0.3.x. And it works fine...
Regards,
Ali