Follow-up Comment #1, bug #15596 (project freeciv):
We really need this, otherwise a simple script line like this will segfault
the server:
create_base(nil, "Ruins", nil)
With SCRIPT_ASSERT, we show a script error message instead.
"Unmasking" SCRIPT_ASSERT makes us liable to have a portable version of it,
but it seems the freelog macros use all the same __FUNCTION__ etc that
SCRIPT_ASSERT does. It should thus be safe to "unmask" for all current
compilers.
Patch attached.
(file #8502)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Enable-SCRIPT_ASSERT-regardless-of-debug-setting.patch Size:1
KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15596>
_______________________________________________
Meddelandet skickades via/av Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev