URL: <http://gna.org/patch/?7270>
Summary: Log cleartext field range assert failure reason also when asserts enabled Project: Freeciv Submitted by: cazfi Submitted on: Thu 16 Jun 2016 07:20:02 PM EEST Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.6.0, 3.0.0 Contains string changes: None _______________________________________________________ Details: Only relying on fc_assert() itself to print out the message sometimes lead to hard (impossible) to understand messages as some macros are already preprocessed and not printed out like they are in the source code. Attached patch adds cleartext logging. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 16 Jun 2016 07:20:02 PM EEST Name: FieldRangeAssertLogging.patch Size: 1005B By: cazfi <http://gna.org/patch/download.php?file_id=27561> ------------------------------------------------------- Date: Thu 16 Jun 2016 07:20:02 PM EEST Name: FieldRangeAssertLogging-S2_6.patch Size: 945B By: cazfi <http://gna.org/patch/download.php?file_id=27562> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?7270> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev