CVS > 0.5.1
Moderator: Forum Moderators
CVS > 0.5.1
with sdl-config --version 1.2.4 and g++ -v 2.95.4 and debian stable I get
with the latest cvs
src/playturn.cpp: In function `void play_turn(game_data &, game_state &, gamestatus &, config &, config *, CVideo &, CKey &, display &, game_events::manager &, gamemap &, vector<team,allocator<team> > &, int, map<gamemap::location,unit,less<gamemap::location>,allocator<unit> > &)':
src/playturn.cpp:111: warning: comparison between signed and unsigned
src/playturn.cpp: In method `void turn_info::mouse_press(const SDL_MouseButtonEvent &)':
src/playturn.cpp:332: `SDL_BUTTON_WHEELUP' undeclared (first use this function)
src/playturn.cpp:332: (Each undeclared identifier is reported only once
src/playturn.cpp:332: for each function it appears in.)
src/playturn.cpp:333: `SDL_BUTTON_WHEELDOWN' undeclared (first use this function)
src/playturn.cpp:317: warning: unused variable `const class team & current_team'
make: *** [src/playturn.o] Error 1
with the latest cvs
src/playturn.cpp: In function `void play_turn(game_data &, game_state &, gamestatus &, config &, config *, CVideo &, CKey &, display &, game_events::manager &, gamemap &, vector<team,allocator<team> > &, int, map<gamemap::location,unit,less<gamemap::location>,allocator<unit> > &)':
src/playturn.cpp:111: warning: comparison between signed and unsigned
src/playturn.cpp: In method `void turn_info::mouse_press(const SDL_MouseButtonEvent &)':
src/playturn.cpp:332: `SDL_BUTTON_WHEELUP' undeclared (first use this function)
src/playturn.cpp:332: (Each undeclared identifier is reported only once
src/playturn.cpp:332: for each function it appears in.)
src/playturn.cpp:333: `SDL_BUTTON_WHEELDOWN' undeclared (first use this function)
src/playturn.cpp:317: warning: unused variable `const class team & current_team'
make: *** [src/playturn.o] Error 1
Crash in AI-move
Version 0.5.2-cvs crashes on a Suse-Linux 8.2-System after beginning the AI-move in the Campaign.
In 0.5.1 this problem didn't exist.
Tim.
In 0.5.1 this problem didn't exist.
Tim.
Re: Crash in AI-move
When did you update CVS?Tim wrote:Version 0.5.2-cvs crashes on a Suse-Linux 8.2-System after beginning the AI-move in the Campaign.
In 0.5.1 this problem didn't exist.
Tim.
Did you do make clean before make when you updated CVS?
Can you provide a back trace?
David
Re: Sorry!
That's okayAnonymous wrote:I'm very sorry! My mistake! I forgot to make clean.
Now it runs well.
Tim.
I would like to take the opportunity to remind everyone though, you should always do 'make clean' before 'make' after updating from CVS.
If you don't, the game is liable to crash.
David