Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11102) [Patch] Non-fatal sanity checks
Home

[Freeciv-Dev] (PR#11102) [Patch] Non-fatal sanity checks

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#11102) [Patch] Non-fatal sanity checks
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Nov 2004 23:14:48 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11102 >

> [marko.lindqvist@xxxxxxxxxxx - Sat Nov 20 15:40:22 2004]:
> 
> 
>   This patch, against HEAD, turns sanity check asserts into error 
> messages unless DEBUG is defined.

I don't know that we need to backport this patch to S2_0, but if someone
wants to do it that's fine.

Anyway I committed the patch to HEAD with one change: the LOG_ERROR is
done even if DEBUG is defined (so you'll get the error message and the
assertion).

jason




[Prev in Thread] Current Thread [Next in Thread]