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: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2521) general effects framework
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 07:00:33 -0800
Reply-to: rt@xxxxxxxxxxxxxx

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).

-mike



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