Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 1995 03:34:20 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   new warnings from gcc-2.7.2 for compiling LINT kernel
Message-ID:  <199512111634.DAA17518@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
gcc-2.7.2 complains about a lot of old lint.

"left-hand operand of comma expression has no effect": 787 instances.  This
is from the MAKE_SET() macro which doesn't really work anyway and is easy
to fix.

"comparison between signed and unsigned": 2892 instances.  Many of these
are for ioctl numbers.  ioctl numbers are usually so large that they
have type unsigned, but they are passed to ioctl devswitch functions as
ints.  4.4lite2 and NetBSD use u_longs.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512111634.DAA17518>