[Super-tux-devel] CVS compile error
Brought to you by:
wkendrick
From: Duong-Khang N. <neo...@us...> - 2004-03-28 09:49:08
|
Hi there, There are some errors in the current CVS when I compile with Makefile.cvs. (It's 9h47 am GMT mar 28th, 04). Here is the output g++ -Wall-O2 -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/home/neurone/Projects/SuperTux/workst/data/\" -D__SOUND -D__OPENGL -DLINUX -DJOY_YES -DDEBUG -pg src/special.cpp -c -o obj/special.o src/special.cpp: In function `void bullet_action(bullet_type*)': src/special.cpp:75: error: invalid static_cast from type `bullet_type*' to type `__gnu_cxx::__normal_iterator<bullet_type*, std::vector<bullet_type, std::allocator<bullet_type> > >' src/special.cpp: In function `void bullet_collision(bullet_type*, int)': src/special.cpp:94: error: invalid static_cast from type `bullet_type*' to type `__gnu_cxx::__normal_iterator<bullet_type*, std::vector<bullet_type, std::allocator<bullet_type> > >' src/special.cpp: In function `void upgrade_action(upgrade_type*)': src/special.cpp:141: error: invalid static_cast from type `upgrade_type*' to type `__gnu_cxx::__normal_iterator<upgrade_type*, std::vector<upgrade_type, std::allocator<upgrade_type> > >' src/special.cpp:143: error: invalid static_cast from type `upgrade_type*' to type `__gnu_cxx::__normal_iterator<upgrade_type*, std::vector<upgrade_type, std::allocator<upgrade_type> > >' src/special.cpp: In function `void upgrade_collision(upgrade_type*, void*, int)': src/special.cpp:234: error: invalid static_cast from type `upgrade_type*' to type `__gnu_cxx::__normal_iterator<upgrade_type*, std::vector<upgrade_type, std::allocator<upgrade_type> > >' make: *** [obj/special.o] Erreur 1 -- Never say if I could turn back the time, life is going on ! |