Subject: Re: Lots of pkgsrc warnings...
To: Richard Rauch <rkr@olib.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-amd64
Date: 12/01/2003 01:31:22
On Sun, Nov 30, 2003 at 03:55:12AM -0600, Richard Rauch wrote:
> I've been seeing a lot of pkgsrc code complain that a logical expression
> is always true (or false, as the case may be) due to the size of the
> types in question.  (One case was libxml, where I mentally unwrapped
> a macro that it was using for the (non-UNICODE) character class tests,
> and I couldn't see why it should always be true---SOME of the
> values were in the positive range of a signed 8-bit byte, and some where
> out of range, and without knowing a' priori the value of the byte, I
> couldn't see any way to categorically classify the condition "always true".)
> 
> 
> Have others noticed this?  Is it a -current, GCC 3.x, general 64-bit,
> or port-amd64 issue?  Or none of the above?

I've seen complains from some packages on alpha too.
I suspect at last some of these packages are buggy.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--