URL:
<http://gna.org/bugs/?15204>
Summary: Preprocessor symbol DEBUG_MODE doesn't work
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Tuesday 01/26/2010 at 01:50
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.10
Operating System: Linux
_______________________________________________________
Details:
I'm launching wesnoth from the console with no option, -d or --debug. The
availability of debug-specific commands (such as cl, choose_level) follows
this options at startup - ok. But #ifdef DEBUG_MODE clauses are never
entered.
[event]
name=turn 3
[message]
speaker=narrator
message=_"1"
[/message]
#ifdef DEBUG #it looks like this symbol is always stored (why
?) (ah - it
seems to be one of the core macros)
[message]
speaker=narrator
message=_"2"
[/message]
#endif
#ifdef MEE23P4 #this is never stored (of course...)
[message]
speaker=narrator
message=_"3"
[/message]
#endif
#ifdef DEBUG_MODE #this is also never stored, even if wesnoth
has been
started with -d or --debug
[message]
speaker=narrator
message=_"4"
[/message]
#endif
[/event]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15204>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs