Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch] Bool cleanup of client/

[Freeciv-Dev] Re: [Patch] Bool cleanup of client/

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Bool cleanup of client/
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Fri, 15 Mar 2002 18:41:02 +0100 (MET)

On Fri, 15 Mar 2002, Raimar Falke wrote:
>  - replaces gboolean with bool

Uh-huh, is this a good idea? If you define bool to a different size than
the gnomes do, won't this possibly cause some very hard to find breakages?

> in common/shared.h to
>   typedef char bool;

So you have settled on char for bool? I think this is a bad idea. Modern
CPUs don't like 8bit types much.


"My mother never saw the irony in calling me a son-of-a-bitch."
 -- Jack Nicholson

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