Hmmm....  I turned on MKLINT=yes because I had seen quite a bit of
recent work go into xlint, but then this popped up today:

/Volumes/work/woods/g-NetBSD-src/lib/libc/../../common/lib/libc/hash/murmurhash/murmurhash.c(56):
 warning: constant in conditional context [161]
--- murmurhash.ln ---

*** Failed target: murmurhash.ln


I see it is now fixed in a very recent commit, thanks!  (I'm now waiting
patiently for github!)

I dunno how useful xlint libraries are as I've been more accustomed to
the old Unix lint libraries (which are even useful standalone, see
below), but perhaps if productive work is being on xlint, and it is
gaining enough utility, then maybe it makes sense to turn on MKLINT=yes
for at least the daily builds, possibly even for everyone?

Unix lint was basically hobbled to the point of being nearly useless for
systems programming work without the system lint libraries being
available (but then I think they were always supplied in my experience,
and only deleted by non-programmer admins wanting to free up disk space
that was so precious in the ancient days).

Here's one simple use of Unix lint libraries I had:

typeof ()
{
        if [ -z "$LLIBDIR" ]; then
                if $ISSUN; then
                        LLIBDIR=/usr/lib/lint
                elif [ -d /usr/libdata/lint ]; then
                        # XXX not quite so useful when these are for xlint...
                        LLIBDIR=/usr/libdata/lint
                else
                        LLIBDIR=/usr/lib
                fi
        fi
        # should expand to allow '-l{lib}'
        egrep -i "$1" $LLIBDIR/llib-l*
}

--
                                        Greg A. Woods <gwo...@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <wo...@robohack.ca>
Planix, Inc. <wo...@planix.com>     Avoncote Farms <wo...@avoncote.ca>

Attachment: pgpHcPGbwmq_D.pgp
Description: OpenPGP Digital Signature

Reply via email to