Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#2521) general effects framework
Home

[Freeciv-Dev] Re: (PR#2521) general effects framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2521) general effects framework
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 07:48:17 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Mar 11, 2003 at 07:00:33AM -0800, Mike Kaufman wrote:
> On Tue, Mar 11, 2003 at 12:12:16AM -0800, Raimar Falke wrote:
> > On Mon, Mar 10, 2003 at 09:03:17PM -0800, Mike Kaufman wrote:
> > > If someone could please give me the low-down on | and & versus || and &&
> > > I'd appreciate it. I ran into a problem with the bitfields and &&: it
> > > evaluated to zero no matter the arguments.
> > 
> > Lets take a look at the standard. (I love citing standards).
> 
> well, that didn't help at all, but after a bit of playing it seems that
> declaring the field as an int instead of an unsigned int is a really bad
> idea. (So much for the standard).

About what ints are you speaking here? BV uses unsigned char which should be
ok.

        Raimar



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