Follow-up Comment #4, bug #21030 (project wesnoth):
For reference, I believe this is caused by the -DNDEBUG flag passed to the
compiler with the default Release build configuration in cmake. Defining the
NDEBUG preprocessor symbol causes assert() statements to not produce any code
at build time; at least in server.cpp, the conflicting code only makes use of
the named parameter for passing it to assert() statements, hence the
warning/error with NDEBUG defined.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21030>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs