Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216)
Home

[Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: warnings when compiling with NDEBUG (PR#1216)
From: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 10:23:39 +0000 (GMT)

On Mon, 4 Feb 2002, Reinier Post wrote:

> On Sun, Feb 03, 2002 at 09:18:42PM +0100, Raimar Falke wrote:
> > NDEBUG disables assert which should make freeciv faster. I'm not sure
> > how much. So I don't see the benefit of removing it.
> 
> The name is confusing (it appears to mean !DEBUG).

        Not much we can do about that, as (according to the assert 
manpage) NDEBUG is defined to have this assert-disabling behaviour in the 
ANSI C spec.

        Ben
-- 
ben@xxxxxxxxxxxxxxxxxxxxxx           http://bellatrix.pcl.ox.ac.uk/~ben/
"Go ahead, make my day."
        - Clint Eastwood, 'Sudden Impact', 1983




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