[Super-tux-devel] 'clear()' calls in src/level.cpp
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2004-04-03 20:01:33
|
I just tried doing "make -f Makefile.cvs" (hopefully this is still supposed to work, right? :^) ), and got as far as "src/level.cpp"... I then get the following: src/level.cpp: In method `void st_subset::free()': src/level.cpp:187: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp:188: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp:189: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp: In function `void level_free(st_level *)': src/level.cpp:536: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp:537: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp:538: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' src/level.cpp:539: no matching function for call to `basic_string<char,string_char_traits<char>, __default_alloc_template<true,0> >::clear ()' make: *** [obj/level.o] Error 1 The first few were regarding this, in src/level.cpp: void st_subset::free() { title.clear(); description.clear(); name.clear(); texture_free(&image); levels = 0; } The compiler command 'make' was running was: g++ -Wall-O2 -I/usr/include/SDL -D_REENTRANT \ -DDATA_PREFIX=\"/home/kendrick/games/supertux/supertux/data/\" \ -D__SOUND -D__OPENGL -DLINUX -DJOY_YES -DDEBUG -pg src/level.cpp -c \ -o obj/level.o I just did a "cvs update -d" a couple minutes ago (It's now 12 noon local time, aka: Sat Apr 3 20:03:38 UTC 2004) Thx! :) -bill! bi...@ne... Have you visited the Linux Users' Group http://newbreedsoftware.com/bill/ of Davis yet!? http://www.lugod.org/ |