Oops, my bad. I am going to fix it tonight.

Greetings

Yogi

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Auftrag von Bruno Wolff III
Gesendet: Mittwoch, 3. Mai 2006 15:03
An: [email protected]
Betreff: [Wesnoth-dev] Someone broke server/game.cpp in the last couple
ofdays


I can no longer compile trunk because of errors in server/game.cpp.
It looks like someone set up some debugging feature in server/game.cpp, but
didn't unconditionally define _DEBUG (or use #ifdefs instead of ifs).
Probably the code builds when _DEBUG is defined, so they didn't notice.
On a related note, server/game.cpp doesn't have a new line at the end of
the last line in the file.
It isn't obvious to me how to fix this, so I am reporting the problem rather
than trying to do a fix that might break whatever the _DEBUG stuff is being
used for.

The compiler messages I am seeing:
server/game.cpp:742:2: warning: no newline at end of file
server/game.cpp: In member function ‘void 
game::add_player(network::connection)’:
server/game.cpp:485: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:485: error: ‘debug_player_info’ was not declared in this scope
server/game.cpp:487: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:492: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:497: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:497: error: ‘debug_player_info’ was not declared in this scope
server/game.cpp: In member function ‘void 
game::remove_player(network::connection, bool)’:
server/game.cpp:513: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:530: error: ‘_DEBUG’ was not declared in this scope
server/game.cpp:530: error: ‘debug_player_info’ was not declared in this scope

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev


_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to