On Sun, Oct 01, 2006 at 10:46:32AM -0700, Kyle Lutze wrote: > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/sstream:464: > instantiated from 'std::basic_string<_CharT, _Traits, _Alloc> > std::basic_ostringstream<_CharT, _Traits, _Alloc>::str() const [with > _CharT = char, _Traits = std::char_traits<char>, _Alloc = > std::allocator<char>]' > ./../libgag/include/TextStream.h:51: instantiated from 'void > GAGCore::TextOutputStream::print(T) [with T = int]' > ./../libgag/include/TextStream.h:60: instantiated from here > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h:382: > > error: '_M_copy' was not declared in this scope > make[2]: *** [GameGUI.o] Error 1 > make[2]: Leaving directory `/home/appleboy/glob2-cvs/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/appleboy/glob2-cvs' > make: *** [all] Error 2
I have updated my CVS version. I have gcc version 4.1.2. I don't think that I have the same error, although I have a strange error on GameGUI.cpp. I'm not familiar with the glob2 code, but the first error was quite easy to fix : just erase "ob" at the start of the GameGUI.cpp before the comments. The second error was when calling setRememberUnit(selBuild->type,... : type is not an integer, and setRememberUnit requires an integer as the first parameter. I have supposed that selBuild->typeNum would be the correct way to do it and I have changed the first parameter of all the occurences of setRememberUnit calls to "->typeNum" instead of "->type". I don't know why, but I cannot update the changes to CVS. Can someone please verify if I have write access to CVS ? -- Munteanu Alexandru Ionut
signature.asc
Description: Digital signature
_______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
